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 4a6367e commit 2a9faf3Copy full SHA for 2a9faf3
instana/recorder.py
@@ -6,6 +6,7 @@
6
import instana.span as sd
7
import Queue
8
import time
9
+import os
10
11
12
class InstanaRecorder(SpanRecorder):
@@ -60,7 +61,7 @@ def record_span(self, span):
60
61
Convert the passed BasicSpan into an InstanaSpan and
62
add it to the span queue
63
"""
- if self.sensor.agent.can_send():
64
+ if self.sensor.agent.can_send() or os.environ["INSTANA_TEST"]:
65
instana_span = None
66
67
if span.operation_name in self.registered_spans:
0 commit comments