Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement remotely configurable sampling for Jaeger exporter #796

Closed
jkwatson opened this issue Jan 24, 2020 · 8 comments · Fixed by #1089
Closed

Implement remotely configurable sampling for Jaeger exporter #796

jkwatson opened this issue Jan 24, 2020 · 8 comments · Fixed by #1089
Assignees
Milestone

Comments

@jkwatson
Copy link
Contributor

details needed on what this entails....

@bogdandrutu bogdandrutu added this to the Beta release candidate milestone Feb 14, 2020
@pavolloffay pavolloffay self-assigned this Feb 24, 2020
@pavolloffay
Copy link
Member

@jkwatson @carlosalberto please provide more details in the description.

@carlosalberto
Copy link
Contributor

Details to be found in open-telemetry/opentelemetry-specification#231

@carlosalberto
Copy link
Contributor

@pavolloffay Details are kinda spread that issue. Let me know what you think.

@objectiser
Copy link
Contributor

Shouldn't this issue be entitled "Implement remotely configurable sampling" or something like that, and aim to provide a similar (i.e. functionally equivalent) mechanism as used in Jaeger - but applicable for any exporter used by the client?

cc @yurishkuro

@bogdandrutu bogdandrutu changed the title Implement Jaeger Sampling configuration Implement remotely configurable sampling for Jaeger exporter Feb 25, 2020
@pavolloffay
Copy link
Member

I have started looking into this. In Jaeger this is implemented in this package https://github.com/jaegertracing/jaeger-client-java/tree/46798bdf199357afc535c98b8f6734b37090bf78/jaeger-core/src/main/java/io/jaegertracing/internal/samplers.

It actually requires these classes: RemoteControlledSampler. RateLimitingSampler, PerOperationSampler, GuaranteedThroughputSampler.

I am wondering whether it would be better to depend on jaeger-core artifact https://mvnrepository.com/artifact/io.jaegertracing/jaeger-core/1.2.0 and just create the adapter for RemoteControlledSampler.

@bogdandrutu any concerns on depending on jaeger-core?

@yurishkuro
Copy link
Member

My preference would be for OTel to be a clean cut, not to bundle Jaeger.

Also, Jaeger sampling is upfront, I don't understand how it can be done in the exporter.

@pavolloffay
Copy link
Member

It won't be in the exporter. It will be OTEL sampler implementation, we should decide whether it will be located in the same package as Jaeger exporter or a different one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants