获取推理请求次数统计
功能介绍
获取推理服务开启后推理请求次数的统计信息。
URI
请求方式参考如下。
GET /metrics
响应参数与示例
返回收到的请求次数总数、推理服务创建时间、单秒内收到的请求次数和单秒内处理请求的时间,示例参考如下。
# HELP http_requests_total Total request cout of the host
# TYPE http_requests_total counter
http_requests_total{endpoint="/infer",method="get"} 13.0
# HELP http_requests_created Total request cout of the host
# TYPE http_requests_created gauge
http_requests_created{endpoint="/infer",method="get"} 1.6369808622964778e+09
# HELP request_processing_seconds Time spent processing request
# TYPE request_processing_seconds summary
request_processing_seconds_count 0.0
request_processing_seconds_sum 0.0
# HELP request_processing_seconds_created Time spent processing request
# TYPE request_processing_seconds_created gauge
request_processing_seconds_created 1.6369808298391838e+09
父主题: 推理服务API