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']
|
2024-01-23 14:09:47 +03:00
|
|
|
cumulativetodelta:
|
2022-10-16 11:11:54 +03:00
|
|
|
batch:
|
|
|
|
send_batch_size: 10000
|
|
|
|
timeout: 10s
|
|
|
|
|
|
|
|
exporters:
|
2024-01-23 14:09:47 +03:00
|
|
|
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' }
|
2024-01-23 14:09:47 +03:00
|
|
|
debug:
|
2022-10-16 11:11:54 +03:00
|
|
|
|
|
|
|
service:
|
|
|
|
# telemetry:
|
|
|
|
# logs:
|
|
|
|
# level: DEBUG
|
|
|
|
pipelines:
|
|
|
|
traces:
|
|
|
|
receivers: [otlp, jaeger]
|
|
|
|
processors: [batch]
|
2024-01-23 14:09:47 +03:00
|
|
|
exporters: [otlp/uptrace]
|
2022-10-16 11:11:54 +03:00
|
|
|
metrics:
|
|
|
|
receivers: [otlp]
|
2024-01-23 14:09:47 +03:00
|
|
|
processors: [cumulativetodelta, batch]
|
|
|
|
exporters: [otlp/uptrace]
|
2022-10-16 11:11:54 +03:00
|
|
|
metrics/hostmetrics:
|
|
|
|
receivers: [hostmetrics, redis]
|
2024-01-23 14:09:47 +03:00
|
|
|
processors: [cumulativetodelta, batch, resourcedetection]
|
|
|
|
exporters: [otlp/uptrace]
|
2022-10-16 11:11:54 +03:00
|
|
|
logs:
|
|
|
|
receivers: [otlp]
|
|
|
|
processors: [batch]
|
2024-01-23 14:09:47 +03:00
|
|
|
exporters: [otlp/uptrace]
|
2022-10-16 11:11:54 +03:00
|
|
|
|
|
|
|
extensions: [health_check, pprof, zpages]
|