Releases: pydantic/logfire
Releases · pydantic/logfire
v0.55.0
What's Changed
- Replace
pydantic_plugininlogfire.configure()withlogfire.instrument_pydantic()by @alexmojaki in #453 - Keep
METRICS_PREFERRED_TEMPORALITYprivate by @alexmojaki in #456 - Use
SeededRandomIdGeneratorby default to prevent interference fromrandom.seedby @alexmojaki in #457
Full Changelog: v0.54.0...v0.55.0
v0.54.0
What's Changed
- Major changes in
logfire.configure():- Remove
show_summaryandfast_shutdownby @alexmojaki in #431 - Move
base_url,id_generator, andns_timestamp_generatorparameters intoadvanced: AdvancedOptionsby @alexmojaki in #432 - Add
metricsparameter by @alexmojaki in #444
- Remove
- Remove default
min_durationforinstall_auto_tracingby @alexmojaki in #446
Full Changelog: v0.53.0...v0.54.0
v0.53.0
What's Changed
- Tail sampling by @alexmojaki in #407
- Use OTEL scopes better, especially instead of tags by @alexmojaki in #420
- Deprecate
project_nameinlogfire.configure(), remove old kwargs from signature by @alexmojaki in #428 - Fix websocket span messages by @alexmojaki in #426
- Remove warning about attribute/variable name conflicts in f-string magic by @alexmojaki in #418
- Add uv installation instructions to docs by @montasaurus in #424
New Contributors
- @montasaurus made their first contribution in #424
Full Changelog: v0.52.0...v0.53.0
v0.52.0
What's Changed
- Handle FastAPI update with SolvedDependencies by @alexmojaki in #415
- Add experimental client for the Logfire Query API by @dmontagu in #405
- Remove
default_span_processorparameter fromconfigureby @alexmojaki in #400 - Remove
custom_scope_suffixparameter ofLogfire.logby @alexmojaki in #399 - Add missing
service_versionfield to_LogfireConfigDataso that it gets copied into subprocesses by @alexmojaki in #401
Full Changelog: v0.51.0...v0.52.0
v0.51.0
What's Changed
BREAKING CHANGES
- System metrics are no longer collected by default when the correct dependency is installed. Use
logfire.instrument_system_metrics()to enable system metrics collection. If you are simply using the old 'Basic System Metrics' dashboard, then no further code changes are required, but that dashboard will no longer work properly and you should create a new dashboard from the template named 'Basic System Metrics (Logfire)'. If you were using other collected metrics, see the documentation for how to collect those. By @alexmojaki in #373 - Stop collecting package versions by @alexmojaki in #387
- Don't auto-trace generators by @alexmojaki in #386
- Disable ASGI send/receive spans by default by @alexmojaki in #371
Other fixes
- Add py.typed file to logfire-api by @jackmpcollins in #379
- Check
LambdaRuntimeClientbefore logging tracebacks in_ensure_flush_after_aws_lambdaby @alexmojaki in #388
New Contributors
- @jackmpcollins made their first contribution in #379
Full Changelog: v0.50.1...v0.51.0
v0.50.1
What's Changed
- Move TestExporter to avoid requiring pytest by @alexmojaki in #368
Full Changelog: v0.50.0...v0.50.1
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_ENDPOINTis no longer just an alternative toLOGFIRE_BASE_URL. SettingOTEL_EXPORTER_OTLP_ENDPOINT,OTEL_EXPORTER_OTLP_TRACES_ENDPOINT, and/orOTEL_EXPORTER_OTLP_METRICS_ENDPOINTwill 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_ENDPOINTrequires authenticating with Logfire.- Pending spans are only sent to logfire-specific exporters.
- Add
capture_statementto Redis instrumentation by @Kludex in #355
Full Changelog: v0.49.1...v0.50.0
v0.49.1
v0.49.0
What's Changed
- Add the
logfire.instrument_mysql()by @aditkumar72 in #341 - Set OTEL status description when logging exceptions by @alexmojaki in #348
- Switch UpDownCounters to cumulative aggregation temporality by @alexmojaki in #347
- Log more info about internal errors by @alexmojaki in #346
New Contributors
- @aditkumar72 made their first contribution in #341
Full Changelog: v0.48.1...v0.49.0
v0.48.1
What's Changed
- Handle newer opentelemetry versions by @alexmojaki in #337
- More lenient handling of loguru message mismatch and better warnings by @alexmojaki in #338
- Add better type hints for HTTPX and AsyncPG by @Kludex in #342
- Handle
setuptoolschangingsys.pathfor importingpackaging.versionby @alexmojaki in #344
Full Changelog: v0.48.0...v0.48.1