base/grafana-alloy: run nixfmt
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user