fix(hive-metric): use opentelemetry-otlp SDK instead of hand-rolled OTLP
This commit is contained in:
parent
39fc088907
commit
b4b5dd7fa4
2 changed files with 59 additions and 115 deletions
|
|
@ -10,6 +10,13 @@ path = "src/main.rs"
|
|||
[dependencies]
|
||||
anyhow.workspace = true
|
||||
clap.workspace = true
|
||||
reqwest.workspace = true
|
||||
serde_json.workspace = true
|
||||
# OTEL SDK — only used by this crate, so kept local rather than in workspace.dependencies.
|
||||
opentelemetry = "0.32"
|
||||
opentelemetry_sdk = { version = "0.32", features = ["metrics"] }
|
||||
opentelemetry-otlp = { version = "0.32", default-features = false, features = [
|
||||
"metrics",
|
||||
"http-json",
|
||||
"reqwest-client",
|
||||
"reqwest-rustls",
|
||||
] }
|
||||
tokio = { workspace = true, features = ["rt", "macros"] }
|
||||
|
|
|
|||
Loading…
Reference in a new issue