Skip to content

Commit

Permalink
bump prometheus dependency to 0.13 (#644)
Browse files Browse the repository at this point in the history
* bump prometheus dependency to 0.13

0.13.0

Bug fix: Avoid panics from Instant::elapsed (#406)

Improvement: Allow trailing comma on macros (#390)

Improvement: Add macros for custom registry (#396)

Improvement: Export thread count from process_collector (#401)

Improvement: Add convenience TextEncoder functions to encode directly to string (#402)

Internal change: Clean up the use of macro_use and extern crate (#398)

Internal change: Update dependencies

* also update in example

Co-authored-by: Zhongyang Wu <zhongyang.wu@outlook.com>
  • Loading branch information
jan-xyz and TommyCpp committed Oct 5, 2021
1 parent fdc6418 commit 542c28a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/hyper-prometheus/Cargo.toml
Expand Up @@ -9,7 +9,7 @@ publish = false
[dependencies]
opentelemetry = { path = "../../opentelemetry", features = ["rt-tokio"] }
opentelemetry-prometheus = { path = "../../opentelemetry-prometheus" }
prometheus = "0.12"
prometheus = "0.13"
lazy_static = "1.4"
hyper = { version = "0.14", features = ["full"] }
tokio = { version = "1", features = ["full"] }
2 changes: 1 addition & 1 deletion opentelemetry-prometheus/Cargo.toml
Expand Up @@ -21,7 +21,7 @@ rustdoc-args = ["--cfg", "docsrs"]

[dependencies]
opentelemetry = { version = "0.16", path = "../opentelemetry", default-features = false, features = ["metrics"] }
prometheus = "0.12"
prometheus = "0.13"
protobuf = "2.14"

[dev-dependencies]
Expand Down

0 comments on commit 542c28a

Please sign in to comment.