odigos-io / opentelemetry-go-instrumentation

OpenTelemetry auto-instrumentation for Go applications
Apache License 2.0
292 stars 44 forks source link

chore(cli): add stdout tracer flag for local debug #43

Closed ocampeau closed 1 year ago

ocampeau commented 2 years ago

What type of this PR

Adding two CLI flags: -help -stdout

The stdout flag is a boolean flag that, when set to true (default is false) will instantiate a stdout tracer. This is to allow working locally, when developing, without the need to have a proper OTEL setup working. When set to true, all traces are printed to stdout.

/kind misc

edeNFed commented 1 year ago

Sorry for the significant delay! looks great, thank you for contributing.