Skip to content

v0.5.1 — TLS log exporter

Choose a tag to compare

@chitrangpatel chitrangpatel released this 17 Jun 23:22
· 3 commits to main since this release

What's changed

Fix: OTLP log exporter now auto-detects TLS from endpoint scheme

configure_logging(otlp=True) previously hardcoded insecure=True on the OTLPLogExporter, making it impossible to ship logs to a TLS endpoint. The exporter now derives TLS mode from OTEL_EXPORTER_OTLP_ENDPOINT:

  • https://collector.example.com:443 → TLS (insecure=False)
  • http://localhost:4317 or bare host:port → plaintext (insecure=True)

This matches the behaviour of the trace exporter and is required when using setup() with a TLS herald endpoint (e.g. herald.chimefrb.xyz:443).

No API changes — fully backward compatible.