Due to golang registry still cache jaeger exporter v1.0.0 that have a code does not supports jaeger exporter new function. To workaround for goprivate it should be point directly, not sure that why it force install jaeger exporter v1.0.0 that the version does not support with init new provider.
Issue open-telemetry/opentelemetry-go#470
It should be fixed by running the command as below.
go get -v go.opentelemetry.io/otel/exporter/trace/[email protected]
docker-compose up --build
The example demonsrate how the producer and consumer microservices inject a traceId and SpanId to Jaeger exporter.
open http://localhost:16686/ to see all trace.