opentelemetry-go
opentelemetry-go copied to clipboard
Opentelemetry Document confusion
I am a Opentelemetry beginner and I try to use Opentelemetry in my golang project to export metric and trace to Prometheus and Jaeger. I read a document here and follow the guide:
- https://opentelemetry.io/docs/instrumentation/go/getting-started/ This doc said that I have to initialize the Opentelemetry SDK first but in this example I can see we do not need to do that, so what is really need to do?
- https://opentelemetry.io/docs/instrumentation/go/exporters/ And this document is about how to create a exporter, but It does not show how to integrate exporters with opentelemetry, so I do not know how to use it?
Thank you so much for creating the amazing open sources Opentelemetry! Sorry for my noob :)).
but It does not show how to integrate exporters with opentelemetry
You can find it here: https://opentelemetry.io/docs/instrumentation/go/getting-started/#initialize-the-opentelemetry-sdk