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:
|
actions:
|
||||||
- action: insert
|
- action: insert
|
||||||
key: loki.attribute.labels
|
key: loki.attribute.labels
|
||||||
value: event.domain
|
value: [component, function, endpoint]
|
||||||
|
|
||||||
resource:
|
|
||||||
attributes:
|
|
||||||
- action: insert
|
|
||||||
key: loki.resource.labels
|
|
||||||
value: service.name
|
|
||||||
|
|
||||||
exporters:
|
exporters:
|
||||||
otlp: # tempo
|
otlp: # tempo
|
||||||
|
@ -53,5 +47,5 @@ service:
|
||||||
exporters: [prometheusremotewrite]
|
exporters: [prometheusremotewrite]
|
||||||
logs:
|
logs:
|
||||||
receivers: [otlp]
|
receivers: [otlp]
|
||||||
processors: [batch, attributes, resource]
|
processors: [batch, attributes]
|
||||||
exporters: [loki]
|
exporters: [loki]
|
||||||
|
|
Loading…
Reference in a new issue