base/grafana-alloy: run nixfmt

This commit is contained in:
2025-09-02 20:52:43 -07:00
parent 37e7cb4b8a
commit 0beca84d24

View File

@@ -36,11 +36,12 @@ in
url = "${alloyPrometheusEndpoint}"
}
external_labels = {host = "${config.networking.hostName}"}
wal {
truncate_frequency = "1h"
min_keepalive_time = "15m"
max_keepalive_time = "45m"
}
wal {
truncate_frequency = "1h"
min_keepalive_time = "15m"
max_keepalive_time = "45m"
}
}
// ========== Default Prometheus configuration ==========
@@ -53,14 +54,14 @@ in
forward_to = [prometheus.remote_write.default.receiver]
scrape_interval = "10s"
}
prometheus.exporter.self "alloy" { }
prometheus.scrape "alloy_scrape" {
targets = prometheus.exporter.self.alloy.targets
forward_to = [prometheus.remote_write.default.receiver]
}
// ========== Default Loki configuration ==========
loki.write "default" {
endpoint {