시스템 사용율 모니터링 기능 테스트 #161
@@ -5,6 +5,7 @@ services:
|
|||||||
dockerfile: Dockerfile-dev
|
dockerfile: Dockerfile-dev
|
||||||
image: kamco-cd-training-api:${IMAGE_TAG:-latest}
|
image: kamco-cd-training-api:${IMAGE_TAG:-latest}
|
||||||
container_name: kamco-cd-training-api
|
container_name: kamco-cd-training-api
|
||||||
|
runtime: nvidia
|
||||||
ports:
|
ports:
|
||||||
- "7200:8080"
|
- "7200:8080"
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ public class SystemMonitorService {
|
|||||||
@Scheduled(fixedRate = 1000)
|
@Scheduled(fixedRate = 1000)
|
||||||
public void collect() {
|
public void collect() {
|
||||||
// 디버깅용
|
// 디버깅용
|
||||||
log.info("collect instance = {}", this);
|
// log.info("collect instance = {}", this);
|
||||||
try {
|
try {
|
||||||
|
|
||||||
// =====================
|
// =====================
|
||||||
|
|||||||
Reference in New Issue
Block a user