I wrote a tutorial on integrating DBOS with Logfire. It's super easy to set up (kudos to the Pydantic team!) -> just a few lines to configure the exporter and your Logfire write token. Once it's running, you'll get a unified view of your app with logs + traces in one place. Bonus: using DBOS durable agent integration, you can correlate Pydantic AI agent traces (e.g., token usage) and DBOS workflow execution in the same view.
Real-time token usage is a great metric to expose in the logs! Great work!
This is awesome!
Just stood up my new side project using DBOS + PydanticAI! Following your tutorial will be next on my list 🙏
so great!
Co-founder, Architect @DBOS, Inc. | Stanford CS Ph.D. | Co-organizer of South Bay Systems
3wCheck it out here: https://docs.dbos.dev/integrations/logfire