This commit is contained in:
Yevgeniy Ulyantsev
2026-01-28 22:46:56 +03:00
commit 0edb4c9405
5 changed files with 139 additions and 0 deletions

35
otel/otel-collector.yaml Normal file
View File

@@ -0,0 +1,35 @@
receivers:
otlp:
protocols:
grpc:
http:
processors:
batch:
exporters:
prometheus:
endpoint: 0.0.0.0:8888
otlphttp/loki:
endpoint: http://loki:3100/otlp
otlphttp/tempo:
endpoint: http://tempo:4318/v1/traces
service:
pipelines:
metrics:
receivers: [otlp]
processors: [batch]
exporters: [prometheus]
logs:
receivers: [otlp]
processors: [batch]
exporters: [otlphttp/loki]
traces:
receivers: [otlp]
processors: [batch]
exporters: [otlphttp/tempo]