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
+10-6Lines changed: 10 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,9 +15,13 @@ Any feedback is welcome. Happy Python visibility.
15
15
16
16
## Installation
17
17
18
-
Instana remotely instruments your Python web servers automatically via [Instana AutoTrace™️]. To configure which Python processes this applies to, see the [configuration page].
18
+
You can use automatic installation or manual installation as described in the following sections:
19
19
20
-
## Manual Installation
20
+
### Automatic installation
21
+
22
+
Instana remotely instruments your Python applications automatically by [Instana AutoTrace webhook] in Kubernetes and Red Hat OpenShift clusters. However, if you prefer to install the package manually, see [Manual Installation](#manual-installation) as follows.
23
+
24
+
### Manual Installation
21
25
22
26
If you wish to instrument your applications manually, you can install the package with the following into the `virtualenv`, `pipenv`, or container (hosted on [PyPI]):
23
27
@@ -27,15 +31,15 @@ or to alternatively update an existing installation:
27
31
28
32
pip install -U instana
29
33
30
-
### Activating Without Code Changes
34
+
####Activating Without Code Changes
31
35
32
36
The Instana package can then be activated _without any code changes required_ by setting the following environment variable for your Python application:
33
37
34
38
export AUTOWRAPT_BOOTSTRAP=instana
35
39
36
40
This will cause the Instana Python package to instrument your Python application automatically. Once it finds the Instana host agent, it will report Python metrics and distributed traces.
37
41
38
-
### Activating via Import
42
+
####Activating With Code Changes
39
43
40
44
Alternatively, if you prefer the manual method, import the `instana` package inside of your Python application:
41
45
@@ -57,11 +61,11 @@ Want to instrument other languages? See our [Node.js], [Go], [Ruby] instrumenta
0 commit comments