- 필수 기능
- 시작하기
- Glossary
- 표준 속성
- Guides
- Agent
- 통합
- 개방형텔레메트리
- 개발자
- Administrator's Guide
- API
- Datadog Mobile App
- CoScreen
- Cloudcraft
- 앱 내
- 서비스 관리
- 인프라스트럭처
- 애플리케이션 성능
- APM
- Continuous Profiler
- 스팬 시각화
- 데이터 스트림 모니터링
- 데이터 작업 모니터링
- 디지털 경험
- 소프트웨어 제공
- 보안
- AI Observability
- 로그 관리
- 관리
Supported OS
이 점검은 컨테이너 Container Runtime Interface를 모니터링합니다.
CRI는 코어는 Datadog 에이전트 점검입니다. datadog.yaml
에서 cri.d/conf.yaml
로 구성합니다.
datadog.yaml
에서 에이전트 cri_socket_path
를 구성해 기존 CRI를 쿼리하도록 합니다(또 기본 시간 제한을 구성할 수 있음). CRI(예: containerd
)에서 디스크 사용량 메트릭을 보고한다면 collect_disk
와 같은 점검 인스턴스 설정을 cri.d/conf.yaml
에서 구성하세요.
참고: 컨테이너에서 에이전트를 사용하는 경우 환경 변수 DD_CRI_SOCKET_PATH
를 설정하면 기본 구성으로 CRI
점검을 자동으로 사용할 수 있습니다.
컨테이너에서 에이전트를 사용하는 경우 CRI 소켓에 DD_CRI_SOCKET_PATH
환경 변수를 설정하면 CRI
통합이 기본 구성으로 자동 활성화됩니다.
예를 들어 쿠버네티스에 통합을 설치하려면 daemonset을 편집해 호스트 노드에서 CRI 소켓을 에이전트 컨테이너로 연결하고 환경 변수를 DD_CRI_SOCKET_PATH
를 daemonset mountPath로 설정합니다.
apiVersion: extensions/v1beta1
kind: DaemonSet
metadata:
name: datadog-agent
spec:
template:
spec:
containers:
- name: datadog-agent
# ...
env:
- name: DD_CRI_SOCKET_PATH
value: /var/run/crio/crio.sock
volumeMounts:
- name: crisocket
mountPath: /var/run/crio/crio.sock
- mountPath: /host/var/run
name: var-run
readOnly: true
volumes:
- hostPath:
path: /var/run/crio/crio.sock
name: crisocket
- hostPath:
path: /var/run
name: var-run
참고: 호스트에 /var/run
디렉터리가 연결되어 있어야 통합이 정상적으로 작동합니다.
에이전트 구성 디렉터리의 루트 수준에 있는 conf.d/
폴더에서 cri.d/conf.yaml
파일을 편집해 crio 성능 데이터 수집을 시작하세요. 사용할 수 있는 구성 옵션을 모두 보려면 sample cri.d/conf.yaml을 참고하세요.
에이전트 상태 하위 명령을 실행하고 Checks 섹션에서 cri
를 찾으세요.
CRI collect metrics about the resource usage of your containers running through the CRI.
CPU and memory metrics are collected out of the box and you can additionally collect some disk metrics if they are supported by your CRI (CRI-O doesn’t support them).
cri.cpu.usage (gauge) | Cumulative CPU usage (sum across all cores) since object creation Shown as nanocore |
cri.disk.inodes (gauge) | Represents the inodes used by the images Shown as inode |
cri.disk.used (gauge) | Represents the bytes used for images on the filesystem Shown as byte |
cri.mem.rss (gauge) | The amount of working set memory in bytes Shown as byte |
cri.uptime (gauge) | Time since the container was started Shown as second |
CRI에는 서비스 점검이 포함되어 있지 않습니다.
CRI에는 이벤트가 포함되어 있지 않습니다.
도움이 필요하신가요? Datadog 지원팀에 문의하세요.