mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-30 18:21: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:
@ -73,10 +73,10 @@ instant = "0.1.11" # Explicit dependency to be used in `wasm-bindgen` feature
|
||||
lazy_static = "1.2"
|
||||
libp2p-core = { version = "0.30.0", path = "core", default-features = false }
|
||||
libp2p-floodsub = { version = "0.32.0", path = "protocols/floodsub", optional = true }
|
||||
libp2p-gossipsub = { version = "0.34.0", path = "./protocols/gossipsub", optional = true }
|
||||
libp2p-gossipsub = { version = "0.35.0", path = "./protocols/gossipsub", optional = true }
|
||||
libp2p-identify = { version = "0.32.0", path = "protocols/identify", optional = true }
|
||||
libp2p-kad = { version = "0.33.0", path = "protocols/kad", optional = true }
|
||||
libp2p-metrics = { version = "0.2.0", path = "misc/metrics", optional = true }
|
||||
libp2p-metrics = { version = "0.3.0", path = "misc/metrics", optional = true }
|
||||
libp2p-mplex = { version = "0.30.1", path = "muxers/mplex", optional = true }
|
||||
libp2p-noise = { version = "0.33.0", path = "transports/noise", optional = true }
|
||||
libp2p-ping = { version = "0.32.0", path = "protocols/ping", optional = true }
|
||||
|
@ -1,3 +1,7 @@
|
||||
# 0.3.0 [unreleased]
|
||||
|
||||
- Update dependencies.
|
||||
|
||||
# 0.2.0 [2021-11-16]
|
||||
|
||||
- Include gossipsub metrics (see [PR 2316]).
|
||||
|
@ -2,7 +2,7 @@
|
||||
name = "libp2p-metrics"
|
||||
edition = "2018"
|
||||
description = "Metrics for libp2p"
|
||||
version = "0.2.0"
|
||||
version = "0.3.0"
|
||||
authors = ["Max Inden <mail@max-inden.de>"]
|
||||
license = "MIT"
|
||||
repository = "https://github.com/libp2p/rust-libp2p"
|
||||
@ -17,12 +17,12 @@ ping = ["libp2p-ping"]
|
||||
|
||||
[dependencies]
|
||||
libp2p-core = { version = "0.30.0", path = "../../core" }
|
||||
libp2p-gossipsub = { version = "0.34.0", path = "../../protocols/gossipsub", optional = true }
|
||||
libp2p-gossipsub = { version = "0.35.0", path = "../../protocols/gossipsub", optional = true }
|
||||
libp2p-identify = { version = "0.32.0", path = "../../protocols/identify", optional = true }
|
||||
libp2p-kad = { version = "0.33.0", path = "../../protocols/kad", optional = true }
|
||||
libp2p-ping = { version = "0.32.0", path = "../../protocols/ping", optional = true }
|
||||
libp2p-swarm = { version = "0.32.0", path = "../../swarm" }
|
||||
open-metrics-client = "0.12.0"
|
||||
open-metrics-client = "0.13.0"
|
||||
|
||||
[dev-dependencies]
|
||||
env_logger = "0.8.1"
|
||||
|
@ -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",
|
||||
|
@ -1,3 +1,7 @@
|
||||
# 0.35.0 [unreleased]
|
||||
|
||||
- Update dependencies.
|
||||
|
||||
# 0.34.0 [2021-11-16]
|
||||
|
||||
- Add topic and mesh metrics (see [PR 2316]).
|
||||
|
@ -2,7 +2,7 @@
|
||||
name = "libp2p-gossipsub"
|
||||
edition = "2018"
|
||||
description = "Gossipsub protocol for libp2p"
|
||||
version = "0.34.0"
|
||||
version = "0.35.0"
|
||||
authors = ["Age Manning <Age@AgeManning.com>"]
|
||||
license = "MIT"
|
||||
repository = "https://github.com/libp2p/rust-libp2p"
|
||||
@ -30,7 +30,7 @@ futures-timer = "3.0.2"
|
||||
pin-project = "1.0.8"
|
||||
instant = "0.1.11"
|
||||
# Metrics dependencies
|
||||
open-metrics-client = "0.12"
|
||||
open-metrics-client = "0.13"
|
||||
|
||||
[dev-dependencies]
|
||||
async-std = "1.6.3"
|
||||
|
Reference in New Issue
Block a user