We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7179981 commit 4274b35Copy full SHA for 4274b35
src/server.rs
@@ -384,6 +384,7 @@ async fn handler(
384
let response = match segments[..] {
385
["metrics"] => Response::builder()
386
.status(StatusCode::OK)
387
+ .header(hyper::header::CONTENT_TYPE, "text/plain; version=0.0.4; charset=utf-8")
388
.body(Body::from(metrics.render()))
389
.unwrap(),
390
["shard-count"] => {
0 commit comments