Skip to content

Improve the GitHub runner VM hostmetrics dashboard#207

Open
weiiwang01 wants to merge 1 commit into
mainfrom
action-dashboard
Open

Improve the GitHub runner VM hostmetrics dashboard#207
weiiwang01 wants to merge 1 commit into
mainfrom
action-dashboard

Conversation

@weiiwang01
Copy link
Copy Markdown
Collaborator

@weiiwang01 weiiwang01 commented May 21, 2026

What this PR does

Improve the GitHub runner VM hostmetrics dashboard to include the github_run_id and github_run_attempt attributes.

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

  • Changes comply with the project's coding standards and guidelines (see CONTRIBUTING.md and STYLE.md)
  • CONTRIBUTING.md has been updated upon changes to the contribution/development process (e.g. changes to the way tests are run)
  • Technical author has been assigned to review the PR in case of documentation changes (usually *.md files)
  • I updated docs/changelog.md with user-relevant changes
  • I used AI to assist with preparing this PR
  • I added or updated tests as needed (unit and integration)
  • If integration test modules are used: I updated the workflow configuration
    (e.g., in .github/workflows/integration_tests.yaml, ensure the modules list is correct)
  • If this PR involves a Grafana dashboard: I added a screenshot of the dashboard
  • If this PR involves Terraform: terraform fmt passes and tflint reports no errors
  • If this PR involves Rockcraft: I updated the version

- 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants