mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 06:21:11 +00:00
Expose the telemetry external transport in the config (#2939)
* Expose the telemetry external transport in the config * Fix tests
This commit is contained in:
committed by
Bastian Köcher
parent
8b89c7ae62
commit
db71e0cc48
@@ -421,7 +421,7 @@ impl<Components: components::Components> Service<Components> {
|
||||
let telemetry_connection_sinks_ = telemetry_connection_sinks.clone();
|
||||
let telemetry = tel::init_telemetry(tel::TelemetryConfig {
|
||||
endpoints,
|
||||
wasm_external_transport: None,
|
||||
wasm_external_transport: config.telemetry_external_transport.take(),
|
||||
});
|
||||
let future = telemetry.clone()
|
||||
.for_each(move |event| {
|
||||
|
||||
Reference in New Issue
Block a user