mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-30 10:11:33 +00:00
build(deps): Update open-metrics-client requirement from 0.12.0 to 0.13.0 (#2355)
* build(deps): Update open-metrics-client requirement Updates the requirements on [open-metrics-client](https://github.com/mxinden/rust-open-metrics-client) to permit the latest version. - [Release notes](https://github.com/mxinden/rust-open-metrics-client/releases) - [Changelog](https://github.com/mxinden/rust-open-metrics-client/blob/master/CHANGELOG.md) - [Commits](https://github.com/mxinden/rust-open-metrics-client/compare/v0.12.0...v0.13.0) --- updated-dependencies: - dependency-name: open-metrics-client dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Max Inden <mail@max-inden.de>
This commit is contained in:
@ -90,7 +90,7 @@ impl Metrics {
|
||||
Box::new(query_result_get_providers_error.clone()),
|
||||
);
|
||||
|
||||
let query_result_num_requests =
|
||||
let query_result_num_requests: Family<_, _> =
|
||||
Family::new_with_constructor(|| Histogram::new(exponential_buckets(1.0, 2.0, 10)));
|
||||
sub_registry.register(
|
||||
"query_result_num_requests",
|
||||
@ -98,7 +98,7 @@ impl Metrics {
|
||||
Box::new(query_result_num_requests.clone()),
|
||||
);
|
||||
|
||||
let query_result_num_success =
|
||||
let query_result_num_success: Family<_, _> =
|
||||
Family::new_with_constructor(|| Histogram::new(exponential_buckets(1.0, 2.0, 10)));
|
||||
sub_registry.register(
|
||||
"query_result_num_success",
|
||||
@ -106,7 +106,7 @@ impl Metrics {
|
||||
Box::new(query_result_num_success.clone()),
|
||||
);
|
||||
|
||||
let query_result_num_failure =
|
||||
let query_result_num_failure: Family<_, _> =
|
||||
Family::new_with_constructor(|| Histogram::new(exponential_buckets(1.0, 2.0, 10)));
|
||||
sub_registry.register(
|
||||
"query_result_num_failure",
|
||||
@ -114,7 +114,7 @@ impl Metrics {
|
||||
Box::new(query_result_num_failure.clone()),
|
||||
);
|
||||
|
||||
let query_result_duration =
|
||||
let query_result_duration: Family<_, _> =
|
||||
Family::new_with_constructor(|| Histogram::new(exponential_buckets(0.1, 2.0, 10)));
|
||||
sub_registry.register_with_unit(
|
||||
"query_result_duration",
|
||||
|
Reference in New Issue
Block a user