Is there an existing issue for this?
What happened?
Description
In the Node Exporter dashboard generated by the community-mixins, the panels successfully display metrics when a single instance is selected from the $instance variable dropdown. However, when the "All" option is selected, all panels return "No data".
Steps to Reproduce
- Generate the Node Exporter dashboard using go run main.go.
- Apply the generated dashboard to Perses.
- Open the dashboard and select a specific instance in the $instance variable dropdown -> Metrics are shown correctly.
- Change the $instance dropdown to "All" -> All panels show "No data".
Expected Result
The "All" option is selected, all panels should return data.
Actual Result
The "All" option is selected, all panels return "No data".
Root Cause
The issue is caused by the hardcoded exact match operator (=) used in the PromQL queries within the dashboard's source code.
For example, the queries are currently written as:
...{job="node-exporter", instance="$instance"}...
When "All" or multiple instances are selected, the variable expands to a regex (e.g., .* or ip1|ip2), causing the exact match to fail.
Suggested Fix
To support the "All" option and multi-selection, the exact match operator (=) should be updated to the regex match operator (=~) across all panels using the $instance variable in the Go source code.
Expected PromQL format:
...{job="node-exporter", instance=~"$instance"}...
Component(s)
Dashboards
Perses Version
my-perses perses 1 2026-05-25 02:45:19.970287356 +0000 UTC deployed perses-0.21.0 v0.53.1
How did you install Perses?
Perses Helm Chart
Perses Operator Version
Go Version
Relevant logs or output
Anything else?
No response
Is there an existing issue for this?
What happened?
Description
In the Node Exporter dashboard generated by the community-mixins, the panels successfully display metrics when a single instance is selected from the $instance variable dropdown. However, when the "All" option is selected, all panels return "No data".
Steps to Reproduce
Expected Result
The "All" option is selected, all panels should return data.
Actual Result
The "All" option is selected, all panels return "No data".
Root Cause
The issue is caused by the hardcoded exact match operator (=) used in the PromQL queries within the dashboard's source code.
For example, the queries are currently written as:
When "All" or multiple instances are selected, the variable expands to a regex (e.g., .* or ip1|ip2), causing the exact match to fail.
Suggested Fix
To support the "All" option and multi-selection, the exact match operator (=) should be updated to the regex match operator (=~) across all panels using the $instance variable in the Go source code.
Expected PromQL format:
Component(s)
Dashboards
Perses Version
How did you install Perses?
Perses Helm Chart
Perses Operator Version
Go Version
Relevant logs or output
Anything else?
No response