Python Brasil 2025

Observability in Python with Pydantic Logfire
25/10/2025 , Intermediária

Join Laís to learn best practices on how to instrument observability on your Python application using Pydantic Logfire. Come watch my code fail on stage!


Debugging has evolved far beyond print statements and breakpoints. In this session, we'll explore how modern observability practices are revolutionising the way Python developers understand and troubleshoot their applications.

We'll trace the evolution of debugging tools and discover how logs, traces, and metrics, known as the three pillars of observability are essential for identifying and resolving issues.

In this talk, you will learn how spans compose into traces, how structured logs provide context, and how metrics reveal hidden patterns in your application's behaviour.
Through a live demo, I'll show you how to instrument a FastAPI Python application with Pydantic Logfire, a powerful observability platform built on OpenTelemetry. You will see practical examples of adding observability to your APIs and how it transforms your debugging experience.

The session concludes with an interactive quiz where you can test your knowledge and win prizes!

What You'll Learn:
* The evolution from traditional debugging to modern observability
* How logs, traces, spans, and metrics form the foundation of observable systems
* Practical instrumentation techniques with Pydantic Logfire and FastAPI

Join me for a deep dive into Python observability that will change how you debug applications!


Quais conhecimentos prévios são necessários para que seja possível acompanhar bem a sua atividade?:

Participants should have basic knowledge of a python project (structure and dependencies), I will also explain the structure of a log so it is important to know about logging beforehand.

O que as pessoas que participarem podem esperar aprender na sua atividade?:

What You'll Learn:
* The evolution from traditional debugging to modern observability
* How logs, traces, spans, and metrics form the foundation of observable systems
* {demo} Practical instrumentation techniques with Pydantic Logfire and FastAPI
* Quiz to test your knowledge

Escolha uma ou mais áreas em que essa proposta se encaixa:

Machine Learning and Artificial Intelligence, Web Development, Software Architecture

Laís is a EuroPython Society Fellow and recipient of the 2025 PSF Community Service Award. As a developer obsessed about monitoring, she combines technical depth with community-first philosophy.