Added tracer close
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Pünkösd Marcell 2021-07-30 17:09:57 +02:00
parent 1acdd6d21c
commit c5500012ce

View File

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