Skip to content

Commit

Permalink
remove unused opentelemetry_api
Browse files Browse the repository at this point in the history
  • Loading branch information
hgiasac committed Mar 19, 2024
1 parent 83ccd43 commit 38aef5a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,11 @@ of requests across services.
To enable tracing you must:

- use the SDK option `--otlp-endpoint` e.g. `http://localhost:4317`,
- set the SDK environment variable `OTLP_ENDPOINT`, or
- set the SDK environment variable `OTEL_EXPORTER_OTLP_ENDPOINT`, or
- set the `tracing` environment variable `OTEL_EXPORTER_OTLP_TRACES_ENDPOINT`.

The exporter uses gRPC protocol by default. To use HTTP protocol you must set `OTEL_EXPORTER_OTLP_PROTOCOL=http/protobuf`.

For additional service information you can:

- Set `OTEL_SERVICE_NAME` e.g. `ndc_hub_example`
Expand Down
1 change: 0 additions & 1 deletion rust-connector-sdk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ opentelemetry = { version = "^0.22", default-features = false }
opentelemetry-http = "0.11.0"
opentelemetry-otlp = { version = "^0.15.0", features = ["reqwest-client", "gzip-tonic", "tls", "tls-roots", "http-proto"] }
opentelemetry-semantic-conventions = "^0.14.0"
opentelemetry_api = "^0.20.0"
opentelemetry_sdk = { version = "^0.22.1", features = ["rt-tokio"] }
prometheus = "^0.13.3"
reqwest = "^0.11.22"
Expand Down

0 comments on commit 38aef5a

Please sign in to comment.