Skip to content

Commit 16b2ff7

Browse files
authored
chore(cargo): make prometheus-client a workspace dependency (#3743)
1 parent 46babf0 commit 16b2ff7

File tree

10 files changed

+10
-9
lines changed

10 files changed

+10
-9
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ h2 = { version = "0.3" }
105105
http = { version = "0.2" }
106106
http-body = { version = "0.4" }
107107
hyper = { version = "0.14.32", default-features = false }
108+
prometheus-client = { version = "0.23" }
108109
prost = { version = "0.12" }
109110
prost-build = { version = "0.12", default-features = false }
110111
prost-types = { version = "0.12" }

linkerd/app/core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ http-body = { workspace = true }
2020
hyper = { workspace = true, features = ["deprecated", "http1", "http2"] }
2121
futures = { version = "0.3", default-features = false }
2222
ipnet = "2.11"
23-
prometheus-client = "0.23"
23+
prometheus-client = { workspace = true }
2424
regex = "1"
2525
serde_json = "1"
2626
thiserror = "2"

linkerd/app/outbound/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ linkerd2-proxy-api = { workspace = true, features = ["outbound"] }
2626
once_cell = "1"
2727
parking_lot = "0.12"
2828
pin-project = "1"
29-
prometheus-client = "0.23"
29+
prometheus-client = { workspace = true }
3030
thiserror = "2"
3131
tokio = { version = "1", features = ["sync"] }
3232
tonic = { workspace = true, default-features = false }

linkerd/http/detect/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ publish = false
77
[dependencies]
88
bytes = { workspace = true }
99
httparse = "1"
10-
prometheus-client = "0.23"
10+
prometheus-client = { workspace = true }
1111
thiserror = "2"
1212
tokio = { version = "1", features = ["time"] }
1313
tracing = { version = "0.1" }

linkerd/http/prom/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ http = { workspace = true }
1919
http-body = { workspace = true }
2020
parking_lot = "0.12"
2121
pin-project = "1"
22-
prometheus-client = "0.23"
22+
prometheus-client = { workspace = true }
2323
thiserror = "2"
2424
tokio = { version = "1", features = ["time"] }
2525

linkerd/identity/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ edition = "2021"
77
publish = false
88

99
[dependencies]
10-
prometheus-client = "0.23"
10+
prometheus-client = { workspace = true }
1111
thiserror = "2"
1212
tracing = "0.1"
1313
url = "2.5.4"

linkerd/metrics/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ http-body = { workspace = true }
1919
hyper = { workspace = true, features = ["deprecated", "http1", "http2"] }
2020
kubert-prometheus-process = { version = "0.2", optional = true }
2121
parking_lot = "0.12"
22-
prometheus-client = "0.23"
22+
prometheus-client = { workspace = true }
2323
tokio = { version = "1", features = ["time"] }
2424
tracing = "0.1"
2525

linkerd/pool/p2c/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ publish = false
1010
ahash = "0.8"
1111
futures = { version = "0.3", default-features = false }
1212
indexmap = "2"
13-
prometheus-client = "0.23"
13+
prometheus-client = { workspace = true }
1414
rand = { version = "0.9", features = ["small_rng"] }
1515
tokio = { version = "1", features = ["rt", "sync", "time"] }
1616
tracing = "0.1"

linkerd/proxy/balance/gauge-endpoints/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ license = "Apache-2.0"
66
publish = false
77

88
[dependencies]
9-
prometheus-client = "0.23"
9+
prometheus-client = { workspace = true }
1010

1111
linkerd-stack = { path = "../../../stack" }

linkerd/proxy/balance/queue/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ publish = false
1010
futures = { version = "0.3", default-features = false }
1111
parking_lot = "0.12"
1212
pin-project = "1"
13-
prometheus-client = "0.23"
13+
prometheus-client = { workspace = true }
1414
thiserror = "2"
1515
tokio = { version = "1", features = ["rt", "sync", "time"] }
1616
tokio-util = "0.7"

0 commit comments

Comments
 (0)