feat(users/flokli/nixos-tvix-cache): increase scraping interval
This provides more resolution in the dashboards. Change-Id: I06e7260250e58fe62bbda41b67d84e0c5cacfbd2 Reviewed-on: https://cl.tvl.fyi/c/depot/+/12927 Reviewed-by: raitobezarius <tvl@lahfa.xyz> Tested-by: BuildkiteCI Reviewed-by: Jörg Thalheim <joerg@thalheim.io> Autosubmit: flokli <flokli@flokli.de>
This commit is contained in:
parent
7dfe147c4d
commit
4dce88e997
1 changed files with 2 additions and 1 deletions
|
@ -80,6 +80,7 @@ in
|
||||||
prometheus.scrape "main" {
|
prometheus.scrape "main" {
|
||||||
targets = prometheus.exporter.unix.main.targets
|
targets = prometheus.exporter.unix.main.targets
|
||||||
forward_to = [otelcol.receiver.prometheus.default.receiver]
|
forward_to = [otelcol.receiver.prometheus.default.receiver]
|
||||||
|
scrape_interval = "15s"
|
||||||
}
|
}
|
||||||
|
|
||||||
// Convert Prometheus metrics to OTLP and export them.
|
// Convert Prometheus metrics to OTLP and export them.
|
||||||
|
@ -167,7 +168,7 @@ in
|
||||||
uid = "mimir";
|
uid = "mimir";
|
||||||
url = "http://localhost:9009/prometheus";
|
url = "http://localhost:9009/prometheus";
|
||||||
jsonData = {
|
jsonData = {
|
||||||
timeInterval = "60s";
|
timeInterval = "15s";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue