snix/tvix/tracing/Cargo.toml
Florian Klink 661fe698a1 chore(tvix/tracing): bump to opentelemetry 0.28
According to https://github.com/open-telemetry/opentelemetry-rust/issues/1395#issuecomment-2612865575,
we can now remove the spawn_blocking calls and channel logic for
flushing / shutdown.

Change-Id: I0fabc1fe0968a736e7d44dfde41f4a6adac5e272
Reviewed-on: https://cl.tvl.fyi/c/depot/+/13154
Tested-by: BuildkiteCI
Reviewed-by: edef <edef@edef.eu>
2025-02-22 10:09:51 +00:00

55 lines
1.5 KiB
TOML

[package]
name = "tvix-tracing"
version = "0.1.0"
edition = "2021"
[dependencies]
tracing = { workspace = true, features = ["max_level_trace", "release_max_level_debug"] }
tracing-subscriber = { workspace = true, features = ["env-filter"] }
indicatif.workspace = true
tracing-indicatif.workspace = true
tokio = { workspace = true, features = ["sync", "rt"] }
thiserror.workspace = true
tracing-opentelemetry = { workspace = true, optional = true }
opentelemetry = { workspace = true, optional = true }
opentelemetry-otlp = { workspace = true, features = ["grpc-tonic"], optional = true }
opentelemetry_sdk = { workspace = true, features = ["rt-tokio"], optional = true }
tracing-tracy = { workspace = true, features = ["flush-on-exit"], optional = true }
opentelemetry-http = { workspace = true, optional = true }
opentelemetry-semantic-conventions = { workspace = true, optional = true }
tonic = { workspace = true, optional = true }
http = { workspace = true, optional = true }
reqwest-tracing = { workspace = true, optional = true }
axum = { workspace = true, optional = true }
[features]
default = []
otlp = [
"dep:tracing-opentelemetry",
"dep:opentelemetry",
"dep:opentelemetry-otlp",
"dep:opentelemetry_sdk",
"dep:opentelemetry-http",
"dep:opentelemetry-semantic-conventions",
"reqwest-tracing?/opentelemetry_0_28",
]
tracy = [
"dep:tracing-tracy"
]
tonic = [
"dep:tonic",
"dep:http",
]
reqwest = [
"dep:reqwest-tracing",
]
axum = [
"dep:axum",
]
[lints]
workspace = true