- 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
.
GaugeFn
is now a trait instead of type alias in previous releases. This allows better extensibility for gauge implementations.TimerContextArc::stop
will not require an ownedself
.
- Added
batch_size
to limit influxdb batch writes, default to 50 rows.
Initial release of metriki-jemalloc intrumentation.
- Output for
count
of meters.
- New feature
http
provides 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
Send
trait 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
TimerContextArc
to work with anArc
reference of a timer [#36]
- New timer API
scoped
to measure execution of a closure with this timer TimerContext
is exposed
- Macro features: built-in macros
#[timed]
and#[metered]
.
- Global instance of
MetricRegistry
is added atmetriki_core::global::global_registry()
.
MetricsSet
APIs
- Histogram is now backed by HdrHistogram algorithm
count
API forHistogram
meanRate
API forMeter
- Feature
ser
for serialization support of metric types - New
MetricsFilter
API to filter metrics from reporters and exporters