22 个版本 (14 个主要版本)
| 17.0.0 | 2024年4月8日 |
|---|---|
| 16.0.0 | 2024年2月26日 |
| 15.0.0 | 2024年2月13日 |
| 14.0.0 | 2024年1月23日 |
| 0.0.0 | 2022年11月21日 |
#736 in 魔法豆
7,440 每月下载量
用于 131 个crate(23 个直接使用)
280KB
6K SLoC
Substrate 的实用工具原语
此crate提供 mpsc::tracing_unbounded 函数,它返回包装类型到 async_channel::Sender<T> 和 async_channel::Receiver<T>,它注册了在通道上发生的每个 send/received/dropped 操作。
此外,此包装器创建并注册了一个名为 unbounded_channel_len 的 prometheus 向量及其标签
| 标签 | 描述 |
|---|---|
| entity | 传递给 tracing_unbounded 的通道名称 |
| action | send/received/dropped 之一 |
许可证:Apache-2.0
lib.rs:
Substrate 的实用工具原语
此crate提供 mpsc::tracing_unbounded 函数,它返回包装类型到 async_channel::Sender<T> 和 async_channel::Receiver<T>,它注册了在通道上发生的每个 send/received/dropped 操作。
此外,此包装器创建并注册了一个名为 unbounded_channel_len 的 prometheus 向量及其标签
| 标签 | 描述 |
|---|---|
| entity | 传递给 tracing_unbounded 的通道名称 |
| action | send/received/dropped 之一 |
依赖关系
~7–17MB
~221K SLoC