open-telemetry / opentelemetry-cpp-contrib

https://opentelemetry.io/
Apache License 2.0
121 stars 129 forks source link

Allow extra resource attributes to be added to traces from apache / nginx #364

Open royteeuwen opened 5 months ago

royteeuwen commented 5 months ago

Is your feature request related to a problem? Yes, we use elasticsearch as APM tool, where our corporate expects certain resource attributes to be available on the trace so that the trace is delegated to the correct team. Currently all our traces are dropped

Describe the solution you'd like Give the option to add resource attributes through the apache / nginx config

Describe alternatives you've considered Add an OpenTelemetry collector in between, which is a lot of extra infra which should not be required for elasticsearch

krisfremen commented 1 month ago

Hey there, any blockers on the related PR getting reviewed and merged in?

I'm in a similar situation to what @royteeuwen encountered and would love to get that PR merged in and released.