opentelemetry-go
opentelemetry-go copied to clipboard
dice: Add OTLP exporters in addition to STDOUT exporters
How about using the same code as for the getting started example https://github.com/open-telemetry/opentelemetry-go/tree/main/example/dice (also see: https://opentelemetry.io/docs/languages/go/getting-started/) with just little modification to use OTLP exporters instead of STDOUT exporters here: https://github.com/open-telemetry/opentelemetry-go/blob/main/example/dice/otel.go.
A second idea would be to modify the dice example so that it could also work with OTLP, but this would need collaboration with @open-telemetry/docs-maintainers to see what they think about it.
Originally posted by @pellared in https://github.com/open-telemetry/opentelemetry-go/pull/5283#discussion_r1596373003
What about using autoexport?
What about using
autoexport?
https://github.com/open-telemetry/opentelemetry-go-contrib/issues/4326