Skip to content

Commit

Permalink
Merge pull request #27 from Ptrskay3/release/0.3.4
Browse files Browse the repository at this point in the history
Release/0.3.4
  • Loading branch information
Ptrskay3 authored Jul 16, 2023
2 parents f2e82d3 + 12b4f6d commit b91b74d
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
11 changes: 9 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ All notable changes to this project will be documented in this file.

-

# [0.3.4] - 2023-07-16

### Fixed

- `PrometheusMetricBuilder::with_prefix` is now properly setting the metric prefix, and the metric handle also takes thhat prefix into account.
Previously the metric initialization incorrectly ignored the prefix, which caused the requests duration histogram to use `quantile` instead of `le` labels.

# [0.3.3] - 2023-05-02

- Update `metrics-exporter-prometheus` to `0.12` and `metrics` to `0.21`.
Expand All @@ -16,7 +23,6 @@ All notable changes to this project will be documented in this file.

- The status code of the response is now captured in the total requests counter metric.


# [0.3.1] - 2023-02-16

### Added
Expand Down Expand Up @@ -64,9 +70,10 @@ All notable changes to this project will be documented in this file.

First version.

[unreleased]: https://github.com/Ptrskay3/axum-prometheus/compare/master...release/0.3.3
[unreleased]: https://github.com/Ptrskay3/axum-prometheus/compare/master...release/0.3.4
[0.2.0]: https://github.com/Ptrskay3/axum-prometheus/compare/9fb600d7d9ac2e6d38e6399119fc7ba7f25d5fe0...756dc67bf2baae2de406e012bdaa2334ce0fcdcb
[0.3.0]: https://github.com/Ptrskay3/axum-prometheus/compare/axum-0.6...release/0.3
[0.3.1]: https://github.com/Ptrskay3/axum-prometheus/compare/release/0.3...release/0.3.1
[0.3.2]: https://github.com/Ptrskay3/axum-prometheus/compare/release/0.3.1...release/0.3.2
[0.3.3]: https://github.com/Ptrskay3/axum-prometheus/compare/release/0.3.2...release/0.3.3
[0.3.4]: https://github.com/Ptrskay3/axum-prometheus/compare/release/0.3.3...release/0.3.4
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "axum-prometheus"
version = "0.3.3"
version = "0.3.4"
edition = "2021"
homepage = "https://github.com/Ptrskay3/axum-prometheus"
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Add `axum-prometheus` to your `Cargo.toml`.

```toml
[dependencies]
axum-prometheus = "0.3.3"
axum-prometheus = "0.3.4"
```

Then you instantiate the prometheus middleware:
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
//! Add `axum-prometheus` to your `Cargo.toml`.
//! ```not_rust
//! [dependencies]
//! axum-prometheus = "0.3.3"
//! axum-prometheus = "0.3.4"
//! ```
//!
//! Then you instantiate the prometheus middleware:
Expand Down

0 comments on commit b91b74d

Please sign in to comment.