콘텐츠로 이동

알리바바 클라우드 파일 스토리지 CPFS

알리바바 클라우드 파일 스토리지 CPFS 모니터링 데이터 수집

설정

Func 설치

권장: Guance 통합 - 확장 - 관리형 Func를 활성화하세요

직접 Func를 배포하려면 Func 자체 배포를 참고하세요

스크립트 활성화

안내: 요구 사항을 충족하는 알리바바 클라우드 AK를 미리 준비하세요. 간단하게 하려면 전역 읽기 전용 권한 ReadOnlyAccess를 바로 부여해도 됩니다.

관리형 활성화 스크립트

  1. Guance 콘솔에 로그인합니다.
  2. 【통합】 메뉴를 클릭하고 【클라우드 계정 관리】를 선택합니다.
  3. 【클라우드 계정 추가】를 클릭하고 【알리바바 클라우드】를 선택한 뒤 화면에 필요한 정보를 입력합니다. 이전에 클라우드 계정 정보를 설정했다면 이 단계를 건너뜁니다.
  4. 【테스트】를 클릭합니다. 테스트가 성공하면 【저장】을 클릭하고, 실패하면 관련 설정이 올바른지 확인한 뒤 다시 테스트합니다.
  5. 【클라우드 계정 관리】 목록에서 추가된 클라우드 계정을 확인할 수 있습니다. 해당 클라우드 계정을 클릭해 상세 페이지로 들어갑니다.
  6. 클라우드 계정 상세 페이지의 【통합】 버튼을 클릭한 뒤 미설치 목록에서 알리바바 클라우드 CPFS를 찾아 【설치】 버튼을 클릭하면 설치 화면이 표시됩니다.

수동 활성화 스크립트

  1. Func 콘솔에 로그인한 뒤 【스크립트 마켓】을 클릭하여 Guance 스크립트 마켓으로 들어가 integration_alibabacloud_cpfs를 검색합니다.

  2. 【설치】를 클릭한 다음 알리바바 클라우드 AK ID, AK Secret 및 계정명을 입력합니다.

  3. 【배포 시작 스크립트】를 클릭하면 시스템이 자동으로 Startup 스크립트 세트를 만들고 해당 시작 스크립트를 자동으로 구성합니다.

  4. 활성화한 뒤에는 「관리 / 자동 트리거 설정」에서 해당 자동 트리거 설정을 확인할 수 있습니다. 【실행】을 클릭하면 주기 시간을 기다리지 않고 즉시 한 번 실행할 수 있습니다. 잠시 후 실행 작업 기록과 해당 로그를 확인할 수 있습니다.

검증

  1. 「관리 / 자동 트리거 설정」에서 해당 작업의 자동 트리거 설정이 존재하는지 확인하고, 작업 기록과 로그를 함께 확인하여 이상 여부를 점검합니다.
  2. Guance의 「인프라 / 사용자 정의」에서 자산 정보가 있는지 확인합니다.
  3. Guance의 「지표」에서 해당 모니터링 데이터가 있는지 확인합니다.

지표

파일 스토리지 CPFS 지표는 aliyun_acs_nas 지표 세트 아래에 있으며, 다음은 지표 상세 정보입니다.

지표 이름 지표 유형 지표 설명 차원 통계 단위
CPFSCapacity capacity 총 저장 공간 userId,fileSystemId Value B
CPFSCapacityUsed capacity 데이터 양 userId,fileSystemId Value B
CPFSInodeAlloc capacity 할당된 파일 수 userId,fileSystemId Value count
CPFSInodeLimit capacity 최대 파일 수 userId,fileSystemId Value count
CPFSInodeUsed capacity 사용된 파일 수 userId,fileSystemId Value count
CPFSIopsRead performance 읽기 IOPS userId,fileSystemId Value IOPS
CPFSIopsWrite performance 쓰기 IOPS userId,fileSystemId Value IOPS
CPFSThruputRead performance 읽기 처리량 userId,fileSystemId Value bytes/s
CPFSThruputWrite performance 쓰기 처리량 userId,fileSystemId Value bytes/s
ClientReadIops performance 클라이언트 읽기 IOPS userId,fileSystemId,hostname Average,Minimum,Maximum IOPS
ClientReadLatency capacity 클라이언트 읽기 평균 지연 userId,fileSystemId,hostname Average,Minimum,Maximum B
ClientReadThroughput performance 클라이언트 읽기 처리량 userId,fileSystemId,hostname Average,Minimum,Maximum B/s
ClientWriteIops performance 클라이언트 쓰기 IOPS userId,fileSystemId,hostname Average,Minimum,Maximum IOPS
ClientWriteLatency performance 클라이언트 쓰기 평균 지연 userId,fileSystemId,hostname Average,Minimum,Maximum us
ClientWriteThroughput performance 클라이언트 쓰기 처리량 userId,fileSystemId,hostname Average,Minimum,Maximum B/s
FsetInodeAlloc capacity Fileset 할당된 파일 수 userId,fileSystemId,hostname Value count
FsetInodeUsed capacity Fileset 사용된 파일 수 userId,fileSystemId,hostname Value count
IOPSExport performance 데이터 흐름 내보내기 IOPS userId,fileSystemId Value IOPS
IOPSImport performance 데이터 흐름 가져오기 IOPS userId,fileSystemId userId,fileSystemId IOPS
LatencyExport performance 데이터 흐름 내보내기 지연 userId,fileSystemId Value us
LatencyImport performance 데이터 흐름 가져오기 지연 userId,fileSystemId Value us
NFSReadIOPS performance NFS 읽기 IOPS userId,fileSystemId Value IOPS
NFSReadThroughput volume NFS 읽기 처리량 userId,fileSystemId Value bytes/s
NFSWriteIOPS performance NFS 쓰기 IOPS userId,fileSystemId Value IOPS
NFSWriteThroughput volume NFS 쓰기 처리량 userId,fileSystemId Value bytes/s
QPSExportMeta performance 데이터 흐름 내보내기 메타 읽기 QPS userId,fileSystemId Value count/s
QPSImportMeta performance 데이터 흐름 가져오기 메타 읽기 QPS userId,fileSystemId Value count/s
ThroughputExport performance 데이터 흐름 내보내기 처리량 userId,fileSystemId Value B/s
ThroughputImport performance 데이터 흐름 가져오기 처리량 userId,fileSystemId Value B/s

객체

수집된 알리바바 클라우드 파일 시스템 CPFS 객체 데이터 구조이며, 「인프라-사용자 정의」에서 객체 데이터를 확인할 수 있습니다

{
  "measurement": "aliyun_cpfs",
  "tags": {
    "RegionId"                  : "i-0ec6548xxx",
    "ResourceGroupId"           : "cn-hangzhou",
    "FileSystemId"              : "cpfs-0093329e0e4xxxx",
    "FileSystemType"            : "cpfs",
    "ZoneId"                    : "cn-hangzhou-j",
    "Description"               : "test-zp"
  },
  "fields": {
    "VpcId"                     : "vpc-bp10raupoot1mkzxxxxxx",
    "Status"                    : "Running",
    "Version"                   : "2.3.4",
    "ChargeType"                : "PayAsYouGo",
    "StorageType"               : "advance_100",
    "ProtocolType"              : "standard",
    "MeteredIASize"             : "436207616",
    "Capacity"                  : "3600",
    "CreateTime"                : "2025-10-29 14:55:03",
    "Tags"                      : "{    Tag  []}",
    "MeteredSize"               : "436207616",
    "Bandwidth"                 : "360",
    "SupportedFeatures"         : "{    SupportedFeature[Fileset]}",
    "MountTargets"              : "{    MountTarget  []}",
    "EncryptType"               : "0",
    "Ldap"                      : "{}",
    "ExpiredTime"               : "1761729434674",
    "Packages"                  : "{    Package  []}",
    "AccessPointCount"          : "0"
  }
}

문서 평가

이 페이지가 도움이 되었나요?