Replies: 8 comments 2 replies
-
|
Beta Was this translation helpful? Give feedback.
-
Thanks for the input @yurishkuro , http://localhost:5778/sampling api is accessible and it was giving the expected results. We are in the process of migrating from Jaeger to the OpenTelemetry Collector. Some clients are currently using port For example:
The above command works fine, but when trying to access the sampling endpoint on port
I get the following error:
How can we configure the OpenTelemetry Collector to support existing clients that use the Collector ports |
Beta Was this translation helpful? Give feedback.
-
@yurishkuro , ok, sure I will give it a try, but in the documentation, I don't find a way to configure the port for jaegerremotesampling, can you please let me know the configuration for it. |
Beta Was this translation helpful? Give feedback.
-
Hi @yurishkuro , I understand, the 14268 is available, but not sure on the procedure for configuring it, https://github.com/open-telemetry/opentelemetry-go-contrib/blob/main/samplers/jaegerremote/README.md To be honest, I don't require 5778 (since it is not deployed as an agent) I only need collector endpoints to be accessible for the clients. |
Beta Was this translation helpful? Give feedback.
-
Any support here? Please let me know how to configure remote sampling collector ports for telemetry collector, ie. port 14268, 14250
|
Beta Was this translation helpful? Give feedback.
-
The extension config has HTTP and gRPC server settings Both support |
Beta Was this translation helpful? Give feedback.
-
Thank you @yurishkuro , Done the configuration below, it is working fine.
But according to the https://www.jaegertracing.io/docs/1.63/apis/#remote-sampling-configuration-stable I would like to hit But what I get,
instead of,
why this happens, so it is expected to hit |
Beta Was this translation helpful? Give feedback.
-
Then as per my understanding, we should update all our client libraries URL according to OTEL. thanks for the explanation, we can close the Q&A. |
Beta Was this translation helpful? Give feedback.
-
Hi @yurishkuro @frzifus,
I'm new to using OpenTelemetry, and I need to configure the OpenTelemetry trace collector to support remote sampling (since my clients are set up for remote sampling).
Here is the relevant portion of my client configuration, where it tries to connect to the Jaeger API:
After reviewing available OpenTelemetry plugins, I found that the jaegerremotesampling extension seems to be what I need: https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/extension/jaegerremotesampling.
Below is the configuration I am using:
I don't have any other setup apart from this. My expectation is that traces collected through port 4317 will apply the sampling strategy and export to the logging exporter. However, I'm wondering if I need additional configuration. Do I need to collect spans using a Jaeger receiver or have a Jaeger collector running to apply the sampling strategy? I'm unsure about the correct setup required for the jaegerremotesampling extension. Any guidance would be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions