Crates.io | tokio-prometheus-metered-channel |
lib.rs | tokio-prometheus-metered-channel |
version | 0.1.0 |
source | src |
created_at | 2024-11-29 18:41:09.887319 |
updated_at | 2024-11-29 18:41:09.887319 |
description | Metered tokio channels with Prometheus metrics integration |
homepage | |
repository | https://github.com/huitseeker/tokio-prometheus-metered-channel |
max_upload_size | |
id | 1465911 |
size | 51,755 |
Add the following to your Cargo.toml
:
tokio-prometheus-metered-channel = "0.1.0"
The metered bounded channel is a specialized threading utility designed to handle communication between threads with an upper limit on capacity while tracking the channel's occupancy through Prometheus metrics.