forked from mtusi2026/mtusi2026lab6
96 lines
2.0 KiB
YAML
96 lines
2.0 KiB
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: 192
|
|
spike_limit_mib: 48
|
|
attributes/redact:
|
|
actions:
|
|
- key: url.full
|
|
action: delete
|
|
- key: url.query
|
|
action: delete
|
|
- key: url.path
|
|
action: delete
|
|
- key: http.url
|
|
action: delete
|
|
- key: http.target
|
|
action: delete
|
|
- key: db.statement
|
|
action: delete
|
|
- key: db.query.text
|
|
action: delete
|
|
- key: http.request.header.authorization
|
|
action: delete
|
|
- key: http.request.header.cookie
|
|
action: delete
|
|
batch:
|
|
timeout: 2s
|
|
send_batch_size: 256
|
|
send_batch_max_size: 512
|
|
|
|
exporters:
|
|
otlp/tempo:
|
|
endpoint: tempo:4317
|
|
tls:
|
|
insecure: true
|
|
timeout: 5s
|
|
retry_on_failure:
|
|
enabled: true
|
|
initial_interval: 1s
|
|
max_interval: 15s
|
|
max_elapsed_time: 30s
|
|
sending_queue:
|
|
enabled: true
|
|
num_consumers: 2
|
|
queue_size: 200
|
|
otlphttp/loki:
|
|
logs_endpoint: http://loki:3100/otlp/v1/logs
|
|
tls:
|
|
insecure: true
|
|
timeout: 5s
|
|
retry_on_failure:
|
|
enabled: true
|
|
initial_interval: 1s
|
|
max_interval: 15s
|
|
max_elapsed_time: 30s
|
|
sending_queue:
|
|
enabled: true
|
|
num_consumers: 2
|
|
queue_size: 200
|
|
prometheus:
|
|
endpoint: 0.0.0.0:8889
|
|
resource_to_telemetry_conversion:
|
|
enabled: true
|
|
metric_expiration: 180s
|
|
|
|
service:
|
|
extensions: [health_check]
|
|
telemetry:
|
|
metrics:
|
|
address: 0.0.0.0:8888
|
|
pipelines:
|
|
traces:
|
|
receivers: [otlp]
|
|
processors: [memory_limiter, attributes/redact, batch]
|
|
exporters: [otlp/tempo]
|
|
metrics:
|
|
receivers: [otlp]
|
|
processors: [memory_limiter, attributes/redact, batch]
|
|
exporters: [prometheus]
|
|
logs:
|
|
receivers: [otlp]
|
|
processors: [memory_limiter, attributes/redact, batch]
|
|
exporters: [otlphttp/loki]
|