github pydantic/logfire v0.50.0

latest releases: v4.32.1, v4.32.0, v4.31.2...
20 months ago

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

Don't miss a new logfire release

NewReleases is sending notifications on new releases.