opentelemetry-collector icon indicating copy to clipboard operation
opentelemetry-collector copied to clipboard

[exporter/debug] Add file output options for customLogger

Open jackgopack4 opened this issue 6 months ago • 4 comments
trafficstars

Description

Adds ability to reroute output and error output to stdout/stderr/specified files in debugexporter when not using collector internal telemetry pipeline.

Link to tracking issue

Fixes #10472

Testing

Unit tests to ensure that output actually gets written to files when specified.

Documentation

Chloggen and update README.md for exporter/debug.

Notes

This would change the default behavior to outputting error output to stderr, I think that's reasonable given that it matches internal telemetry behavior, but since debugexporter is marked stable, We could just leave default for both to stdout or add a featuregate for this.

jackgopack4 avatar May 21 '25 14:05 jackgopack4