You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The keyword arguments of `logfire.instrument_sqlalchemy()` are passed to the `SQLAlchemyInstrumentor().instrument()` method of the OpenTelemetry SQLAlchemy Instrumentation package, read more about it [here][opentelemetry-sqlalchemy].
28
43
44
+
!!! warning
45
+
It's best to use the `engine` or `engines` arguments. If no engine is specified, then `instrument_sqlalchemy` may
46
+
only work if it's called before `sqlalchemy` is imported, in which case all engines are instrumented.
47
+
29
48
!!! tip
30
49
If you use [SQLModel][sqlmodel], you can use the same `SQLAlchemyInstrumentor` to instrument it.
0 commit comments