Skip to content

Commit

Permalink
fix: fix compat issue with otel rust 0.26 https://github.com/open-tel…
Browse files Browse the repository at this point in the history
  • Loading branch information
ttys3 committed Oct 8, 2024
1 parent 9bcaf73 commit 5630fb7
Show file tree
Hide file tree
Showing 4 changed files with 218 additions and 251 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ axum = "0.7"
opentelemetry = { version = "0.26", features = ["metrics"] }
opentelemetry_sdk = { version = "0.26.0", features = ["rt-tokio"] }
opentelemetry-prometheus = { version = "0.17.0", features = [ "prometheus-encoding", ] }
opentelemetry-semantic-conventions = { version = "0.26.0" }
opentelemetry-semantic-conventions = { version = "0.26.0", features = ["semconv_experimental"] }
#opentelemetry = { git = "https://github.com/open-telemetry/opentelemetry-rust.git", branch = "main", features = ["metrics", "rt-tokio"]}
#opentelemetry-prometheus = { git = "https://github.com/open-telemetry/opentelemetry-rust.git", branch = "main", features = ["prometheus-encoding"] }
#opentelemetry-semantic-conventions = { git = "https://github.com/open-telemetry/opentelemetry-rust.git", branch = "main"}
Expand All @@ -36,4 +36,4 @@ opentelemetry-http = "0.26.0"
tokio = { version = "1.38", features = ["macros"] }

[patch.crates-io]
opentelemetry-prometheus = { git="https://github.com/ttys3/opentelemetry-rust.git", branch="opentelemetry-prometheus-sdk-0.25" }
opentelemetry-prometheus = { git="https://github.com/ttys3/opentelemetry-rust.git", branch="opentelemetry-prometheus-sdk-0.26" }
Loading

0 comments on commit 5630fb7

Please sign in to comment.