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
The sensor tries to communicate with the Instana agent via IP 127.0.0.1 and as a fallback via the host's default gateway for containerized environments. Should the agent not be available under either of these IPs, e.g. due to iptables or other networking tricks, you can use environment variables to configure where the Instana host agent lives.
6
+
7
+
To use these, these environment variables should be set in the environment of the running Python process.
8
+
9
+
```shell
10
+
export INSTANA_AGENT_IP = '127.0.0.1'
11
+
export INSTANA_AGENT_PORT = '42699'
12
+
```
13
+
14
+
## Debugging & More Verbosity
15
+
16
+
Setting `INSTANA_DEV` to a non nil value will enable extra logging output generally useful
Copy file name to clipboardExpand all lines: README.md
+20-10Lines changed: 20 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,14 +35,6 @@ To enable the Flask instrumentation, set the following environment variable in y
35
35
36
36
`export AUTOWRAPT_BOOTSTRAP=flask`
37
37
38
-
## Runtime Monitoring Only
39
-
40
-
_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._
41
-
42
-
To enable runtime monitoring (without request tracing), set the following environment variable in your _application boot environment_ and then restart your application:
43
-
44
-
`export AUTOWRAPT_BOOTSTRAP=runtime`
45
-
46
38
## uWSGI
47
39
48
40
### Threads
@@ -57,9 +49,27 @@ If you use uWSGI in forking workers mode, you must specify `--lazy-apps` (or `la
57
49
58
50
The instana package will automatically collect key metrics from your Python processes. Just install and go.
59
51
60
-
## Tracing
52
+
## OpenTracing
53
+
54
+
This Python package supports [OpenTracing](http://opentracing.io/). When using this package, the OpenTracing tracer (`opentracing.tracer`) is automatically set to the `InstanaTracer`.
0 commit comments