Expose the telemetry external transport in the config (#2939)

* Expose the telemetry external transport in the config

* Fix tests
This commit is contained in:
Pierre Krieger
2019-06-26 09:05:49 +02:00
committed by Bastian Köcher
parent 8b89c7ae62
commit db71e0cc48
4 changed files with 8 additions and 2 deletions
+1 -1
View File
@@ -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| {