Added tracer close
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Pünkösd Marcell 2021-07-30 17:09:57 +02:00
parent 1acdd6d21c
commit c5500012ce
1 changed files with 5 additions and 0 deletions

View File

@ -1,4 +1,6 @@
#!/usr/bin/env python3
import time
import jaeger_client
import opentracing
@ -89,6 +91,9 @@ def main():
logging.info("SIGINT Received! Stopping stuff...")
channel.stop_consuming()
time.sleep(2) # lol
opentracing.tracer.close()
if __name__ == '__main__':
main()