21 releases (13 major breaking)
16.0.0 | Feb 26, 2024 |
---|---|
15.0.0 | Feb 13, 2024 |
14.0.0 | Jan 23, 2024 |
13.0.0 | Dec 12, 2023 |
0.0.0 | Nov 21, 2022 |
#636 in Magic Beans
6,829 downloads per month
Used in 125 crates
(21 directly)
275KB
6K
SLoC
Utilities Primitives for Substrate
This crate provides mpsc::tracing_unbounded
function that returns wrapper types to
async_channel::Sender<T>
and async_channel::Receiver<T>
, which register every
send
/received
/dropped
action happened on the channel.
Also this wrapper creates and registers a prometheus vector with name unbounded_channel_len
and labels:
Label | Description |
---|---|
entity | Name of channel passed to tracing_unbounded |
action | One of send /received /dropped |
License: Apache-2.0
lib.rs
:
Utilities Primitives for Substrate
This crate provides mpsc::tracing_unbounded
function that returns wrapper types to
async_channel::Sender<T>
and async_channel::Receiver<T>
, which register every
send
/received
/dropped
action happened on the channel.
Also this wrapper creates and registers a prometheus vector with name unbounded_channel_len
and labels:
Label | Description |
---|---|
entity | Name of channel passed to tracing_unbounded |
action | One of send /received /dropped |
Dependencies
~6–14MB
~132K SLoC