forked from mtusi2026/mtusi2026lab7
Keep dependency defaults encrypted and bound secret-service failure retries
This commit is contained in:
@@ -156,7 +156,7 @@ class Telemetry:
|
||||
handler.setFormatter(JsonFormatter())
|
||||
root.addHandler(handler)
|
||||
if self.enabled:
|
||||
endpoint = os.getenv("OTEL_EXPORTER_OTLP_ENDPOINT", "http://collector:4318").rstrip("/")
|
||||
endpoint = os.getenv("OTEL_EXPORTER_OTLP_ENDPOINT", "https://collector:4318").rstrip("/")
|
||||
common = {"timeout": 1.0}
|
||||
# Standard OTLP environment variables also support HTTPS/mTLS in lab7.
|
||||
trace_provider = TracerProvider(
|
||||
|
||||
Reference in New Issue
Block a user