22 releases (14 major breaking)

17.0.0 Apr 8, 2024
16.0.0 Feb 26, 2024
15.0.0 Feb 13, 2024
14.0.0 Jan 23, 2024
0.0.0 Nov 21, 2022

#8 in #runtimes

Download history 1504/week @ 2024-07-20 1809/week @ 2024-07-27 1925/week @ 2024-08-03 2314/week @ 2024-08-10 2796/week @ 2024-08-17 2400/week @ 2024-08-24 1311/week @ 2024-08-31 2254/week @ 2024-09-07 2382/week @ 2024-09-14 2862/week @ 2024-09-21 3354/week @ 2024-09-28 2401/week @ 2024-10-05 2643/week @ 2024-10-12 3741/week @ 2024-10-19 3200/week @ 2024-10-26 2696/week @ 2024-11-02

12,672 downloads per month
Used in 135 crates (23 directly)

Apache-2.0

280KB
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

~7–15MB
~201K SLoC