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
Copy file name to clipboardExpand all lines: README.md
+15-18Lines changed: 15 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,32 +18,29 @@ Any and all feedback is welcome. Happy Python visibility.
18
18
19
19
## Installation
20
20
21
-
For this BETA, we currently support tracing of Django and Flask applications. For Django, the process requires no code modification although the Flask alternative temporarily does. The post BETA objective is for full instrumentation without any code modifications required. This will be happening soon.
21
+
For this BETA, we currently support tracing of Django and Flask applications or optionally just runtime monitoring of your Python applications.
22
22
23
-
## Django Installation
23
+
`pip install instana` into the virtual-env or container ([hosted on pypi](https://pypi.python.org/pypi/instana))
24
24
25
-
There are two steps required to install the the Instana package for your applications:
25
+
## Django
26
26
27
-
1.`pip install instana` into the virtual-env or container ([hosted on pypi](https://pypi.python.org/pypi/instana))
27
+
To enable the Django instrumentation, set the following environment variable in your _application boot environment_ and then restart your application:
28
28
29
-
2. Enable instrumentation for the frameworks in use by setting an environment variable:
30
-
`AUTOWRAPT_BOOTSTRAP=instana.django`
29
+
`export AUTOWRAPT_BOOTSTRAP=django`
31
30
32
-
## Flask Installation
31
+
## Flask
33
32
34
-
There are two steps required to install the the Instana package for your applications:
33
+
To enable the Django instrumentation, set the following environment variable in your _application boot environment_ and then restart your application:
35
34
36
-
1.`pip install instana` into the virtual-env or container ([hosted on pypi](https://pypi.python.org/pypi/instana))
35
+
`export AUTOWRAPT_BOOTSTRAP=flask`
37
36
38
-
2. Add the WSGI middleware to your Flask application:
_Note: When the Django or Flask instrumentation is used, runtime monitoring is automatically included. Use this section if you only want to see runtime metrics._
40
+
41
+
To enable runtime monitoring (without request tracing), set the following environment variable in your _application boot environment_ and then restart your application:
0 commit comments