mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-05-30 20:00:36 +00:00
* feat: enable tokio console subscriber * fix: resolve PR comments * fix: resolve PR comments * fix: resolve PR comments
35 lines
1.1 KiB
TOML
35 lines
1.1 KiB
TOML
[package]
|
|
name = "common-telemetry"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[features]
|
|
tokio-console = ["console-subscriber", "tokio/tracing"]
|
|
deadlock_detection = ["parking_lot"]
|
|
|
|
[dependencies]
|
|
backtrace = "0.3"
|
|
common-error = { path = "../error" }
|
|
console-subscriber = { version = "0.1", optional = true }
|
|
metrics-exporter-prometheus = { git = "https://github.com/GreptimeTeam/metrics.git", rev = "174de287e9f7f9f57c0272be56c95df156489476", default-features = false }
|
|
metrics.workspace = true
|
|
once_cell = "1.10"
|
|
opentelemetry = { version = "0.17", default-features = false, features = [
|
|
"trace",
|
|
"rt-tokio",
|
|
] }
|
|
opentelemetry-jaeger = { version = "0.16", features = ["rt-tokio"] }
|
|
parking_lot = { version = "0.12", features = [
|
|
"deadlock_detection",
|
|
], optional = true }
|
|
serde = "1.0"
|
|
tokio.workspace = true
|
|
tracing = "0.1"
|
|
tracing-appender = "0.2"
|
|
tracing-bunyan-formatter = "0.3"
|
|
tracing-futures = { version = "0.2", features = ["futures-03"] }
|
|
tracing-log = "0.1"
|
|
tracing-opentelemetry = "0.17"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|