All work
2 of 2
nodeResources query not working properly
Unresolved
Description
Attachments
1
Details
Assignee
Scott ThelemanScott ThelemanReporter
Mark MahacekMark MahacekFix versions
Affects versions
Sprint
NoneStory Points
3Components
Priority
Major
Details
Details
Assignee
Scott Theleman
Scott ThelemanReporter
Mark Mahacek
Mark MahacekFix versions
Affects versions
Sprint
None
Story Points
3
Components
Priority
PagerDuty
PagerDuty
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.
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.