ML Commons Stats API
출처: 문서
본문
ML Commons Stats API
Stats API는 실행 중인 작업 수 같은 ML Commons에 대한 기본 통계를 제공해요. 더 자세한 시계열 메트릭으로 머신 러닝 워크플로를 모니터링하려면 머신 러닝 워크플로 모니터링하기 문서를 참고하세요. {: .note }
작업 수와 관련된 통계를 가져와요.
엔드포인트
GET /_plugins/_ml/stats
GET /_plugins/_ml/stats/{stat}
GET /_plugins/_ml/{nodeId}/stats/
GET /_plugins/_ml/{nodeId}/stats/{stat}
예제 요청: 모든 노드의 전체 통계 가져오기
GET /_plugins/_ml/stats
{% include copy-curl.html %}
예제 응답
{
"zbduvgCCSOeu6cfbQhTpnQ" : {
"ml_executing_task_count" : 0
},
"54xOe0w8Qjyze00UuLDfdA" : {
"ml_executing_task_count" : 0
},
"UJiykI7bTKiCpR-rqLYHyw" : {
"ml_executing_task_count" : 0
},
"zj2_NgIbTP-StNlGZJlxdg" : {
"ml_executing_task_count" : 0
},
"jjqFrlW7QWmni1tRnb_7Dg" : {
"ml_executing_task_count" : 0
},
"3pSSjl5PSVqzv5-hBdFqyA" : {
"ml_executing_task_count" : 0
},
"A_IiqoloTDK01uZvCjREaA" : {
"ml_executing_task_count" : 0
}
}
예제 요청: 특정 노드의 전체 통계 가져오기
GET /_plugins/_ml/{nodeId}/stats/
{% include copy-curl.html %}
예제 요청: 특정 노드의 지정된 통계 가져오기
GET /_plugins/_ml/{nodeId}/stats/{stat}
{% include copy-curl.html %}
예제 요청: 모든 노드의 지정된 통계 가져오기
GET /_plugins/_ml/stats/{stat}
{% include copy-curl.html %}