mimir: port moved to 9009

This commit is contained in:
Tigor Hutasuhut 2024-10-30 16:58:15 +07:00
parent e5209ddee3
commit dc87ef4a89
2 changed files with 8 additions and 1 deletions

View file

@ -175,6 +175,13 @@ in
forward_to = [prometheus.remote_write.mimir.receiver] forward_to = [prometheus.remote_write.mimir.receiver]
} }
prometheus.exporter.self "alloy" {}
prometheus.scrape "alloy" {
targets = prometheus.exporter.self.alloy.targets
forward_to = [prometheus.remote_write.mimir.receiver]
}
prometheus.scrape "caddy" { prometheus.scrape "caddy" {
targets = [{ targets = [{
__address__ = "localhost:2019", __address__ = "localhost:2019",

View file

@ -28,7 +28,7 @@ in
multitenancy_enabled = false; multitenancy_enabled = false;
server = { server = {
http_listen_address = "0.0.0.0"; http_listen_address = "0.0.0.0";
http_listen_port = 4400; http_listen_port = 9009;
grpc_listen_port = 4401; grpc_listen_port = 4401;
}; };