Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Starting in debug mode #4

Open
subokita opened this issue Jul 29, 2017 · 0 comments
Open

Starting in debug mode #4

subokita opened this issue Jul 29, 2017 · 0 comments

Comments

@subokita
Copy link

In my own version of Prometheus monitoring service, I added

@app.before_first_request
        def initialize():
            start_http_server(port, addr)

to start the http server before the first request.
But the server will only be started after first web request though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant