replace prometheus with mimir

This commit is contained in:
royalcat 2024-05-06 12:34:03 +03:00
parent 03f6253560
commit 82b4283535
4 changed files with 31 additions and 23 deletions
otel-collector

View file

@ -26,8 +26,8 @@ exporters:
endpoint: tempo:4317
tls:
insecure: true
prometheusremotewrite:
endpoint: http://prometheus:7900/api/prom/push
otlphttp/mimir:
endpoint: http://mimir:9009/otlp
otlphttp/loki:
endpoint: http://loki:3100/otlp
@ -46,7 +46,7 @@ service:
receivers: [otlp, prometheus/self]
processors: [batch]
exporters:
- prometheusremotewrite
- otlphttp/mimir
logs:
receivers: [otlp]
processors: [batch]