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