pydantic / logfire

Uncomplicated Observability for Python and beyond! 🪵🔥
https://docs.pydantic.dev/logfire/
MIT License
1.62k stars 46 forks source link

Improved handling of request errors when exporting #252

Closed alexmojaki closed 2 weeks ago

alexmojaki commented 2 weeks ago

Rather than relying on a fallback file which the user must manually pass to logfire backfill and likely can't even access, write to temporary files and automatically retry exporting on a separate thread.

Also prevent request errors from bubbling up to OTEL where it will log a big ugly traceback.

cloudflare-pages[bot] commented 2 weeks ago

Deploying logfire-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 73acca9
Status: âœ…  Deploy successful!
Preview URL: https://aece31b0.logfire-docs.pages.dev
Branch Preview URL: https://alex-disk-retrying.logfire-docs.pages.dev

View logs

codecov[bot] commented 2 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

:loudspeaker: Thoughts on this report? Let us know!