cluster/services/consul: enable metrics
This commit is contained in:
parent
4dbfb3b6ab
commit
6fb3a543b8
1 changed files with 5 additions and 0 deletions
|
@ -24,4 +24,9 @@ in
|
|||
retry_join = map (hostName: hostLinks.${hostName}.consul.tuple) cfg.otherNodes.agent;
|
||||
};
|
||||
};
|
||||
|
||||
services.grafana-agent.settings.integrations.consul_exporter = {
|
||||
enabled = true;
|
||||
instance = hostName;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue