log labels
This commit is contained in:
parent
ce346f3abc
commit
12468e9a35
1 changed files with 2 additions and 8 deletions
|
@ -12,13 +12,7 @@ processors:
|
|||
actions:
|
||||
- action: insert
|
||||
key: loki.attribute.labels
|
||||
value: event.domain
|
||||
|
||||
resource:
|
||||
attributes:
|
||||
- action: insert
|
||||
key: loki.resource.labels
|
||||
value: service.name
|
||||
value: [component, function, endpoint]
|
||||
|
||||
exporters:
|
||||
otlp: # tempo
|
||||
|
@ -53,5 +47,5 @@ service:
|
|||
exporters: [prometheusremotewrite]
|
||||
logs:
|
||||
receivers: [otlp]
|
||||
processors: [batch, attributes, resource]
|
||||
processors: [batch, attributes]
|
||||
exporters: [loki]
|
||||
|
|
Loading…
Reference in a new issue