Skip to content

Commit 998b580

Browse files
committed
Add debug handler for request
Signed-off-by: alex-ak1 <alex_ak1@mail.ru>
1 parent c17f4ff commit 998b580

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

prometheus_client/exposition.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ class _PrintHandler(WSGIRequestHandler):
146146
def log_message(self, format, *args):
147147
print(format % args)
148148

149+
149150
class ThreadingWSGIServer(ThreadingMixIn, WSGIServer):
150151
"""Thread per request HTTP server."""
151152
# Make worker threads "fire and forget". Beginning with Python 3.7 this

0 commit comments

Comments
 (0)