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

dice: Add OTLP exporters in addition to STDOUT exporters

Open pellared opened this issue 1 year ago • 2 comments

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

pellared avatar May 16 '24 17:05 pellared

What about using autoexport?

MrAlias avatar May 16 '24 17:05 MrAlias

What about using autoexport?

https://github.com/open-telemetry/opentelemetry-go-contrib/issues/4326

MrAlias avatar May 16 '24 17:05 MrAlias