Scaphandre

Supported OS Linux Mac OS

통합 버전1.0.0

개요

본 점검은 베어 메탈 머신의 전력 사용량을 측정하기 위해 파워캡을 통해 RAPL과 MsrRAPL을 사용하는 모니터링 Agent인 Scaphandre를 모니터링합니다. 해당 프로젝트의 목표는 회사 또는 개인이 기술 서비스의 전력 소비를 측정하고, 해당 데이터를 편리한 형식으로 가져와 모니터링 또는 데이터 분석 툴 체인을 통해 전송할 수 있게 하는 것입니다.

설정

설치

다음에 따라 호스트에 Scaphandre 점검을 설치합니다.

  1. 머신에 개발자 툴킷을 설치합니다. 설치해야 하는 특정 개발자 툴킷은 플랫폼과 아키텍처에 따라 다릅니다.

  2. 다음 명령을 실행하여 패키지를 빌드합니다.

    ddev release build scaphandre
    
  3. Datadog Agent를 다운로드합니다.

  4. 빌드 아티팩트를 Agent가 있는 호스트에 업로드하고 다음 명령을 실행합니다.

    datadog-agent integration install -w path/to/scaphandre/dist/<ARTIFACT_NAME>.whl
    

설정

Agent 구성 디렉터리 루트의 conf.d/ 폴더에 있는 scaphandre.d/conf.yaml 파일을 편집합니다. 사용할 수 있는 구성 옵션 전체를 보려면 샘플 scaphandre.d/conf.yaml를 참고하세요. 예를 들어, Scaphandre 명령줄 태그를 보호하고 민감한 데이터가 Datadog으로 전송되지 않도록 하려면 exclude_labels config 옵션을 사용합니다.

Agent를 다시 시작하여 Datadog으로 Scaphandre 메트릭을 전송하기 시작합니다.

검증

Agent 상태 하위 명령을 실행하고 Checks 섹션에서 scaphandre를 찾습니다.

수집한 데이터

메트릭

scaphandre.host.cpu.frequency
(gauge)
Global frequency of all the cpus on the host
Shown as megahertz
scaphandre.host.disk.available
(gauge)
Available disk space on the host
Shown as byte
scaphandre.host.disk.total
(gauge)
Total disk space on the host
Shown as byte
scaphandre.host.energy.count
(count)
Energy count on the host
scaphandre.host.load.avg.15
(gauge)
15-minute average system load on the host
Shown as percent
scaphandre.host.load.avg.1
(gauge)
1-minute average system load on the host
Shown as percent
scaphandre.host.load.avg.5
(gauge)
5-minute average system load on the host
Shown as percent
scaphandre.host.memory.available
(gauge)
Available memory on the host
Shown as byte
scaphandre.host.memory.free
(gauge)
Free memory on the host
Shown as byte
scaphandre.host.memory.total
(gauge)
Total memory on the host
Shown as byte
scaphandre.host.power
(gauge)
Power consumption of the host
Shown as watt
scaphandre.host.swap.free
(gauge)
Free swap space on the host
Shown as byte
scaphandre.host.swap.total
(gauge)
Total swap space on the host
Shown as byte
scaphandre.process.cpu_usage.pct
(gauge)
CPU usage percentage of the process
Shown as percent
scaphandre.process.disk.read
(gauge)
Disk read for the process
Shown as byte
scaphandre.process.disk.total_read
(gauge)
Total disk read for the process
Shown as byte
scaphandre.process.disk.total_write
(gauge)
Total disk write for the process
Shown as byte
scaphandre.process.disk.write
(gauge)
Disk write for the process
Shown as byte
scaphandre.process.memory.virtual
(gauge)
Virtual memory used by the process
Shown as byte
scaphandre.process.memory
(gauge)
Memory used by the process
Shown as byte
scaphandre.process.power_consumption
(gauge)
Power consumption of the process
Shown as watt
scaphandre.self.memory.virtual
(gauge)
Virtual memory used by scaphandre itself
Shown as byte
scaphandre.self.memory
(gauge)
Memory used by scaphandre itself
Shown as byte
scaphandre.self.socket_records
(gauge)
Socket records collected by scaphandre
scaphandre.self.socket_stats
(gauge)
Socket statistics collected by scaphandre
scaphandre.self.topo_procs
(gauge)
Topology processes recorded by scaphandre
scaphandre.self.topo_records
(gauge)
Topology records collected by scaphandre
scaphandre.self.topo_stats
(gauge)
Topology statistics collected by scaphandre
scaphandre.version
(gauge)
Current version number of scaphandre

서비스 점검

Scaphandre는 서비스 점검을 포함하지 않습니다.

이벤트

Scaphandre는 이벤트를 포함하지 않습니다.

트러블슈팅

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