redis/example/otel/config/otel-collector.yaml

69 lines
1.3 KiB
YAML
Raw Permalink Normal View History

2022-10-16 11:11:54 +03:00
extensions:
health_check:
pprof:
endpoint: 0.0.0.0:1777
zpages:
endpoint: 0.0.0.0:55679
receivers:
otlp:
protocols:
grpc:
http:
hostmetrics:
collection_interval: 10s
scrapers:
cpu:
disk:
load:
filesystem:
memory:
network:
paging:
redis:
endpoint: 'redis-server:6379'
collection_interval: 10s
jaeger:
protocols:
grpc:
processors:
resourcedetection:
detectors: ['system']
cumulativetodelta:
2022-10-16 11:11:54 +03:00
batch:
send_batch_size: 10000
timeout: 10s
exporters:
otlp/uptrace:
endpoint: http://uptrace:14317
2022-10-16 11:11:54 +03:00
tls:
insecure: true
headers: { 'uptrace-dsn': 'http://project2_secret_token@localhost:14317/2' }
debug:
2022-10-16 11:11:54 +03:00
service:
# telemetry:
# logs:
# level: DEBUG
pipelines:
traces:
receivers: [otlp, jaeger]
processors: [batch]
exporters: [otlp/uptrace]
2022-10-16 11:11:54 +03:00
metrics:
receivers: [otlp]
processors: [cumulativetodelta, batch]
exporters: [otlp/uptrace]
2022-10-16 11:11:54 +03:00
metrics/hostmetrics:
receivers: [hostmetrics, redis]
processors: [cumulativetodelta, batch, resourcedetection]
exporters: [otlp/uptrace]
2022-10-16 11:11:54 +03:00
logs:
receivers: [otlp]
processors: [batch]
exporters: [otlp/uptrace]
2022-10-16 11:11:54 +03:00
extensions: [health_check, pprof, zpages]