Build vortex telemetry client.
(service_endpoint_uri)
| 114 | |
| 115 | |
| 116 | def build_vortex_telemetry_client(service_endpoint_uri): |
| 117 | """ |
| 118 | Build vortex telemetry client. |
| 119 | """ |
| 120 | vortex_sender = VortexSynchronousSender(service_endpoint_uri) |
| 121 | sync_queue = SynchronousQueue(vortex_sender) |
| 122 | channel = VortexTelemetryChannel(None, queue=sync_queue) |
| 123 | |
| 124 | client = TelemetryClient(INSTRUMENTATION_KEY, channel) |
| 125 | |
| 126 | enable(INSTRUMENTATION_KEY) |
| 127 | return client |
| 128 | |
| 129 | |
| 130 | @decorators.suppress_all_exceptions(raise_in_diagnostics=True) |
no test coverage detected