24 releases (stable)

18.0.1 Apr 3, 2025
18.0.0 Jan 7, 2025
17.0.0 Apr 8, 2024
16.0.0 Feb 26, 2024
0.0.0 Nov 21, 2022

#93 in #polkadot

Download history 4507/week @ 2025-01-11 4533/week @ 2025-01-18 4216/week @ 2025-01-25 3507/week @ 2025-02-01 4174/week @ 2025-02-08 4103/week @ 2025-02-15 4123/week @ 2025-02-22 3603/week @ 2025-03-01 4258/week @ 2025-03-08 3933/week @ 2025-03-15 4165/week @ 2025-03-22 4460/week @ 2025-03-29 4724/week @ 2025-04-05 4559/week @ 2025-04-12 4701/week @ 2025-04-19 5234/week @ 2025-04-26

20,330 downloads per month
Used in 150 crates (21 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

Dependencies

~8–17MB
~229K SLoC