Skip to content

Commit acfd894

Browse files
committed
chore: add prometheus back with API and SDK pinned at 0.23
1 parent 66b00d6 commit acfd894

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

Cargo.toml

-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ members = [
77
"examples/*",
88
"stress",
99
]
10-
# Crates temporarily excluded from the workspace
11-
exclude = ["opentelemetry-prometheus"]
1210
resolver = "2"
1311

1412
[profile.bench]

opentelemetry-prometheus/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ rustdoc-args = ["--cfg", "docsrs"]
2121

2222
[dependencies]
2323
once_cell = { workspace = true }
24-
opentelemetry = { version = "0.23", path = "../opentelemetry", default-features = false, features = ["metrics"] }
25-
opentelemetry_sdk = { version = "0.23", path = "../opentelemetry-sdk", default-features = false, features = ["metrics"] }
24+
opentelemetry = { version = "0.23", default-features = false, features = ["metrics"] }
25+
opentelemetry_sdk = { version = "0.23", default-features = false, features = ["metrics"] }
2626
prometheus = "0.13"
2727
protobuf = "2.14"
2828

2929
[dev-dependencies]
30-
opentelemetry-semantic-conventions = { path = "../opentelemetry-semantic-conventions" }
30+
opentelemetry-semantic-conventions = { version = "0.15" }
3131
hyper = { workspace = true, features = ["full"] }
3232
tokio = { workspace = true, features = ["full"] }
3333

scripts/lint.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ if rustup component add clippy; then
1616
"opentelemetry-appender-log"
1717
"opentelemetry-appender-tracing"
1818
"opentelemetry-otlp"
19-
# "opentelemetry-prometheus" - temporarily exlude Prometheus from CI.
19+
"opentelemetry-prometheus"
2020
"opentelemetry-proto"
2121
"opentelemetry-sdk"
2222
"opentelemetry-semantic-conventions"

0 commit comments

Comments
 (0)