Skip to content
Snippets Groups Projects
Commit 4d661ec0 authored by Paul "LeoNerd" Evans's avatar Paul "LeoNerd" Evans
Browse files

Remember to emit final linefeed from /metrics page, or Prometheus gets upset

parent 0e847540
No related branches found
No related tags found
No related merge requests found
......@@ -105,6 +105,8 @@ def render_all():
strs += ["# FAILED to render %s" % name]
logger.exception("Failed to render %s metric", name)
strs.append("") # to generate a final CRLF
return "\n".join(strs)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment