Support for global resource attributes
Author: AmoolaaCreated Sep 29, 2024Updated Oct 2, 2026
LabelsStale
Is your feature request related to a problem? Please describe. We manage a fleet of collectors with a core set of configuration, where users can build on top of it. We want to force a set of resource attributes (based on the host instance id, region, internal pipeline information etc.) on everything being exported from the collector.
Describe the solution you'd like Ability to specify global resource attributes passed as an environment variable to the collector
Describe alternatives you've considered Parsing config and injecting resource attributes into every processor pipeline
Additional context Telegraf offers the global tag configuration block.
Source: open-telemetry/opentelemetry-collector