services/monitoring: scrape Gerrit's metrics #63

Merged
k900 merged 4 commits from gerrit-metrics into main 2024-07-15 11:02:58 +00:00
Member

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.

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.
lukegb added 4 commits 2024-07-13 18:48:47 +00:00
k900 merged commit e3e60a5e72 into main 2024-07-15 11:02:58 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: the-distro/infra#63
No description provided.