Skip to content

Commit 56bcac4

Browse files
sarabala1979ab93
authored andcommitted
Enable custom metrics
Signed-off-by: Saravanan Balasubramanian <[email protected]>
1 parent e7063e9 commit 56bcac4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

numaprom/metrics/metrics.py

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import time
2+
3+
from prometheus_client import start_http_server
4+
5+
def start_metrics_server(port):
6+
start_http_server(port)

0 commit comments

Comments
 (0)