fix: make hostmetrics dashboard single-runner drilldown#193
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the runner VM hostmetrics Grafana dashboard to behave as a single-runner drilldown rather than a multi-runner overlay, improving readability and making the default view actionable.
Changes:
- Forces
github_runnerto be single-select by disabling the “All” option. - Updates PromQL queries to use exact label matching for
github_runner(=) instead of regex matching (=~). - Revises the dashboard description to reflect the new single-runner drilldown workflow.
yanksyoon
approved these changes
Apr 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this PR does
Reframes the runner VM hostmetrics Grafana dashboard from a multi-runner overview into a single-runner drilldown.
github_runnertemplate variable now requires a single selection (includeAll: false,allValueremoved).github_runner=~"$github_runner"→github_runner="$github_runner"so panels chart one host instead of overlaying every match.Why we need it
With more than a handful of active runners, the dashboard overlaid every series in scope on each panel, making it unreadable by default. Forcing a single-runner selection makes the panels useful out of the box; users still reach the runner they care about via the repo/workflow/job filters.
Screenshot
Test plan
Review focus
github_runnerlabel match changed from=~to=. Emitted values are GitHub runner hostnames, so regex-metachar collisions are not expected, but worth a sanity check.Checklist
CONTRIBUTING.mdhas been updated upon changes to the contribution/development process (e.g. changes to the way tests are run) — n/adocs/changelog.mdwith user-relevant changes — n/a, changelog scope is the Planner and Webhook gateway charms(e.g., in
.github/workflows/integration_tests.yaml, ensure themoduleslist is correct) — n/aterraform fmtpasses andtflintreports no errors — n/a