Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,14 @@ To enable the Flask instrumentation, set the following environment variable in y

`export AUTOWRAPT_BOOTSTRAP=flask`

## Runtime Monitoring Only

_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._

To enable runtime monitoring (without request tracing), set the following environment variable in your _application boot environment_ and then restart your application:

`export AUTOWRAPT_BOOTSTRAP=runtime`

## uWSGI

### Threads
Expand Down
5 changes: 0 additions & 5 deletions instana/runtime.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import opentracing as ot
from instana import tracer, options
import os


Expand All @@ -10,6 +8,3 @@ def hook(module):
print("==========================================================")
print("Instana: Running runtime hook")
print("==========================================================")

opts = options.Options()
ot.tracer = tracer.InstanaTracer(opts)