resource processors
This commit is contained in:
parent
12468e9a35
commit
6d25a4eee4
1 changed files with 6 additions and 4 deletions
|
@ -5,14 +5,19 @@ receivers:
|
||||||
endpoint: 0.0.0.0:4317
|
endpoint: 0.0.0.0:4317
|
||||||
http:
|
http:
|
||||||
endpoint: 0.0.0.0:4318
|
endpoint: 0.0.0.0:4318
|
||||||
|
|
||||||
processors:
|
processors:
|
||||||
batch:
|
batch:
|
||||||
|
|
||||||
attributes:
|
attributes:
|
||||||
actions:
|
actions:
|
||||||
- action: insert
|
- action: insert
|
||||||
key: loki.attribute.labels
|
key: loki.attribute.labels
|
||||||
value: [component, function, endpoint]
|
value: [component, function, endpoint]
|
||||||
|
resource:
|
||||||
|
attributes:
|
||||||
|
- action: insert
|
||||||
|
key: loki.resource.labels
|
||||||
|
value: [host.name, service.name, service.namespace]
|
||||||
|
|
||||||
exporters:
|
exporters:
|
||||||
otlp: # tempo
|
otlp: # tempo
|
||||||
|
@ -25,9 +30,6 @@ exporters:
|
||||||
endpoint: http://loki:3100/loki/api/v1/push
|
endpoint: http://loki:3100/loki/api/v1/push
|
||||||
tls:
|
tls:
|
||||||
insecure: true
|
insecure: true
|
||||||
default_labels_enabled:
|
|
||||||
exporter: false
|
|
||||||
job: true
|
|
||||||
|
|
||||||
extensions:
|
extensions:
|
||||||
health_check:
|
health_check:
|
||||||
|
|
Loading…
Reference in a new issue