You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to debug why Prometheus isn't pulling metrics from my client. Is there some way I can get this library to log each incoming http request, including the IP of the request?
Ideally it would be something like start_http_server(log_level="debug"), and then each request will be printed to stdout.
The text was updated successfully, but these errors were encountered:
That is not available today, I am not sure how I feel about the feature as a whole. I guess it would depend on the added complexity as we try to keep start_http_server very minimal. It should be pretty easy to create your own http server that has logging how you want it and use something like make_wsgi_app from this library to serve the results though?
Usually there is information in the Prometheus server for if you are not seeing metrics as well, either looking in Status > Targets, or enabling debug logging on the Prometheus server.
I'm trying to debug why Prometheus isn't pulling metrics from my client. Is there some way I can get this library to log each incoming http request, including the IP of the request?
Ideally it would be something like start_http_server(log_level="debug"), and then each request will be printed to stdout.
The text was updated successfully, but these errors were encountered: