reducing telemetry timeout

This commit is contained in:
João Moura
2024-02-23 16:02:24 -03:00
parent 12d6fa1494
commit 51edfb4604

View File

@@ -46,7 +46,7 @@ class Telemetry:
)
self.provider = TracerProvider(resource=self.resource)
processor = BatchSpanProcessor(
OTLPSpanExporter(endpoint=f"{telemetry_endpoint}/v1/traces", timeout=30)
OTLPSpanExporter(endpoint=f"{telemetry_endpoint}/v1/traces", timeout=15)
)
self.provider.add_span_processor(processor)
self.ready = True