import sys
import signal
def quit(signum, frame):
print(’’)
print(‘stop fusion’)
sys.exit()
if name == “main”:
(“Starting mysql remote writing exporter bind to port number: 9105”)
start_http_server(9105)
#signal.signal(signal.SIGINT, quit)
#signal.signal(signal.SIGTERM, quit)