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
# this statement will be traced too (without a parent span, though)
39
39
with engine.begin() as conn:
40
40
sel = select([users])
41
41
conn.execute(sel)
42
42
43
+
It is also possible to have all engines being registered automatically (independently of the `trace_all_queries` flag, which can be enabled or disabled):
This is equivalent to calling `register_engine` with the `sqlalchemy.engine.Engine` class.
55
+
43
56
The resulting spans will have an operation name related to the sql statement (such as `create-table` or `insert`), and will include exception information (if any), the dialect/backend (such as sqlite), and a few other hints.
0 commit comments