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

[Bug]: cargo package features are ill documented #1464

Closed
justinabrahms opened this issue Jan 8, 2024 · 1 comment · Fixed by #1486
Closed

[Bug]: cargo package features are ill documented #1464

justinabrahms opened this issue Jan 8, 2024 · 1 comment · Fixed by #1486
Assignees
Labels
bug Something isn't working documentation/examples Improvements or additions to documentation or examples triage:accepted Has been triaged and accepted.

Comments

@justinabrahms
Copy link

What happened?

I went to install opentelemetry_sdk and saw that there are several flags. I went to look into what they are and I couldn't find any relevant documentation that covered them.

I looked in the following locations:

API Version

0.21.0

SDK Version

0.21.2

What Exporters are you seeing the problem on?

N/A

Relevant log output

cargo add --package $MYTHING opentelemetry
    Updating crates.io index
      Adding opentelemetry v0.21.0 to dependencies.
             Features:
             + pin-project-lite
             + trace
             - logs
             - logs_level_enabled
             - metrics
             - testing

cargo add --package $MYTHING opentelemetry_sdk
    Updating crates.io index
      Adding opentelemetry_sdk v0.21.2 to dependencies.
             Features:
             + async-trait
             + crossbeam-channel
             + percent-encoding
             + rand
             + trace
             - async-std
             - glob
             - http
             - jaeger_remote_sampler
             - logs
             - logs_level_enabled
             - metrics
             - opentelemetry-http
             - rt-async-std
             - rt-tokio
             - rt-tokio-current-thread
             - serde
             - serde_json
             - testing
             - tokio
             - tokio-stream
             - url
    Updating crates.io index
@justinabrahms justinabrahms added bug Something isn't working triage:todo Needs to be traiged. labels Jan 8, 2024
@justinabrahms
Copy link
Author

Noting that some of the things are documented here, but not all of them. https://github.com/open-telemetry/opentelemetry-rust/blob/main/opentelemetry-sdk/src/lib.rs#L80

@hdost hdost added documentation/examples Improvements or additions to documentation or examples triage:accepted Has been triaged and accepted. and removed triage:todo Needs to be traiged. labels Jan 9, 2024
@hdost hdost mentioned this issue Jan 9, 2024
41 tasks
@TommyCpp TommyCpp self-assigned this Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation/examples Improvements or additions to documentation or examples triage:accepted Has been triaged and accepted.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants