scouter
scouter copied to clipboard
Scouter 옵션 관련 질문입니다.
안녕하세요!
Scouter agent에서 auto thread dump 옵션을 활성화시키고 싶습니다.
//Auto dump options when active service is exceed the set threshold count.
@ConfigDesc("Activating auto dump - append dumps onto the dump file in dump directory.")
public boolean autodump_enabled = false;
@ConfigDesc("Auto dump trigger point (dump when exceeding this active service count)")
public int autodump_trigger_active_service_cnt = 10000;
@ConfigDesc("Minimum interval(ms) for operating auto dump function - hard min : 5000")
public long autodump_interval_ms = 30000;
@ConfigDesc("Auto dump level (1 : ThreadDump, 2 : active service, 3 : thread list)")
public int autodump_level = 1; // 1:ThreadDump, 2:ActiveService, 3:ThreadList
agent에서 scouter의 어느 부분을 설정하여야 해당 코드를 활성화할 수 있을까요?
server/conf/scouter.conf 또는 agent/conf/scouter.conf에 어떻게 설정하면 될까요??ㅠ