Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ license = "MIT OR Apache-2.0"

[workspace.dependencies]
alloy = { version = "2", default-features = false }
axum = "0.8"
axum = { version = "0.8", default-features = false }
backon = { version = "1.6", default-features = false }
eyre = "0.6"
git-version = "0.3"
Expand All @@ -28,10 +28,10 @@ telemetry-batteries = "0.1.2"
thiserror = "2"
tokio = { version = "1" }
tokio-util = "0.7"
tower = { version = "0.5" }
tower = { version = "0.5", default-features = false }
tower-http = "0.6"
tracing = "0.1"
tracing-subscriber = "0.3"
tracing-subscriber = { version = "0.3", default-features = false }

# This profile can be used for CI in pull requests.
[profile.ci-dev]
Expand Down
10 changes: 7 additions & 3 deletions nodes-common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ alloy = { workspace = true, features = [
"reqwest-rustls-tls",
"std"
], optional = true }
axum = { workspace = true, optional = true }
axum = { workspace = true, features = [
"http1",
"tokio",
"tracing",
], optional = true }
backon = { workspace = true, features = ["std", "tokio-sleep"], optional = true }
git-version = { workspace = true }
humantime-serde = { workspace = true, optional = true }
Expand All @@ -28,7 +32,7 @@ sqlx = { workspace = true, features = [
"tls-rustls-aws-lc-rs"
], optional = true }
thiserror = { workspace = true }
tokio = { workspace = true, features = ["macros", "rt", "signal"] }
tokio = { workspace = true, features = ["macros", "rt", "signal", "time"] }
tokio-util = { workspace = true }
tower = { workspace = true, optional = true }
tower-http = { workspace = true, features = ["set-header"], optional = true }
Expand All @@ -42,7 +46,7 @@ alloy = { workspace = true, features = [
"reqwest-rustls-tls",
"std"
] }
axum = { workspace = true }
axum = { workspace = true, features = ["http1", "tokio", "tracing"] }
http-body = "1"

[features]
Expand Down
33 changes: 26 additions & 7 deletions nodes-observability/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,31 @@ publish = true

[dependencies]
eyre.workspace = true
humantime.workspace = true
humantime = { workspace = true, optional = true }
metrics.workspace = true
metrics-exporter-dogstatsd.workspace = true
metrics-exporter-prometheus.workspace = true
metrics-exporter-statsd.workspace = true
secrecy.workspace = true
telemetry-batteries.workspace = true
metrics-exporter-dogstatsd = { workspace = true, optional = true }
metrics-exporter-prometheus = { workspace = true, optional = true }
metrics-exporter-statsd = { workspace = true, optional = true }
secrecy = { workspace = true, optional = true }
telemetry-batteries = { workspace = true, optional = true }
tracing.workspace = true
tracing-subscriber.workspace = true
tracing-subscriber = { workspace = true, features = [
"env-filter",
"fmt",
] }

[features]
default = [
"datadog-tracing",
"exporter-datadog",
"exporter-statsd",
"exporter-prometheus",
]
datadog-tracing = ["dep:telemetry-batteries"]
exporter-datadog = ["dep:metrics-exporter-dogstatsd"]
exporter-statsd = ["dep:metrics-exporter-statsd"]
exporter-prometheus = [
"dep:metrics-exporter-prometheus",
"dep:humantime",
"dep:secrecy",
]
Loading