Skip to content

v0.50.0

Compare
Choose a tag to compare
@alexmojaki alexmojaki released this 06 Aug 13:50
· 236 commits to main since this release
b10f6e9

What's Changed

  • BREAKING CHANGES: Separate sending to Logfire from using standard OTEL environment variables by @alexmojaki in #351. See https://docs.pydantic.dev/logfire/guides/advanced/alternative_backends/ for details. Highlights:
    • OTEL_EXPORTER_OTLP_ENDPOINT is no longer just an alternative to LOGFIRE_BASE_URL. Setting OTEL_EXPORTER_OTLP_ENDPOINT, OTEL_EXPORTER_OTLP_TRACES_ENDPOINT, and/or OTEL_EXPORTER_OTLP_METRICS_ENDPOINT will set up appropriate exporters in addition to sending to Logfire, which must be turned off separately if desired. These are basic exporters relying on OTEL defaults. In particular they don't use our custom retrying logic.
    • LOGFIRE_BASE_URL / logfire.configure(base_url=...) is now only intended for actual alternative Logfire backends, which are currently only available to Logfire developers, and unlike OTEL_EXPORTER_OTLP_ENDPOINT requires authenticating with Logfire.
    • Pending spans are only sent to logfire-specific exporters.
  • Add capture_statement to Redis instrumentation by @Kludex in #355

Full Changelog: v0.49.1...v0.50.0