-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
logfire.instrument_*()
methods
#193
Comments
Remaining methods to add:
I'm not sure about the names of the last 5. It is important that they're methods of logfire objects rather than classes imported from logfire. It would be nice for everything to start with @Kludex I'm going to start working on the first 6, please do the other half. |
Is this done? @alexmojaki |
No because I did half and I asked you to do the other half. |
About the ASGI and WSGI, I'm not sure if it makes sense to create those methods. Maybe wrapping them, and providing a |
They need to be methods so that you can use them with different logfire objects that have different configs. We could maybe just call them |
The asgi and wsgi were merged. Do we need the logging ones as well here? |
nah |
e.g.
logfire.instrument_sqlalchemy()
instead offrom opentelemetry.instrumentation.sqlalchemy import SQLAlchemyInstrumentor; SQLAlchemyInstrumentor().instrument()
. Same for all integrations documented in https://docs.pydantic.dev/logfire/integrations/#opentelemetry-integrations.The text was updated successfully, but these errors were encountered: