forked from mtusi2026/mtusi2026lab7
89 lines
1.7 KiB
YAML
89 lines
1.7 KiB
YAML
receivers:
|
|
otlp:
|
|
protocols:
|
|
http:
|
|
endpoint: 127.0.0.1:4318
|
|
processors:
|
|
memory_limiter:
|
|
check_interval: 1s
|
|
limit_mib: 192
|
|
spike_limit_mib: 32
|
|
batch:
|
|
timeout: 1s
|
|
send_batch_size: 128
|
|
send_batch_max_size: 256
|
|
exporters:
|
|
prometheus:
|
|
endpoint: 127.0.0.1:8889
|
|
metric_expiration: 15s
|
|
resource_constant_labels:
|
|
included:
|
|
- service.name
|
|
- service.instance.id
|
|
- service.version
|
|
- deployment.environment.name
|
|
otlp_http/tempo:
|
|
endpoint: http://127.0.0.1:14319
|
|
timeout: 2s
|
|
sending_queue:
|
|
queue_size: 32
|
|
num_consumers: 1
|
|
block_on_overflow: false
|
|
retry_on_failure:
|
|
initial_interval: 1s
|
|
max_interval: 2s
|
|
max_elapsed_time: 10s
|
|
otlp_http/loki:
|
|
endpoint: http://127.0.0.1:13310/otlp
|
|
timeout: 2s
|
|
sending_queue:
|
|
queue_size: 32
|
|
num_consumers: 1
|
|
block_on_overflow: false
|
|
retry_on_failure:
|
|
initial_interval: 1s
|
|
max_interval: 2s
|
|
max_elapsed_time: 10s
|
|
extensions:
|
|
health_check:
|
|
endpoint: 127.0.0.1:13133
|
|
service:
|
|
extensions:
|
|
- health_check
|
|
telemetry:
|
|
logs:
|
|
level: warn
|
|
metrics:
|
|
level: detailed
|
|
readers:
|
|
- pull:
|
|
exporter:
|
|
prometheus:
|
|
host: 127.0.0.1
|
|
port: 8888
|
|
pipelines:
|
|
traces:
|
|
receivers:
|
|
- otlp
|
|
processors:
|
|
- memory_limiter
|
|
- batch
|
|
exporters:
|
|
- otlp_http/tempo
|
|
logs:
|
|
receivers:
|
|
- otlp
|
|
processors:
|
|
- memory_limiter
|
|
- batch
|
|
exporters:
|
|
- otlp_http/loki
|
|
metrics:
|
|
receivers:
|
|
- otlp
|
|
processors:
|
|
- memory_limiter
|
|
- batch
|
|
exporters:
|
|
- prometheus
|