We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b634ae commit fc35b17Copy full SHA for fc35b17
gdbinit
@@ -0,0 +1,4 @@
1
+call PyGILState_Ensure()
2
+call PyRun_SimpleString("import sys; sys.path.insert(0, '/tmp/instana/python');")
3
+call PyRun_SimpleString("exec(open(\"/tmp/instana/python/python-sensor/instana/probe.py\").read())")
4
+call PyGILState_Release($1)
instana/probe.py
@@ -0,0 +1,13 @@
+import opentracing as ot
+from instana import tracer, options
+
+# This file is the hook for autoinstrumenation.
5
+# Here, we should:
6
+# 1. Make sure instana sensor is not already active in the process
7
+# 2. Activate properly
8
+# a. Runtime metrics
9
+# b. Detect and instrument framework
10
+# c. Detect and instrument any libraries
11
12
+opts = options.Options()
13
+ot.global_tracer = tracer.InstanaTracer(opts)
0 commit comments