Files
pezkuwi-subxt/substrate/client/utils
Vivek Pandya bc53b9a03a Remove years from copyright notes. (#13415)
* Change copyright year to 2023 from 2022

* Fix incorrect update of copyright year

* Remove years from copy right header

* Fix remaining files

* Fix typo in a header and remove update-copyright.sh
2023-02-21 18:46:41 +00:00
..
2021-09-04 19:20:48 +00:00

Utilities Primitives for Substrate

Features

metered

This feature changes the behaviour of the function mpsc::tracing_unbounded. With the disabled feature this function is an alias to futures::channel::mpsc::unbounded. However, when the feature is enabled it creates wrapper types to UnboundedSender<T> and UnboundedReceiver<T> to register every send/received/dropped action happened on the channel.

Also this feature 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