- Metrics tags [#95]
- Fixed issue with histogram storing historical data [#90]
- Update tracing-subscriber to 0.3
- Use dashmap to improvement scalability in multithread scenarios [#62]
- Disabled unused features of Hdrhistogram crate.
- Update influxdb crate to 0.5.
- Use Tokio/Hyper/Reqwest backend as http client.
- Adopt metriki-core 1.7 changes.
Initial release.
- Added new built-in types
CacahedGauge.
GaugeFnis now a trait instead of type alias in previous releases. This allows better extensibility for gauge implementations.TimerContextArc::stopwill not require an ownedself.
- Added
batch_sizeto limit influxdb batch writes, default to 50 rows.
Initial release of metriki-jemalloc intrumentation.
- Output for
countof meters.
- New feature
httpprovides middleware for metering Hyper app: the built-in metrics includes timers by http request method, meters by response status code, etc.
- Fixed issue that tower middleware doesn't work with Hyper due to
Sendtrait not required
Initial release of tower instrument. The module provides MetricsLayer and
MetricsService for tower applications. Some built-in metrics are provided by default:
- A timer to measure latency and rate
- A meter to measure error rate
- Added Timer API
TimerContextArcto work with anArcreference of a timer [#36]
- New timer API
scopedto measure execution of a closure with this timer TimerContextis exposed
- Macro features: built-in macros
#[timed]and#[metered].
- Global instance of
MetricRegistryis added atmetriki_core::global::global_registry().
MetricsSetAPIs
- Histogram is now backed by HdrHistogram algorithm
countAPI forHistogrammeanRateAPI forMeter- Feature
serfor serialization support of metric types - New
MetricsFilterAPI to filter metrics from reporters and exporters