Commit 0862b9a4 authored by Yannick's avatar Yannick
Browse files

simply, just always filter out 'healthz'

parent 24084755
Pipeline #83832 failed with stages
in 38 minutes and 52 seconds
......@@ -160,8 +160,6 @@ class TracingMiddleware(BaseHTTPMiddleware):
raise
finally:
status = response.status_code if response else HTTP_500_INTERNAL_SERVER_ERROR
if status > 299:
ctx.logger.error(utils.process_message(request, status))
elif not request.url.path.endswith('healthz'):
if not request.url.path.endswith('healthz'):
ctx.logger.info(utils.process_message(request, status))
self._after_request(request, response, tracer)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment