Skip to content

Commit 8e952d6

Browse files
committed
issues/1506: ensure Prometheus /metrics endpoint streams correctly with clean EOF
1 parent 5621e40 commit 8e952d6

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

contract-typespec/api/prometheus.tsp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,11 @@ interface PrometheusExposeApi {
1313
@get
1414
@summary("exposeAllMetrics")
1515
@operationId("exposeAllMetrics")
16-
// Return nothing (the controller handles the stream manually)
1716
exposeAllMetrics(): void;
1817

1918
@get
2019
@route("/{clusterName}")
2120
@summary("exposeClusterMetrics")
2221
@operationId("exposeClusterMetrics")
23-
// Also return nothing
2422
exposeClusterMetrics(@path clusterName: string): void;
2523
}

0 commit comments

Comments
 (0)