mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-23 06:41:34 +00:00
misc/metrics: Add auxiliary crate to record events as OpenMetrics (#2063)
This commit adds an auxiliary crate recording protocol and Swarm events and exposing them as metrics in the OpenMetrics format.
This commit is contained in:
@ -76,6 +76,10 @@ pub use libp2p_kad as kad;
|
||||
#[cfg(not(any(target_os = "emscripten", target_os = "wasi", target_os = "unknown")))]
|
||||
#[doc(inline)]
|
||||
pub use libp2p_mdns as mdns;
|
||||
#[cfg(feature = "metrics")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "metrics")))]
|
||||
#[doc(inline)]
|
||||
pub use libp2p_metrics as metrics;
|
||||
#[cfg(feature = "mplex")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "mplex")))]
|
||||
#[doc(inline)]
|
||||
|
Reference in New Issue
Block a user