개요
에이전트의 KyotoTycoon 점검은 가져오기, 설정, 삭제 작업을 추적하고 복제 지연을 모니터링할 수 있도록 지원합니다.
설정
설치
KyotoTycoon 점검은 Datadog 에이전트 패키지 에 포함되어 있으므로 KyotoTycoon 서버에 다른 것을 설치할 필요가 없습니다.
설정
에이전트 설정 디렉토리 루트의 conf.d/
폴더에 있는 kyototycoon.d/conf.yaml
파일을 수정합니다. 사용 가능한 모든 설정 옵션은 샘플 kyototycoon.d/conf.yaml을 참조하세요:
init_config:
instances:
## @param report_url - string - required
## The report URL should be a URL to the Kyoto Tycoon "report" RPC endpoint.
#
- report_url: http://localhost:1978/rpc/report
에이전트를 다시 시작합니다.
로그 수집
로그 수집은 Datadog 에이전트에서 기본적으로 비활성화되어 있습니다. datadog.yaml
파일에서 활성화합니다.
이 설정 블록을 kyototycoon.d/conf.yaml
파일에 추가하여 Kyoto Tycoon 로그 수집을 시작하세요.
logs:
- type: file
path: /var/data/ktserver.log
source: kyototycoon
환경에 따라 path
파라미터 값을 변경합니다. 사용 가능한 모든 설정 옵션은 샘플 kyototycoon.d/conf.yaml을 참조하세요.
Agent를 재시작합니다.
검증
[에이전트 status
하위 명령[]5]을 실행하고 점검 섹션에서 kyototycoon
을 찾습니다.
수집한 데이터
메트릭
| |
---|
kyototycoon.connections_per_s (rate) | Total number of connections Shown as connection |
kyototycoon.ops.get.hits_per_s (rate) | Rate of get hits Shown as hit |
kyototycoon.ops.get.misses_per_s (rate) | Rate of get misses Shown as hit |
kyototycoon.ops.get.total_per_s (rate) | Rate of total get hits Shown as hit |
kyototycoon.ops.set.hits_per_s (rate) | Rate of set hits Shown as hit |
kyototycoon.ops.set.total_per_s (rate) | Rate of total set hits Shown as hit |
kyototycoon.opts.del.hits_per_s (rate) | Rate of deleted hits Shown as hit |
kyototycoon.opts.del.misses_per_s (rate) | Rate of deleted misses Shown as miss |
kyototycoon.opts.del.total_per_s (rate) | Rate of total deleted hits Shown as hit |
kyototycoon.opts.set.misses_per_s (rate) | Rate of set misses Shown as miss |
kyototycoon.records (gauge) | Total amount of records Shown as record |
kyototycoon.replication.delay (gauge) | Replication delay Shown as millisecond |
kyototycoon.size (gauge) | Current size of the kyoto tycoon DB |
kyototycoon.threads (gauge) | Total number of threads Shown as thread |
이벤트
KyotoTycoon 점검에는 이벤트가 포함되어 있지 않습니다.
서비스 점검
kyototycoon.can_connect
Returns CRITICAL
if the Agent is unable to connect to the monitored KyotoTycoon instance. Returns OK
otherwise.
Statuses: ok, critical
트러블슈팅
도움이 필요하신가요? Datadog 지원팀에 문의하세요.