Skip to content

Commit 021df58

Browse files
committed
Report spans every 1 second
1 parent 0c104f9 commit 021df58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

instana/recorder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def report_spans(self):
3333
if self.sensor.agent.can_send() and self.queue.qsize:
3434
url = self.sensor.agent.make_url(a.AGENT_TRACES_URL)
3535
self.sensor.agent.request(url, "POST", self.queued_spans())
36-
time.sleep(2)
36+
time.sleep(1)
3737

3838
def queue_size(self):
3939
""" Return the size of the queue; how may spans are queued, """

0 commit comments

Comments
 (0)