File tree Expand file tree Collapse file tree 2 files changed +0
-15
lines changed
ddtrace/contrib/sqlalchemy Expand file tree Collapse file tree 2 files changed +0
-15
lines changed Original file line number Diff line number Diff line change 1010 trace_engine(engine, tracer, "my-database")
1111
1212 engine.connect().execute("select count(*) from users")
13-
14- If you are using sqlalchemy in a gevent-ed environment, make sure to monkey patch
15- the `thread` module prior to importing the global tracer::
16-
17- from gevent import monkey; monkey.patch_thread() # or patch_all() if you prefer
18- from ddtrace import tracer
19-
20- # Add instrumentation to your engine as above
21- ...
2213"""
2314
2415
Original file line number Diff line number Diff line change @@ -148,12 +148,6 @@ Flask-cache
148148
149149.. automodule :: ddtrace.contrib.flask_cache
150150
151-
152- Gevent
153- ~~~~~~
154-
155- .. automodule :: ddtrace.contrib.gevent
156-
157151MongoDB
158152~~~~~~~
159153
You can’t perform that action at this time.
0 commit comments