pydantic / logfire

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

Allow passing OTEL kwargs through instrument_fastapi #205

Closed alexmojaki closed 1 month ago

alexmojaki commented 1 month ago

Similar to https://github.com/pydantic/logfire/issues/193: instrument_fastapi exists but it didn't accept all the arguments of OTEL and encouraged using OTEL directly if those arguments were needed. This changes that, along with some other small doc updates.

codecov[bot] commented 1 month ago

Codecov Report

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

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

cloudflare-pages[bot] commented 1 month ago

Deploying logfire-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: cfaa2eb
Status: âœ…  Deploy successful!
Preview URL: https://886a4acc.logfire-docs.pages.dev
Branch Preview URL: https://alex-fastapi-kwargs.logfire-docs.pages.dev

View logs