cluster/services/monitoring: configure remote write url
This commit is contained in:
parent
ba66551e20
commit
6cff7460f6
1 changed files with 3 additions and 0 deletions
|
@ -27,6 +27,9 @@ in {
|
|||
services.grafana-agent = {
|
||||
enable = true;
|
||||
settings = {
|
||||
metrics.global.remote_write = lib.singleton {
|
||||
url = "${cluster.config.links.prometheus-ingest.url}/api/v1/write";
|
||||
};
|
||||
logs.configs = lib.singleton {
|
||||
name = "logging";
|
||||
positions.filename = "\${STATE_DIRECTORY:/tmp}/logging-positions.yaml";
|
||||
|
|
Loading…
Reference in a new issue