-
Story
-
Resolution: Unresolved
-
Normal
-
Logging 6.1.z, Logging 6.2.0
-
None
-
5
-
False
-
None
-
False
-
NEW
-
OBSDA-849 - Enable Full In-Cluster OpenTelemetry Support In OpenShift Logging
-
NEW
-
Enhancement
-
-
-
Log Storage - Sprint 265, Log Storage - Sprint 266
The LokiStack CRD allows for customizing the handling of OTLP attributes passed in during ingestion of OTel log entries. This is documented here: https://loki-operator.dev/docs/open-telemetry.md/#custom-attribute-mapping
Currently the CRD allows configuring "stream labels" and "structured metadata" but has no configuration for dropping (ignoring) attributes, even though the Loki configuration allows this.
We should extend the CRD to allow customers to drop attributes by name or regular expression and make it clear that "structured metadata" is the default for all attributes if no configuration is provided. If possible, the current "structured metadata" configuration might be deprecated or removed because it just provides the default behavior.