mirror of
https://github.com/kjuulh/dagger-rs.git
synced 2025-08-10 08:53:26 +02:00
chore: add opentelemtry dependencies
🚀 chore(Cargo.toml): update dependencies and add optional tracing-opentelemetry feature ✨ feat(Cargo.toml): add opentelemetry and opentelemetry-jaeger dependencies as optional features 🚀 chore(Cargo.toml): update tracing and tracing-subscriber dependencies The dependencies in the Cargo.toml file have been updated to their latest versions. The tracing-opentelemetry feature has been added as an optional feature to the dagger-core and dagger-sdk crates. The opentelemetry and opentelemetry-jaeger dependencies have been added as optional features to the dagger-sdk crate. This allows for the use of OpenTelemetry tracing in the application.
This commit is contained in:
@@ -20,6 +20,9 @@ serde_json = { workspace = true }
|
||||
tracing.workspace = true
|
||||
tracing-subscriber.workspace = true
|
||||
thiserror.workspace = true
|
||||
tracing-opentelemetry = { workspace = true, optional = true }
|
||||
opentelemetry = { workspace = true, optional = true }
|
||||
opentelemetry-jaeger = { workspace = true, optional = true }
|
||||
|
||||
futures = "0.3.28"
|
||||
derive_builder = "0.12.0"
|
||||
@@ -29,3 +32,11 @@ pretty_assertions = "1.3.0"
|
||||
rand = "0.8.5"
|
||||
genco = "0.17.3"
|
||||
tracing-test = "0.2.4"
|
||||
|
||||
[features]
|
||||
default = ["otel"]
|
||||
otel = [
|
||||
"dep:tracing-opentelemetry",
|
||||
"dep:opentelemetry",
|
||||
"dep:opentelemetry-jaeger",
|
||||
]
|
||||
|
Reference in New Issue
Block a user