콘텐츠로 이동

볼케엔진 MongoDB 샤드 클러스터

볼케엔진 MongoDB 샤드 클러스터의 지표를 보여주며, CPU 사용률, 메모리 사용률, 연결 수, 지연, OPS 등을 포함합니다.

설정

Func 설치

추천: Guance 통합 - 확장 - 호스팅 Func를 활성화하세요. 필요한 선행 조건은 모두 자동으로 설치되며, 이어서 스크립트 설치를 진행하면 됩니다.

직접 Func를 배포하는 경우 Func 직접 배포를 참고하세요.

설치 스크립트

안내: 요구 사항을 충족하는 볼케엔진 AK를 미리 준비하세요. 단순하게 하려면 전역 읽기 전용 권한 ReadOnlyAccess를 직접 부여해도 됩니다.

MongoDB 클라우드 리소스의 모니터링 데이터를 동기화하려면, 해당 수집 스크립트인 Guance 통합(볼케엔진-MongoDB 수집)(ID: integration_volcengine_mongodb_sharded_cluster)을 설치합니다.

[설치]를 클릭한 뒤, 볼케엔진 AK와 볼케엔진 계정명을 입력하세요.

[배포 시작 스크립트]를 클릭하면 시스템이 자동으로 Startup 스크립트 세트를 생성하고, 대응하는 시작 스크립트를 자동으로 설정합니다.

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

대응하는 로그를 수집하려면 해당 로그 수집 스크립트도 활성화해야 합니다. 청구 데이터를 수집하려면 클라우드 청구 수집 스크립트를 활성화해야 합니다.

검증

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

지표

볼케엔진-MongoDB 샤드 클러스터 모니터링을 설정하면 기본 지표 집합은 아래와 같습니다. 설정을 통해 더 많은 지표를 수집할 수 있습니다. 볼케엔진 MongoDB 모니터링 지표 상세

메트릭 이름 하위 네임스페이스 지표 표시명 메트릭 단위 차원
LogDiskUsage config 로그 디스크 사용량 Bytes(SI) ResourceID,Node
RunningConcurrentWriteRequest config 현재 쓰기 동시 요청 수 Count ResourceID,Node
RunningConcurrentReadRequest config 현재 읽기 동시 요청 수 Count ResourceID,Node
CommandOperationPerSec config 초당 COMMAND 작업 수 Count/Second ResourceID,Node
ReplicationDelay config 복제 지연 Second ResourceID,Node
NetworkReceiveThroughput config 네트워크 입력 속도 Bytes/Second(SI) ResourceID,Node
TotalDiskUsage config 전체 디스크 사용량 Bytes(SI) ResourceID,Node
UpdateOperationPerSec config 초당 UPDATE 작업 수 Count/Second ResourceID,Node
MaxDiskConfigured config 설정된 최대 사용 가능 디스크 공간 Bytes(SI) ResourceID,Node
TimeOutCursor config 커서 시간 초과 수 Count ResourceID,Node
CurrConn config 현재 연결 수 Count ResourceID,Node
DataDiskUsage config 데이터 디스크 사용량 Bytes(SI) ResourceID,Node
ReadIntoCachePerSec config 초당 캐시로 읽어들이는 데이터량 Bytes/Second(SI) ResourceID,Node
TotalDiskUtil config 전체 디스크 사용률 Percent ResourceID,Node
GlobalWaitWriteLockQueue config 전역 쓰기 잠금 대기열 길이 Count ResourceID,Node
TotalOpenCursor config 열린 커서 총수 Count ResourceID,Node
NetworkTransmitThroughput config 네트워크 출력 속도 Bytes/Second(SI) ResourceID,Node
GlobalWaitReadLockQueue config 전역 읽기 잠금 대기열 길이 Count ResourceID,Node
AvailConcurrentReadRequest config 사용 가능한 읽기 동시 요청 수 Count ResourceID,Node
MemUtil config 메모리 사용률 Percent ResourceID,Node
GlobalWaitTotalLockQueue config 전역 잠금 대기열 총 길이 Count ResourceID,Node
CpuUtil config CPU 사용률 Percent ResourceID,Node
GetmoreOperationPerSec config 초당 GETMORE 작업 수 Count/Second ResourceID,Node
DeleteOperationPerSec config 초당 DELETE 작업 수 Count/Second ResourceID,Node
AvailConcurrentWriteRequest config 사용 가능한 쓰기 동시 요청 수 Count ResourceID,Node
QueryOperationPerSec config 초당 QUERY 작업 수 Count/Second ResourceID,Node
WrittenFromCachePerSec config 초당 캐시에서 디스크로 기록되는 데이터량 Bytes/Second(SI) ResourceID,Node
NetworkRequestPerSec config 네트워크 처리 요청 수 Count/Second ResourceID,Node
InsertOperationPerSec config 초당 INSERT 작업 수 Count/Second ResourceID,Node
SlowOpCount config 느린 쿼리 수 통계 Count ResourceID,Node
OplogAvailTime config Oplog 가용 시간 Second ResourceID,Node
AggregatedCpuUtil instance CPU 사용률 Percent ResourceID
AggregatedMemUtil instance 메모리 사용률 Percent ResourceID
AggregatedTotalDiskUtil instance 전체 디스크 공간 사용률 Percent ResourceID
ChunkNumber instance 샤드 Chunk 수 Count ResourceID,shard
NetworkTransmitThroughput mongos 네트워크 출력 속도 Bytes/Second(SI) ResourceID,Node
GetmoreOperationPerSec mongos 초당 GETMORE 작업 수 Count/Second ResourceID,Node
MemUtil mongos 메모리 사용률 Percent ResourceID,Node
CpuUtil mongos CPU 사용률 Percent ResourceID,Node
QueryOperationPerSec mongos 초당 QUERY 작업 수 Count/Second ResourceID,Node
DeleteOperationPerSec mongos 초당 DELETE 작업 수 Count/Second ResourceID,Node
InsertOperationPerSec mongos 초당 INSERT 작업 수 Count/Second ResourceID,Node
NetworkRequestPerSec mongos 네트워크 처리 요청 수 Count/Second ResourceID,Node
NetworkReceiveThroughput mongos 네트워크 입력 속도 Bytes/Second(SI) ResourceID,Node
CommandOperationPerSec mongos 초당 COMMAND 작업 수 Count/Second ResourceID,Node
CurrConn mongos 현재 연결 수 Count ResourceID,Node
UpdateOperationPerSec mongos 초당 UPDATE 작업 수 Count/Second ResourceID,Node
ReadIntoCachePerSec shard 초당 캐시로 읽어들이는 데이터량 Bytes/Second(SI) ResourceID,Node
TotalDiskUtil shard 전체 디스크 사용률 Percent ResourceID,Node
GlobalWaitWriteLockQueue shard 전역 쓰기 잠금 대기열 길이 Count ResourceID,Node
TotalOpenCursor shard 열린 커서 총수 Count ResourceID,Node
NetworkTransmitThroughput shard 네트워크 출력 속도 Bytes/Second(SI) ResourceID,Node
GlobalWaitReadLockQueue shard 전역 읽기 잠금 대기열 길이 Count ResourceID,Node
AvailConcurrentReadRequest shard 사용 가능한 읽기 동시 요청 수 Count ResourceID,Node
DataDiskUsage shard 데이터 디스크 사용량 Bytes(SI) ResourceID,Node
GlobalWaitTotalLockQueue shard 전역 잠금 대기열 총 길이 Count ResourceID,Node
CpuUtil shard CPU 사용률 Percent ResourceID,Node
GetmoreOperationPerSec shard 초당 GETMORE 작업 수 Count/Second ResourceID,Node
MemUtil shard 메모리 사용률 Percent ResourceID,Node
AvailConcurrentWriteRequest shard 사용 가능한 쓰기 동시 요청 수 Count ResourceID,Node
QueryOperationPerSec shard 초당 QUERY 작업 수 Count/Second ResourceID,Node
DeleteOperationPerSec shard 초당 DELETE 작업 수 Count/Second ResourceID,Node
NetworkRequestPerSec shard 네트워크 처리 요청 수 Count/Second ResourceID,Node
InsertOperationPerSec shard 초당 INSERT 작업 수 Count/Second ResourceID,Node
WrittenFromCachePerSec shard 초당 캐시에서 디스크로 기록되는 데이터량 Bytes/Second(SI) ResourceID,Node
RunningConcurrentWriteRequest shard 현재 쓰기 동시 요청 수 Count ResourceID,Node
LogDiskUsage shard 로그 디스크 사용량 Bytes(SI) ResourceID,Node
CommandOperationPerSec shard 초당 COMMAND 작업 수 Count/Second ResourceID,Node
ReplicationDelay shard 복제 지연 Second ResourceID,Node
NetworkReceiveThroughput shard 네트워크 입력 속도 Bytes/Second(SI) ResourceID,Node
RunningConcurrentReadRequest shard 현재 읽기 동시 요청 수 Count ResourceID,Node
UpdateOperationPerSec shard 초당 UPDATE 작업 수 Count/Second ResourceID,Node
MaxDiskConfigured shard 설정된 최대 사용 가능 디스크 공간 Bytes(SI) ResourceID,Node
TimeOutCursor shard 커서 시간 초과 수 Count ResourceID,Node
CurrConn shard 현재 연결 수 Count ResourceID,Node
TotalDiskUsage shard 전체 디스크 사용량 Bytes(SI) ResourceID,Node
SlowOpCount shard 느린 쿼리 수 통계 Count ResourceID,Node
OplogAvailTime shard Oplog 가용 시간 Second ResourceID,Node

대상

수집된 볼케엔진 MongoDB 대상 데이터 구조는 인프라-사용자 정의에서 확인할 수 있습니다.

  {
    "category": "custom_object",
    "fields": {
      "NodeSpec": "rds.mysql.d1.n.1c1g",
      "TimeZone": "UTC +08:00",
      ...
    },
    "measurement": "volcengine_mongodb_replica_set",
    "tags": {
      "AllowListVersion": "initial",
      "DBEngineVersion": "MongoDB_5_7",
      "InstanceId": "mysql-xxx",
      "InstanceName": "mysql-xxx",
      "InstanceStatus": "Running",
      "InstanceType": "DoubleNode",
      "LowerCaseTableNames": "1",
      "NodeNumber": "2",
      "ProjectName": "default",
      "RegionId": "cn-beijing",
      "StorageSpace": "20",
      "StorageType": "LocalSSD",
      "SubnetId": "subnet-xxx",
      "VpcId": "vpc-xxx",
      "ZoneId": "cn-beijing-a",
      "name": "mysql-xxx"
    }
  }

문서 평가

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