services/monitoring: scrape Gerrit's metrics #63
Loading…
Reference in a new issue
No description provided.
Delete branch "gerrit-metrics"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Gerrit's metrics require a metrics plugin, so we add one to our Gerrit configuration. The plugin then wants to only expose the metrics if you have a bearer token, so I add one of those to the config. Additionally, the plugin's servlet is mounted under a specific subpath. This means that we need some machinery to add extra scrape config to the grafana-agent config, and also to then be able to have collectors specify additional secrets.
After all that, I want a snack.