This commit is contained in:
royalcat 2024-02-26 14:31:22 +03:00
parent 9754a14add
commit 4d20743feb
2 changed files with 11 additions and 10 deletions
.gitignore
otel-collector

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
.env

View file

@ -9,12 +9,12 @@ processors:
batch:
exporters:
tempo:
otlp: # tempo
endpoint: tempo:4317
prometheus:
endpoint: http://prometheus:9411/api/prom/push
tls:
insecure: true
prometheusremotewrite:
endpoint: http://prometheus.example.com:9411/api/prom/push
loki:
endpoint: http://loki:3100/loki/api/v1/push
tls:
@ -23,22 +23,22 @@ exporters:
exporter: false
job: true
# extensions:
# health_check:
# pprof:
# zpages:
extensions:
health_check:
# pprof:
zpages:
service:
extensions: [health_check, pprof, zpages]
extensions: [health_check, zpages]
pipelines:
traces:
receivers: [otlp]
processors: [batch]
exporters: [tempo]
exporters: [otlp]
metrics:
receivers: [otlp]
processors: [batch]
exporters: [prometheus]
exporters: [prometheusremotewrite]
logs:
receivers: [otlp]
processors: [batch]