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

Are the examples up-to-date? basic-otlp-http example not working #594

Closed
ghost opened this issue Jul 10, 2021 · 3 comments
Closed

Are the examples up-to-date? basic-otlp-http example not working #594

ghost opened this issue Jul 10, 2021 · 3 comments
Labels
question Further information is requested

Comments

@ghost
Copy link

ghost commented Jul 10, 2021

I was following the example here https://github.com/open-telemetry/opentelemetry-rust/blob/main/examples/basic-otlp-http/src/main.rs, but my program doesn't compile.

tracing here https://github.com/open-telemetry/opentelemetry-rust/blob/main/examples/basic-otlp-http/src/main.rs#L13 appears nowhere to be found in the docs https://docs.rs/opentelemetry-otlp/0.8.0/src/opentelemetry_otlp/lib.rs.html#251.

I know the config.toml https://github.com/open-telemetry/opentelemetry-rust/blob/main/examples/basic-otlp-http/Cargo.toml is using the local package while I am using the package hosted at crates.io. Could it be mismatched versions?

@ghost
Copy link
Author

ghost commented Jul 10, 2021

@ghost
Copy link
Author

ghost commented Jul 10, 2021

I was exploring opentelemtry-rust as a tracing solution for my Rust software but I don't think it's production-ready, not like Vector.

Now I'm exploring just tracing, exporting to file and ingest through Vector or directly to Jaeger in case anybody is doing something similar.

@TommyCpp TommyCpp added the question Further information is requested label Jul 11, 2021
@TommyCpp
Copy link
Contributor

TommyCpp commented Jul 11, 2021

Yes, we are still working towards GA on the tracing part now, the opentelemetry-collector is also in pre 1.0 status. The examples in the main branch use the main branch's code rather than the latest released code. There was a change introduced to allow the OTLP pipeline to send metrics and tracing info to the collector. #585.

Examples that use the latest released version can be found here.

Looks like you already took another route. But if you still want to explore opentelemetry and need some help. Feel free to reopen the issue and I can help with that.

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

No branches or pull requests

1 participant