We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
What needs to be changed?
The init_tracer function in the docs is as follows
fn init_tracer() { match SpanExporter::new_tonic(ExportConfig::default(), TonicConfig::default()) { Ok(exporter) => { global::set_text_map_propagator(TraceContextPropagator::new()); let provider = TracerProvider::builder() .with_simple_exporter(exporter) .build(); global::set_tracer_provider(provider); }, Err(why) => panic!("{:?}", why) } }
Is there any reason for having it this way? why not just do unwrap ?
unwrap
What is the name + path of the page that needs changed?
The docs section in question is https://opentelemetry.io/docs/languages/rust/exporters/
The text was updated successfully, but these errors were encountered:
I didn't mean to add the bug label... not sure how to change that
bug
Sorry, something went wrong.
Also, where is the SpanExporter imported from?
SpanExporter
tried opentelemetry_otlp::SpanExporter...
opentelemetry_otlp::SpanExporter
says no function or associated item new_tonic... is it behind any feature flags?
new_tonic
@open-telemetry/rust-approvers please take a look
thanks @ashupednekar
No branches or pull requests
What needs to be changed?
The init_tracer function in the docs is as follows
Is there any reason for having it this way? why not just do
unwrap
?What is the name + path of the page that needs changed?
The docs section in question is https://opentelemetry.io/docs/languages/rust/exporters/
The text was updated successfully, but these errors were encountered: