Skip to content

Commit e8af8e8

Browse files
authored
Add note re: uwsgi and threading
1 parent f1aacd2 commit e8af8e8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ _Note: When the Django or Flask instrumentation is used, runtime monitoring is a
4545
To enable runtime monitoring (without request tracing), set the following environment variable in your _application boot environment_ and then restart your application:
4646

4747
`export AUTOWRAPT_BOOTSTRAP=runtime`
48+
49+
## UWSGI
50+
51+
This Python instrumentation spawns a lightweight background thread to periodically collect and report process metrics. By default, the GIL and threading is disabled under `uwsgi`. If you wish to instrument your application running under UWSGI, make sure that you enable threads by passing `--enable-thread` (or `enable-threads = true` in ini style). More details in the [uwsgi documentation](https://uwsgi-docs.readthedocs.io/en/latest/WSGIquickstart.html#a-note-on-python-threads).
4852

4953
## Usage
5054

0 commit comments

Comments
 (0)