20 releases (6 major breaking)
|new 8.0.0||Mar 26, 2023|
|7.0.0||Feb 26, 2023|
|6.0.0||Jan 9, 2023|
|5.0.0||Dec 19, 2022|
|2.0.0-alpha.5||Mar 24, 2020|
#1095 in Magic Beans
3,488 downloads per month
Used in 42 crates (12 directly)
Substrate's client telemetry is a part of substrate that allows ingesting telemetry data with for example Polkadot telemetry.
It works using Tokio's tracing library. The telemetry
information uses tracing's logging to report the telemetry data which is then retrieved by a
Layer. This layer will then send the data through an asynchronous channel to a
background task called [
TelemetryWorker] which will send the information to the configured
remote telemetry servers.
If multiple substrate nodes are running in the same process, it uses a
identify which substrate node is reporting the telemetry. Every task spawned using sc-service's
TaskManager automatically inherit this span.
Substrate's nodes initialize/register with the [
TelemetryWorker] using a [
This handle can be cloned and passed around. It uses an asynchronous channel to communicate with
the running [
TelemetryWorker] dedicated to registration. Registering can happen at any point
in time during the process execution.
License: GPL-3.0-or-later WITH Classpath-exception-2.0