sc-utils

Crates.iosc-utils
lib.rssc-utils
version20.0.0
created_at2022-11-21 10:41:46.420405+00
updated_at2025-08-01 11:48:03.045873+00
descriptionI/O for Substrate runtimes
homepagehttps://paritytech.github.io/polkadot-sdk/
repositoryhttps://github.com/paritytech/polkadot-sdk.git
max_upload_size
id720045
size76,210
Parity Crate Owner (parity-crate-owner)

documentation

README

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

Commit count: 19113

cargo fmt