CRI-O

Supported OS Linux Mac OS Windows

Integration version2.6.1

개요

이 점검은 CRI-O를 모니터링합니다.

설정

설치

이 통합의 경우 활성화된 메트릭이 127.0.0.1:9090/metrics에 노출되어 있을 때 기본적으로 비활성화되어 있는 CRI-O --enable-metrics 옵션이 필요합니다.

설정

  1. 에이전트 구성 디렉터리의 루트 수준에 있는 conf.d/ 폴더에서 crio.d/conf.yaml 파일을 편집해 CRI-O 성능 데이터 수집을 시작하세요. 사용할 수 있는 구성 옵션을 모두 보려면 sample crio.d/conf.yaml을 참고하세요.

  2. Restart the Agent.

검증

에이전트 상태 하위 명령을 실행하고 점검 섹션 아래에서 crio를 찾으세요.

수집한 데이터

CRI-O는 런타임 운영 횟수와 대기 시간 메트릭을 수집합니다. Datadog-CRI-O 통합은 CRI-O golang 이진수 자체의 메모리 사용량과 CPU를 수집합니다.

메트릭

crio.cpu.time
(gauge)
Total user and system CPU time spent in seconds
Shown as second
crio.mem.resident
(gauge)
Resident memory size in bytes
Shown as byte
crio.mem.virtual
(gauge)
Virtual memory size in bytes
Shown as byte
crio.operations.count
(count)
Counter of CRI-O operations
crio.operations.latency.count
(gauge)
Count of CRI-O operations latency
crio.operations.latency.quantile
(gauge)
Quantiles of CRI-O operations latency
crio.operations.latency.sum
(gauge)
Sum of CRI-O operations latency
Shown as microsecond

서비스 점검

crio.prometheus.health
Returns CRITICAL if the check can’t access the metrics endpoint.
Statuses: ok, critical

트러블슈팅

도움이 필요하신가요? Datadog 지원팀에 문의하세요.