Reducing telemetry timeout

This commit is contained in:
João Moura
2024-02-23 15:54:22 -03:00
parent b630b60ed0
commit 68b8f0ec66

View File

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