Improve the GitHub runner VM hostmetrics dashboard#207
Open
weiiwang01 wants to merge 1 commit into
Open
Conversation
- Convert GitHub labels to underscore notation (Prometheus convention) - Add github_run_id and github_run_attempt filters - Reorder dashboard variables: runner is now last in cascade - Update all queries to include new filter attributes - Update changelog
45922c5 to
7b986d5
Compare
yanksyoon
approved these changes
May 21, 2026
cbartz
approved these changes
May 22, 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
Improve the GitHub runner VM hostmetrics dashboard to include the
github_run_idandgithub_run_attemptattributes.Demo dashboard: https://dashboard.actions.self-hosted-runners.canonical.com/k8s-pfe-gh-actions-cos-ps7-prod-default-grafana/d/github-runner-vm-hostmetrics/github-runner-vm-hostmetrics-test?orgId=1&from=now-7d&to=now&timezone=browser&var-prometheusds=P4079A102129D34FB&var-github_repository=$__all&var-github_workflow=$__all&var-github_job=$__all&var-github_run_id=26231207974&var-github_run_attempt=1&var-github_runner=amd64-noble-large-ps7-2-a541397c7078&refresh=30s
Why we need it
Following up on the changes in canonical/github-runner-operator#794 that add additional attributes to GitHub runner metrics.
Checklist
CONTRIBUTING.mdhas been updated upon changes to the contribution/development process (e.g. changes to the way tests are run)docs/changelog.mdwith user-relevant changes(e.g., in
.github/workflows/integration_tests.yaml, ensure themoduleslist is correct)terraform fmtpasses andtflintreports no errors