101 lines
2.0 KiB
YAML
101 lines
2.0 KiB
YAML
extensions:
|
|
health_check:
|
|
endpoint: 127.0.0.1:13133
|
|
file_storage:
|
|
directory: /var/lib/otel
|
|
compaction:
|
|
on_start: true
|
|
directory: /var/lib/otel/compact
|
|
create_directory: true
|
|
receivers:
|
|
otlp:
|
|
protocols:
|
|
http:
|
|
endpoint: 127.0.0.1:14318
|
|
processors:
|
|
memory_limiter:
|
|
check_interval: 1s
|
|
limit_mib: 160
|
|
spike_limit_mib: 32
|
|
batch:
|
|
timeout: 1s
|
|
send_batch_size: 128
|
|
send_batch_max_size: 256
|
|
exporters:
|
|
prometheus:
|
|
endpoint: 127.0.0.1:18889
|
|
resource_to_telemetry_conversion:
|
|
enabled: true
|
|
otlphttp/loki:
|
|
endpoint: https://loki:3100/otlp
|
|
tls:
|
|
ca_file: /pki/ca.crt
|
|
cert_file: /pki/client/service.crt
|
|
key_file: /pki/client/service.key
|
|
timeout: 2s
|
|
sending_queue:
|
|
enabled: true
|
|
queue_size: 32
|
|
num_consumers: 1
|
|
storage: file_storage
|
|
retry_on_failure:
|
|
enabled: true
|
|
initial_interval: 1s
|
|
max_interval: 3s
|
|
max_elapsed_time: 10s
|
|
otlphttp/tempo:
|
|
endpoint: https://tempo:4318
|
|
tls:
|
|
ca_file: /pki/ca.crt
|
|
cert_file: /pki/client/service.crt
|
|
key_file: /pki/client/service.key
|
|
timeout: 2s
|
|
sending_queue:
|
|
enabled: true
|
|
queue_size: 32
|
|
num_consumers: 1
|
|
storage: file_storage
|
|
retry_on_failure:
|
|
enabled: true
|
|
initial_interval: 1s
|
|
max_interval: 3s
|
|
max_elapsed_time: 10s
|
|
service:
|
|
extensions:
|
|
- health_check
|
|
- file_storage
|
|
telemetry:
|
|
metrics:
|
|
level: detailed
|
|
readers:
|
|
- pull:
|
|
exporter:
|
|
prometheus:
|
|
host: 127.0.0.1
|
|
port: 18888
|
|
pipelines:
|
|
metrics:
|
|
receivers:
|
|
- otlp
|
|
processors:
|
|
- memory_limiter
|
|
- batch
|
|
exporters:
|
|
- prometheus
|
|
logs:
|
|
receivers:
|
|
- otlp
|
|
processors:
|
|
- memory_limiter
|
|
- batch
|
|
exporters:
|
|
- otlphttp/loki
|
|
traces:
|
|
receivers:
|
|
- otlp
|
|
processors:
|
|
- memory_limiter
|
|
- batch
|
|
exporters:
|
|
- otlphttp/tempo
|