You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use opentelemetry collector sampling port instead of jaeger agent port "http://{sampling_service_host_name}:5778", but I am unable to fetch sampling strategy information from the backend.
Tried with jaegerremote.WithSamplingServerURL("http://{sampling_service_host_name}:4317"), and jaegerremote.WithSamplingServerURL("http://{sampling_service_host_name}:4318"),
but not working, please let me know how remote sampling work using opentelemetry collector sampling service endpoint, if share any reference if you have.
The text was updated successfully, but these errors were encountered:
Hi, as per below link, both Jaeger Agent and OpenTelemetry Collector implement the Jaeger sampling service endpoint.
[https://github.com/open-telemetry/opentelemetry-go-contrib/tree/main/samplers/jaegerremote]
jaegerRemoteSampler := jaegerremote.New(
"your-service-name",
jaegerremote.WithSamplingServerURL("http://{sampling_service_host_name}:5778"),
jaegerremote.WithSamplingRefreshInterval(10*time.Second),
jaegerremote.WithInitialSampler(trace.TraceIDRatioBased(0.5)),
)
I am trying to use opentelemetry collector sampling port instead of jaeger agent port "http://{sampling_service_host_name}:5778", but I am unable to fetch sampling strategy information from the backend.
Tried with
jaegerremote.WithSamplingServerURL("http://{sampling_service_host_name}:4317"), and jaegerremote.WithSamplingServerURL("http://{sampling_service_host_name}:4318"),
but not working, please let me know how remote sampling work using opentelemetry collector sampling service endpoint, if share any reference if you have.
The text was updated successfully, but these errors were encountered: