Reducing telemetry timeout

This commit is contained in:
João Moura
2024-02-23 15:54:22 -03:00
parent 99a15ac2ae
commit 12d6fa1494

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