추론 서버 원격 측정
Prometheus 메트릭과 Docker 컨테이너 통계를 사용해 자체 호스팅 Roboflow Inference 서버를 모니터링합니다.
마지막 업데이트
도움이 되었나요?
도움이 되었나요?
curl http://127.0.0.1:9001/metricsdocker run -p 9001:9001 \
-v /var/run/docker.sock:/var/run/docker.sock \
-e DOCKER_SOCKET_PATH=/var/run/docker.sock \
roboflow/roboflow-inference-server-cpucurl http://127.0.0.1:9001/device/statsimport requests
result = requests.get("http://127.0.0.1:9001/device/stats")
result.raise_for_status()
print(result.json())