v0.50.0
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 toLOGFIRE_BASE_URL
. SettingOTEL_EXPORTER_OTLP_ENDPOINT
,OTEL_EXPORTER_OTLP_TRACES_ENDPOINT
, and/orOTEL_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 unlikeOTEL_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