Files
mtusi2026lab6/infra/otel/collector.yaml
T

47 lines
945 B
YAML

extensions:
health_check:
endpoint: "0.0.0.0:13133"
receivers:
otlp:
protocols:
grpc:
endpoint: 0.0.0.0:4317
http:
endpoint: 0.0.0.0:4318
processors:
memory_limiter:
check_interval: 1s
limit_mib: 384
spike_limit_mib: 96
batch:
send_batch_size: 512
timeout: 5s
exporters:
debug:
verbosity: detailed
otlp_http/tempo:
endpoint: "http://tempo:4318"
otlp_http/loki:
endpoint: "http://loki:3100"
logs_path: "/otlp"
prometheus:
endpoint: "0.0.0.0:8889"
service:
extensions: [health_check]
pipelines:
traces:
receivers: [otlp]
processors: [memory_limiter, batch]
exporters: [debug, otlp_http/tempo]
metrics:
receivers: [otlp]
processors: [memory_limiter, batch]
exporters: [debug, prometheus]
logs:
receivers: [otlp]
processors: [memory_limiter, batch]
exporters: [debug, otlp_http/loki]