microsoft / azure-container-apps

Roadmap and issues for Azure Container Apps
MIT License
355 stars 27 forks source link

Feature Request: make otel collector more extensible #1185

Open seanli1988 opened 4 weeks ago

seanli1988 commented 4 weeks ago

Is your feature request related to a problem? Please describe.
The opentelemtry collector is responsible for not only receiving and sending data, but also data processing. The framework is designed to filter, convert and batch data, none of which is possible with the ACA opentelemtry today.

Describe the solution you'd like.
make otel collector more extensible such that I can set otel resource attributes and forward them to otel compatible backends.

Describe alternatives you've considered.
self-host the otel collector

Additional context.

  1. Set resource_attributes_as_tags = true in the Opentelemetry collector configuration yaml file, so the collector would be able to associate and forward Opentelemetry attributes from the incoming stream to the Datadog tags on the output stream.

image

  1. Open up the otel_resource_attribute configuration so geo and environment can be set in the resource attribute.

image