mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-08 22:12:56 +00:00
* tracing-utils now returns a `Layer` impl. Removes the need for crates to import OTel crates. * Drop the /v1/traces URI check. Verified that the code does the right thing. * Leave a TODO to hook in an error handler for OTel to log errors to when it assumes the regular pipeline cannot be used/is broken.
20 lines
696 B
TOML
20 lines
696 B
TOML
[package]
|
|
name = "tracing-utils"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[dependencies]
|
|
hyper.workspace = true
|
|
opentelemetry = { workspace = true, features = ["trace"] }
|
|
opentelemetry_sdk = { workspace = true, features = ["rt-tokio"] }
|
|
opentelemetry-otlp = { workspace = true, default-features = false, features = ["http-proto", "trace", "http", "reqwest-client"] }
|
|
opentelemetry-semantic-conventions.workspace = true
|
|
tokio = { workspace = true, features = ["rt", "rt-multi-thread"] }
|
|
tracing.workspace = true
|
|
tracing-opentelemetry.workspace = true
|
|
tracing-subscriber.workspace = true
|
|
|
|
[dev-dependencies]
|
|
tracing-subscriber.workspace = true # For examples in docs
|