Stick with just /metrics, it's cleaner

This commit is contained in:
niten 2024-07-21 16:21:00 -07:00
parent c2406ccc1e
commit 804eb74969

View File

@ -137,7 +137,7 @@ in {
job_name = type;
honor_labels = false;
scheme = if cfg.private-network then "http" else "https";
metrics_path = "/metrics/${type}";
metrics_path = "/metrics";
static_configs = if (hasAttr type cfg.static-targets) then [{
targets = cfg.static-targets.${type};
}] else