Skip to content

Commit

Permalink
Add debug handler for request
Browse files Browse the repository at this point in the history
Signed-off-by: alex-ak1 <[email protected]>
  • Loading branch information
alex-ak1 committed Jul 26, 2024
1 parent c17f4ff commit 998b580
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions prometheus_client/exposition.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ class _PrintHandler(WSGIRequestHandler):
def log_message(self, format, *args):
print(format % args)


class ThreadingWSGIServer(ThreadingMixIn, WSGIServer):
"""Thread per request HTTP server."""
# Make worker threads "fire and forget". Beginning with Python 3.7 this
Expand Down

0 comments on commit 998b580

Please sign in to comment.