pydantic / logfire

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

`logfire.configure()` makes a blocking HTTP request #247

Closed alexmojaki closed 5 days ago

alexmojaki commented 2 weeks ago

logfire.configure(token='...') makes a request to /v1/info. This should happen on a separate thread. See e.g. https://pydanticlogfire.slack.com/archives/C06EDRBSAH3/p1717655660357799?thread_ts=1717642232.650849&cid=C06EDRBSAH3 complaining about startup time (although this may not be the reason for that).