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
|
||||
http:
|
||||
endpoint: 0.0.0.0:4318
|
||||
|
||||
processors:
|
||||
batch:
|
||||
|
||||
attributes:
|
||||
actions:
|
||||
- action: insert
|
||||
key: loki.attribute.labels
|
||||
value: [component, function, endpoint]
|
||||
resource:
|
||||
attributes:
|
||||
- action: insert
|
||||
key: loki.resource.labels
|
||||
value: [host.name, service.name, service.namespace]
|
||||
|
||||
exporters:
|
||||
otlp: # tempo
|
||||
|
@ -25,9 +30,6 @@ exporters:
|
|||
endpoint: http://loki:3100/loki/api/v1/push
|
||||
tls:
|
||||
insecure: true
|
||||
default_labels_enabled:
|
||||
exporter: false
|
||||
job: true
|
||||
|
||||
extensions:
|
||||
health_check:
|
||||
|
|
Loading…
Reference in a new issue