We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b575935 commit 3935366Copy full SHA for 3935366
src/prometheus.rs
@@ -309,6 +309,7 @@ async fn prometheus_stats(
309
push_pool_stats(&mut lines);
310
push_server_stats(&mut lines);
311
push_database_stats(&mut lines);
312
+ lines.push("".to_string()); // Ensure to end the stats with a line terminator as required by the specification.
313
314
Response::builder()
315
.header("content-type", "text/plain; version=0.0.4")
0 commit comments