v0.8.0
Added
-
MetricsConfig
to provide a more convenient and publicly accessible way of
configuring the metrics middleware;
this allows you to also align histogram boundaries across your services, even if you do not use
this crate at all (prometheus loves to have a defined set of buckets for identical metrics)Usage example:
use opentelemetry_tide::{MetricsConfig, TideExt}; // ... snip ... app.with_middlewares(tracer, MetricsConfig::default());
Changed
- metrics endpoint is configurable now
- histogram boundaries default buckets
- more granular steppings
- lower bound is now
0.001
instead of0.0001
- (new) summary quantiles default, which has more different nines buckets than the upstream default;
currently the summary is not really used anywhere yet, otel rust/prom need some changes/features
exposed to users, yet we still want to communicate a more desired standard nature if we would
use summaries somewhere - Update dependencies and adapt code accordingly
Cosmetic
- Fix formatting and notes in README.md
- Ignore "RUSTSEC-2020-0056: stdweb is unmaintained" (#11)
- Ignore aes related audits until upstream dependencies have been updated
- Ignore "RUSTSEC-2021-0059:
aesni
has been merged into theaes
crate" - Ignore "RUSTSEC-2021-0060:
aes-soft
has been merged into theaes
crate"
- Ignore "RUSTSEC-2021-0059:
- Use cargo audit directly, as
actions-rs/audit-check
does not support ignore option