All work

Select view

Select search mode

 

nodeResources query not working properly

Unresolved

Description

When specifying a resource type in a nodeResources query such as nodeResources($node, *, hrDeviceEntry) should return just the resources that match the given resource type. I’m seeing all resources returned in this case.

Additionally, the second parameter should be used to set the responses to display either the resource ID, name, or label, but that value is not being honored either and just the full resource ID is returned.

Attachments

1
  • 03 Jan 2024, 05:22 PM

Details

Assignee

Reporter

Fix versions

Affects versions

Sprint

Story Points

Components

Priority

PagerDuty

Created January 3, 2024 at 5:22 PM
Updated February 12, 2024 at 7:24 PM

Activity

Scott ThelemanJanuary 10, 2024 at 10:45 PM

Looks like a bug introduced in some refactoring of function_formatter. The argument to metricFindNodeResourceQuery() should be a single array.