def start_wsgi_server(port, addr='<STR_LIT>', registry=REGISTRY):
app = make_wsgi_app(registry)<EOL>httpd = make_server(addr, port, app, handler_class=_SilentHandler)<EOL>t = threading.Thread(target=httpd.serve_forever)<EOL>t.daemon = True<EOL>t.start()<EOL>
Starts a WSGI server for prometheus metrics as a daemon thread.