open-telemetry / opentelemetry-collector

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

Collecting Traces from Container stdout and Sending to Jaeger #10535

Open muhmedabdelhalim opened 3 months ago

muhmedabdelhalim commented 3 months ago

Hello OpenTelemetry team,

I am exploring ways to enhance observability within my containerized environments and have a specific requirement. I am looking to collect trace data directly from the standard output (stdout) of containers and send this data to Jaeger for visualization and analysis.

Is there an existing feature in OpenTelemetry that supports this kind of data capture from stdout? If not, could this be considered for a new feature? What would be the recommended approach to implement this functionality if it doesn’t currently exist?

tcharlezin commented 2 months ago

You should specify the exporter of your trace instead of use the stdout directly.

Take a look here: https://opentelemetry.io/docs/languages/go/exporters/