@@ -8,6 +8,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
8
8
9
9
## [ Unreleased] - ReleaseDate
10
10
11
+ ### Added
12
+
13
+ - Support for specifying a username/password for HTTP Basic Authentication when pushing to a Push
14
+ Gateway. ([ #366 ] ( https://github.com/metrics-rs/metrics/pull/366 ) )
15
+
11
16
## [ 0.12.0] - 2023-04-16
12
17
13
18
### Changed
@@ -20,14 +25,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
20
25
### Changed
21
26
22
27
- Aggregated summaries are now rolling, allowing oldering data points to expire and quantile values
23
- to reflect the recent past rather than the lifetime of a histogram. (#306 )
28
+ to reflect the recent past rather than the lifetime of a histogram.
29
+ ([ #306 ] ( https://github.com/metrics-rs/metrics/pull/306 ) )
24
30
25
31
They have a default width of three buckets, with each bucket being 20 seconds wide. This means
26
32
only the last 60 seconds of a histogram -- in 20 second granularity -- will contribute to the
27
33
quantiles emitted.
28
34
29
35
We'll expose the ability to tune these values in the future.
30
- - Switched to using ` portable_atomic ` for 64-bit atomics on more architectures. (#313 )
36
+ - Switched to using ` portable_atomic ` for 64-bit atomics on more architectures.
37
+ ([ #313 ] ( https://github.com/metrics-rs/metrics/pull/313 ) )
38
+
31
39
32
40
## [ 0.10.0] - 2022-05-30
33
41
@@ -39,16 +47,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
39
47
## [ 0.9.0] - 2022-03-10
40
48
41
49
### Added
50
+
42
51
- New top-level module, ` formatting ` , which exposes many of the helper methods used to sanitize and
43
52
render the actual Prometheus exposition format. ([ #285 ] ( https://github.com/metrics-rs/metrics/pull/285 ) )
44
53
45
54
## [ 0.8.0] - 2022-01-14
46
55
47
56
### Added
57
+
48
58
- New builder method, ` PrometheusBuilder::install_recorder ` , which builds and installs the
49
59
recorder and returns a ` PrometheusHandle ` that can be used to interact with the recorder.
50
60
51
61
### Changed
62
+
52
63
- Updated various dependencies in order to properly scope dependencies to only the necessary feature
53
64
flags, and thus optimize build times and reduce transitive dependencies.
54
65
- Updated to the new handle-based design of ` metrics ` .
@@ -63,6 +74,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
63
74
(name/labels) was recorded.
64
75
65
76
### Fixed
77
+
66
78
- Label keys and values, as well as metric descriptions, are now correctly sanitized according to
67
79
the Prometheus [ data model] ( https://prometheus.io/docs/concepts/data_model/ ) and [ exposition
68
80
format] ( https://github.com/prometheus/docs/blob/main/content/docs/instrumenting/exposition_formats.md ) .
@@ -74,38 +86,50 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
74
86
## [ 0.7.0] - 2021-12-16
75
87
76
88
### Changed
89
+
77
90
- Calling ` PrometheusBuilder::install ` inside a Tokio runtime will spawn the exporter on that
78
91
runtime rather than spawning a new runtime. ([ #251 ] ( https://github.com/metrics-rs/metrics/pull/251 ) )
79
92
80
93
## [ 0.6.1] - 2021-09-16
81
94
82
95
### Changed
96
+
83
97
- Simple release to bump dependencies.
84
98
85
99
## [ 0.6.0] - 2021-07-15
86
100
87
101
### Added
102
+
88
103
- Support for pushing to a Push Gateway. ([ #217 ] ( https://github.com/metrics-rs/metrics/pull/217 ) )
89
104
90
105
## [ 0.5.0] - 2021-05-18
106
+
91
107
### Added
108
+
92
109
- ` PrometheusBuilder::add_allowed ` , which enables the exporter to be configured with a
93
110
list of IP addresses or subnets that are allowed to connect. By default, no restrictions
94
111
are enforced.
95
112
96
113
## [ 0.4.0] - 2021-05-03
97
114
98
115
### Changed
116
+
99
117
- Bumped ` metrics ` dependency to ` 0.15 ` and updated the necessary APIs.
100
118
101
119
## [ 0.3.0] - 2021-02-02
120
+
102
121
### Changed
122
+
103
123
- Bumped ` metrics ` dependency to ` 0.14 ` .
104
124
105
125
## [ 0.2.0] - 2021-01-23
126
+
106
127
### Changed
128
+
107
129
- Switched from ` MetricKind ` for ` MetricKindMask ` for ` PrometheusBuilder::idle_timeout ` .
108
130
109
131
## [ 0.1.0] - 2021-01-22
132
+
110
133
### Added
134
+
111
135
- Genesis of the crate.
0 commit comments