Watch
0
0
Fork
You've already forked hyperhive
0

lint: the swarm collector's scrape job names Grafana's metrics

This commit is contained in:
iris 2026-11-04 22:16:42 +01:00 • committed by mara
commit acc480c4f3

View file

@ -18,11 +18,14 @@ dashboards_dir="nix/host-modules/swarm-grafana/dashboards"
# otelcol-contrib: the unset default of the collector binary, which the hive
# collector and swarm-otel both run (`pkgs.opentelemetry-collector-contrib`)
# and which stamps their self-metrics.
# grafana: a scraped target takes its job name as service.name, and the swarm
# collector scrapes Grafana's `/metrics` as the `grafana` job.
known='bao|nix/host-modules/swarm-bao.nix|collectorServiceName = "bao"
authelia|nix/host-modules/swarm-authelia.nix|serviceName = "authelia"
forgejo|nix/host-modules/hive-forge/default.nix|serviceName = "forgejo"
swarm-controller|swarm-controller/src/vcs_metrics.rs|with_service_name("swarm-controller")
otelcol-contrib|nix/host-modules/otel.nix|package = pkgs.opentelemetry-collector-contrib'
otelcol-contrib|nix/host-modules/otel.nix|package = pkgs.opentelemetry-collector-contrib
grafana|nix/host-modules/swarm-otel-service.nix|grafana = "https://${hyperhiveCfg.swarm.grafana.domain}/metrics"'
violations=0