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
opentelemetry = "0.22"
opentelemetry_sdk = { version = "0.22", features = ["rt-tokio"] }
tracing-opentelemetry = "0.23"
opentelemetry-jaeger-propagator = "0.1.0"
opentelemetry-jaeger = { version = "0.21", features = ["collector_client", "hyper_collector_client", "rt-tokio"] }
opentelemetry-otlp = { version = "0.15.0", features = ["http-proto"] }
these are the enabled features
global::set_text_map_propagator(opentelemetry_jaeger_propagator::Propagator::new());
let otlp_exporter = opentelemetry_otlp::new_exporter()
.http()
.with_endpoint(jager_endpoint);
let tracer =
opentelemetry_otlp::new_pipeline()
.tracing()
.with_exporter(otlp_exporter)
.with_trace_config(trace::config().with_resource(Resource::new(vec![
KeyValue::new("service.name", "clash-rs"),
])))
.install_batch(opentelemetry_sdk::runtime::Tokio)?;
these are the setup
problem is
failed to setup logging: Exporter otlp encountered the following error(s): no http client, you must select one from features or provide your own implementation
how do i active the default hyper client?
ty
API Version
x
SDK Version
x
What Exporters are you seeing the problem on?
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered:
125 | Some(tracing_opentelemetry::layer().with_tracer(tracer))
| ----------- ^^^^^^ the trait `PreSampledTracer` is not implemented for `opentelemetry_sdk::trace::Tracer`
| |
| required by a bound introduced by this call
|
how to have PreSampledTracer implemented for a tracer below?
What happened?
these are the enabled features
these are the setup
problem is
how do i active the default hyper client?
ty
API Version
x
SDK Version
x
What Exporters are you seeing the problem on?
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: