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