-
Notifications
You must be signed in to change notification settings - Fork 49
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
minitrace-opentelemetry
doesn't work with opentelemetry_zipkin
exporter
#182
Comments
minitrace-opentelemetry
doesn't work with opentelemetry_zipkin
minitrace-opentelemetry
doesn't work with opentelemetry_zipkin
exporter
Do you have a tokio runtime initialized when creating the zipkin reporter? |
opentelemetry community is sort of messy at this moment... while opentelemetry_jaeger must be used in a environment without tokio, opentelemetry_zipkin requires the opposite.. But anyway I do have workaround: make a Reporter wrapper who ensure that a tokio runtimr exists and call inner reporter afterwards. |
I am using
I agree it's kinda it's in a mess, but the recent changes of providing the I prefer the |
Seems like using
opentelemetry_otlp
works great (https://github.com/tikv/minitrace-rust/tree/master/minitrace-opentelemetry), but when an exporter fromopentelemetry_zipkin
(https://crates.io/crates/opentelemetry-zipkin) is in use, seems like the global collector expects a tokio runtime to be available, and fails with:This is how I configured the reporter and exporter:
I assume it might be related to the fact that
The text was updated successfully, but these errors were encountered: