HomePostsProjects

Using logfire to instrument application

30-09-2025

  • https://logfire.pydantic.dev/docs/integrations/llms/litellm/#usage

Fastapi:

  • https://logfire.pydantic.dev/docs/integrations/web-frameworks/fastapi/#usage
  • exclude URLs
    • https://logfire.pydantic.dev/docs/integrations/web-frameworks/#using-opentelemetry
  • capture headers
    • https://logfire.pydantic.dev/docs/integrations/web-frameworks/#capturing-http-server-request-and-response-headers

Logging:

  • https://logfire.pydantic.dev/docs/integrations/logging/

Capturing requests:

  • https://github.com/pydantic/logfire/issues/1080

Code source:

  • https://logfire.pydantic.dev/docs/reference/api/logfire/?query=file+path#logfire.CodeSource

© 2025 Luke Miloszewski

Email AddressGitHubTwitter