lint: the swarm collector's scrape job names Grafana's metrics
This commit is contained in:
parent
d1f83c64ce
commit
acc480c4f3
1 changed files with 4 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue