diff --git a/CHANGELOG.md b/CHANGELOG.md index df529bb..4aebb27 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,8 @@ Additional changes to original format: - `Thank you for your contribution` for shout-outs to the community ## [Unreleased] + +## [0.9.0] - 2021-05-11 ### Fixed - `MetricsConfig` would cause a stack overflow on construction @@ -167,7 +169,8 @@ _(not released to crates.io)_ ## [0.1.0] - 2020-08-01 **Initial release** -[Unreleased]: https://github.com/asaaki/opentelemetry-tide/compare/v0.8.0...HEAD +[Unreleased]: https://github.com/asaaki/opentelemetry-tide/compare/v0.9.0...HEAD +[0.8.0]: https://github.com/asaaki/opentelemetry-tide/compare/v0.8.0...v0.9.0 [0.8.0]: https://github.com/asaaki/opentelemetry-tide/compare/v0.7.0...v0.8.0 [0.7.0]: https://github.com/asaaki/opentelemetry-tide/compare/v0.6.2...v0.7.0 [0.6.1]: https://github.com/asaaki/opentelemetry-tide/compare/v0.6.1...v0.6.2 diff --git a/Cargo.toml b/Cargo.toml index 1e9fe78..d11b7a4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "opentelemetry-tide" -version = "0.8.0" +version = "0.9.0" authors = [ "Christoph Grabo ", "The opentelemetry-tide Contributors" diff --git a/README.md b/README.md index 7af6f42..6bbda99 100644 --- a/README.md +++ b/README.md @@ -37,8 +37,8 @@ Be part of the new observability movement! * It only implements very basic request tracing on the middleware layer. If you need spans for your executed code, you need to add them yourself. -* The majority of the implementation is based on . * It provides basic prometheus metrics, based on the [RED method]. +* This project got inspired by . * You probably do not want to use it in production. 🤷 ## How to use @@ -73,7 +73,7 @@ curl http://localhost:3000/metrics async-std = { version = "1.9", features = ["attributes"] } opentelemetry = { version = "0.14", features = ["async-std", "rt-async-std"] } opentelemetry-jaeger = { version = "0.13", features = ["async-std"] } -opentelemetry-tide = "0.8" +opentelemetry-tide = "0.9" tide = "0.16" ``` diff --git a/src/lib.rs b/src/lib.rs index b2704e9..0200bad 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -42,7 +42,7 @@ curl http://localhost:3000/metrics async-std = { version = "1.9", features = ["attributes"] } opentelemetry = { version = "0.14", features = ["async-std", "rt-async-std"] } opentelemetry-jaeger = { version = "0.13", features = ["async-std"] } -opentelemetry-tide = "0.8" +opentelemetry-tide = "0.9" tide = "0.16" ``` diff --git a/src/middlewares/metrics.rs b/src/middlewares/metrics.rs index ea3fc9b..9b2d63f 100644 --- a/src/middlewares/metrics.rs +++ b/src/middlewares/metrics.rs @@ -62,7 +62,7 @@ impl MetricsConfig { global_labels, boundaries, quantiles, - route + route, } } }