Skip to content

lib/log: do not include OTel 'Attributes' namespace in dev

Warren Gifford requested to merge liblog-no-attributes-in-dev into main

Created by: bobheadxi

The Attributes namespace is added to comply with OpenTelemetry's log data format - this is rather noisy in dev, and we already omit other OTel fields (Resource) based on SRC_DEVELOPMENT, so we continue that trend here

Test plan

image

(above test output includes https://github.com/sourcegraph/sourcegraph/pull/35131)

Merge request reports

Loading