Created
March 15, 2022 12:48
-
-
Save rdemoraes/455b31a97561e8b8ab5c3d1d60e7b543 to your computer and use it in GitHub Desktop.
prometheus-adapter-values.yaml
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
rules: | |
default: true | |
custom: [] | |
# Mounts a configMap with pre-generated rules for use. Overrides the | |
# default, custom, external and resource entries | |
existing: | |
external: | |
# External metric for Gitlab Runner: Devops Group | |
- seriesQuery: 'gitlab_runner_jobs{job=~".*your-gitlab-runner-name.*"}' | |
resources: | |
template: <<.Resource>> | |
name: | |
matches: "gitlab_runner_jobs" | |
as: "gitlab_runner_jobs_devops_group" | |
metricsQuery: sum(gitlab_runner_jobs{job=~".*your-gitlab-runner-name.*"}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment