Skip to content
This repository has been archived by the owner on Jul 11, 2022. It is now read-only.

Commit

Permalink
Fix child_span example in README.md (#286)
Browse files Browse the repository at this point in the history
Signed-off-by: Sean Knight <git@seanknight.com>
  • Loading branch information
SeanKnight authored Aug 26, 2020
1 parent d56ae34 commit 7984b28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ if __name__ == "__main__":
span.log_kv({'event': 'test message', 'life': 42})

with tracer.start_span('ChildSpan', child_of=span) as child_span:
span.log_kv({'event': 'down below'})
child_span.log_kv({'event': 'down below'})

time.sleep(2) # yield to IOLoop to flush the spans - https://github.com/jaegertracing/jaeger-client-python/issues/50
tracer.close() # flush any buffered spans
Expand Down

0 comments on commit 7984b28

Please sign in to comment.