Skip to content

Commit 9610af0

Browse files
committed
Space out example span generation
1 parent a868e9a commit 9610af0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

example/simple.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ def main(argv):
1313
log_level=logging.DEBUG))
1414

1515
while (True):
16+
time.sleep(2)
1617
simple()
1718

1819
def simple():
@@ -33,10 +34,10 @@ def simple():
3334
child_span.set_tag(ext.HTTP_STATUS_CODE, 204)
3435
child_span.set_baggage_item("someBaggage", "someValue")
3536

36-
time.sleep(.45)
37+
time.sleep(.1)
3738
child_span.finish()
3839

39-
time.sleep(.55)
40+
time.sleep(.2)
4041
parent_span.finish()
4142

4243
if __name__ == "__main__":

0 commit comments

Comments
 (0)