diff --git a/otel-collector/config.yaml b/otel-collector/config.yaml index be6dac9..c943e2a 100644 --- a/otel-collector/config.yaml +++ b/otel-collector/config.yaml @@ -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]