Skip to content

Commit dce8e1c

Browse files
authored
Add note on lazy apps.
1 parent 06c28bc commit dce8e1c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,14 @@ To enable runtime monitoring (without request tracing), set the following enviro
4848

4949
## uWSGI
5050

51+
### Threads
52+
5153
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).
5254

55+
### Forking off Workers
56+
57+
If you use uWSGI in forking workers mode, you must specify `--lazy-apps` to load the application in the worker instead of the master process.
58+
5359
## Usage
5460

5561
The instana package will automatically collect key metrics from your Python processes. Just install and go.

0 commit comments

Comments
 (0)