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

Opentelemetry Document confusion

Open kumin opened this issue 1 year ago • 1 comments

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 :)).

kumin avatar Dec 22 '23 05:12 kumin

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

pellared avatar Dec 22 '23 08:12 pellared