forked from mtusi2026/mtusi2026lab7
feat: core func lab7
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
extensions:
|
||||
health_check:
|
||||
endpoint: 0.0.0.0:13133
|
||||
endpoint: 127.0.0.1:13133
|
||||
|
||||
receivers:
|
||||
otlp:
|
||||
protocols:
|
||||
http:
|
||||
endpoint: 0.0.0.0:4318
|
||||
endpoint: 127.0.0.1:4318
|
||||
max_request_body_size: 4194304
|
||||
|
||||
processors:
|
||||
@@ -21,12 +21,16 @@ processors:
|
||||
|
||||
exporters:
|
||||
prometheus:
|
||||
endpoint: 0.0.0.0:9464
|
||||
endpoint: 127.0.0.1:9464
|
||||
metric_expiration: 30s
|
||||
resource_to_telemetry_conversion:
|
||||
enabled: true
|
||||
otlp_http/loki:
|
||||
endpoint: http://loki:3100/otlp
|
||||
endpoint: https://loki:13100/otlp
|
||||
tls:
|
||||
ca_file: /run/ca/ca.crt
|
||||
cert_file: /run/identity/tls.crt
|
||||
key_file: /run/identity/tls.key
|
||||
timeout: 2s
|
||||
sending_queue:
|
||||
num_consumers: 1
|
||||
@@ -36,7 +40,11 @@ exporters:
|
||||
max_interval: 3s
|
||||
max_elapsed_time: 8s
|
||||
otlp_http/tempo:
|
||||
endpoint: http://tempo:4318
|
||||
endpoint: https://tempo:13200
|
||||
tls:
|
||||
ca_file: /run/ca/ca.crt
|
||||
cert_file: /run/identity/tls.crt
|
||||
key_file: /run/identity/tls.key
|
||||
timeout: 2s
|
||||
sending_queue:
|
||||
num_consumers: 1
|
||||
@@ -55,7 +63,7 @@ service:
|
||||
- pull:
|
||||
exporter:
|
||||
prometheus:
|
||||
host: 0.0.0.0
|
||||
host: 127.0.0.1
|
||||
port: 8888
|
||||
pipelines:
|
||||
metrics:
|
||||
|
||||
Reference in New Issue
Block a user