question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Jaeger remote sampler: documentation for use with javaagent

See original GitHub issue

I have been trying to configure the Jaeger remote sampler to work as an extension with the opentelemetry javaagent. The current documentation in the README.md shows how to use the sampler when configuring through code but does not describe the java arguments that work to configure the remote sampler.

Trial and error has gotten me to

        "-Dotel.service.name=f<service-name>",
        "-Dotel.traces.sampler.arg=endpoint=jaeger-collector.jaeger.svc.cluster.local:14250",

but the sampling is not actually being applied. I am not sure if the error is with the configuration of the sampler or with Jaeger.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
anuraagacommented, Feb 8, 2022

Hi @chrismgrayftsinc - the next release of the javaagent should include the jaeger sampler out of the box so won’t need to muck with extensions. Are you able to wait for that?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Client Libraries — Jaeger documentation
We pioneered many new features, such as remotely controlled samplers and ... We use the terms client library, instrumentation library, and tracer ...
Read more >
open-telemetry/opentelemetry-java - Gitter
I'm going to open an issue for it, because no one likes to use gitter for these ... Task :opentelemetry-sdk-extension-jaeger-remote-sampler:javadoc javadoc: ...
Read more >
Agent Configuration | OpenTelemetry
Read the docs to find settings such as configuring export or sampling. Here are some quick links into those docs for the configuration ......
Read more >
Manual Instrumentation for Traces and Metrics with the Java ...
The opentelemetry-aws-xray artifact provides a Sampler implementation for use with X-Ray remote sampling. When initializing the OpenTelemetry SDK, register the ...
Read more >
OpenTelemetry Java: Getting Started Guide - Aspecto
Ultimately, we use this data to understand and investigate our system's behavior ... Step 1: Download the latest OpenTelemetry Java agent.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found