Releases: MindFlavor/prometheus_exporter_base
Releases · MindFlavor/prometheus_exporter_base
Cleaned up dependencies
0.30.2 cleaned up deps
Support for query strings
- Support for query strings. Thanks to PR #12 by Boden Garman.
Update to std::future
Merge pull request #14 from MindFlavor/std_future/dev Std future/dev
Migrated to async/await
Version 0.3.0-alpha.18
to be exact
Better naming and better compile-time guarantees
- Renamed
PrometheusCounter
struct toPrometheusMetric
(as per soloradish's suggestion in #4). - Renamed
render_counter
function torender_sample
(as per soloradish's suggestion in #4). - Renamed
attributes
parameter tolabels
(as per soloradish's suggestion in #4). - Changed the constraint in
render_sample
fromstd::fmt::Display
tonum::Num + std::fmt::Display
for the value in order enforce at compile time the value as a number as per issue #5. - Created the new enum
MetricType
and used instead ofString
inPrometheusMetric
. This will enforce the use of valid metric at compile time.
Simpified closure signature
0.3.0 Simplified closure
Support for rustls (https)
0.2.2 Support for https (rustls)
Added two methods for common hyper handling
Merge pull request #2 from MindFlavor/dev Added future from hyper request creation
API Rewrite
Merge pull request #1 from MindFlavor/0.2.0 API rewrite