Created
June 2, 2022 15:28
-
-
Save ilyesAj/cb980a875bc65d897e4ed3109e86a07b to your computer and use it in GitHub Desktop.
external metric for gitlab runner
This file contains 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
external: | |
- seriesQuery: 'gitlab_runner_concurrent{job=~".*gitlab-runner-build.*"}' | |
resources: | |
overrides: | |
namespace: | |
resource: namespace | |
name: | |
matches: "gitlab_runner_concurrent" | |
as: "gitlab_runner_jobs_builds_concurrent_saturation" | |
metricsQuery: gitlab_runner_jobs_build_total/sum(gitlab_runner_concurrent{job=~".*gitlab-runner-build.*"}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment