Stick with just /metrics, it's cleaner
This commit is contained in:
parent
c2406ccc1e
commit
804eb74969
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user