킹소프트클라우드 RabbitMQ
킹소프트클라우드 RabbitMQ 인스턴스와 노드의 모니터링 데이터를 수집합니다.
설정¶
사전 조건¶
요구 사항을 충족하는 킹소프트클라우드 AK ID, AK Secret을 미리 준비하고, 수집에 필요한 서비스에 대한 읽기 전용 권한을 부여하세요.
Func 설치¶
Guance 통합 - 확장 - 호스팅 버전 Func 개통을 권장합니다. 모든 사전 조건이 자동으로 설치되므로, 스크립트 설치를 계속 진행하세요.
직접 배포한 Func는 직접 배포한 Func를 참고하세요.
스크립트 설치¶
- Func 콘솔에 로그인한 후 【스크립트 마켓】을 클릭하여 Guance 스크립트 마켓으로 들어가
integration_kingsoftcloud_rabbitmq를 검색합니다. - 【설치】를 클릭한 뒤, 해당 파라미터를 입력합니다. 킹소프트클라우드 AK ID, AK Secret 및 계정명
- 【배포 시작 스크립트】를 클릭하면 시스템이 자동으로
Startup스크립트 세트를 생성하고, 해당 시작 스크립트를 자동으로 구성합니다. - 활성화한 뒤에는 「관리 / 자동 트리거 설정」에서 해당 자동 트리거 설정을 확인할 수 있습니다. 【실행】을 클릭하면 주기 시간을 기다리지 않고 즉시 한 번 실행할 수 있습니다. 잠시 후 실행 작업 기록과 해당 로그를 확인할 수 있습니다.
검증¶
- 「관리 / 자동 트리거 설정」에서 해당 작업에 대한 자동 트리거 설정이 존재하는지 확인하고, 동시에 해당 작업 기록 및 로그를 확인하여 이상이 있는지 점검합니다.
- Guance의 「기반 인프라 - 리소스 디렉터리」에서 자산 정보가 있는지 확인합니다.
- Guance의 「메트릭」에서 해당 모니터링 데이터가 있는지 확인합니다.
메트릭¶
킹소프트클라우드 클라우드 모니터링을 구성하면 기본 메트릭 세트는 다음과 같습니다. 설정을 통해 더 많은 메트릭을 수집할 수 있습니다. 킹소프트클라우드 RabbitMQ 모니터링 메트릭은 kingsoftcloud_rabbitmq 메트릭 세트에 있습니다.
| 메트릭 이름 | 설명 | 차원 | 단위 |
|---|---|---|---|
rabbitmq_client_connections_average |
평균 클라이언트 연결 수 | instance_id, ip, account_name, region_id, role, cloud_provider, instance_name, node_id, project_name, node_name, project_id | 개수 |
rabbitmq_client_connections_max |
최대 클라이언트 연결 수 | instance_id, ip, account_name, region_id, role, cloud_provider, instance_name, node_id, project_name, node_name, project_id | 개수 |
rabbitmq_client_connections_min |
최소 클라이언트 연결 수 | instance_id, ip, account_name, region_id, role, cloud_provider, instance_name, node_id, project_name, node_name, project_id | 개수 |
rabbitmq_consumers_used_average |
평균 소비자 수 | instance_id, ip, account_name, region_id, role, cloud_provider, instance_name, node_id, project_name, node_name, project_id | 개수 |
rabbitmq_consumers_used_max |
최대 소비자 수 | instance_id, ip, account_name, region_id, role, cloud_provider, instance_name, node_id, project_name, node_name, project_id | 개수 |
rabbitmq_consumers_used_min |
최소 소비자 수 | instance_id, ip, account_name, region_id, role, cloud_provider, instance_name, node_id, project_name, node_name, project_id | 개수 |
rabbitmq_disk_alarm_average |
평균 디스크 고수위 경고 상태 | instance_id, ip, account_name, region_id, role, cloud_provider, instance_name, node_id, project_name, node_name, project_id | 상태(사용자 정의) |
rabbitmq_disk_alarm_max |
최대 디스크 고수위 경고 상태 | instance_id, ip, account_name, region_id, role, cloud_provider, instance_name, node_id, project_name, node_name, project_id | 상태(사용자 정의) |
rabbitmq_disk_alarm_min |
최소 디스크 고수위 경고 상태 | instance_id, ip, account_name, region_id, role, cloud_provider, instance_name, node_id, project_name, node_name, project_id | 상태(사용자 정의) |
rabbitmq_disk_free_average |
평균 사용 가능 저장 공간 | instance_id, ip, account_name, region_id, role, cloud_provider, instance_name, node_id, project_name, node_name, project_id | GB |
rabbitmq_disk_free_max |
최대 사용 가능 저장 공간 | instance_id, ip, account_name, region_id, role, cloud_provider, instance_name, node_id, project_name, node_name, project_id | GB |
rabbitmq_disk_free_min |
최소 사용 가능 저장 공간 | instance_id, ip, account_name, region_id, role, cloud_provider, instance_name, node_id, project_name, node_name, project_id | GB |
rabbitmq_disk_usage_ratio_average |
평균 디스크 사용률 | instance_id, ip, account_name, region_id, role, cloud_provider, instance_name, node_id, project_name, node_name, project_id | 백분율 |
rabbitmq_disk_usage_ratio_max |
최대 디스크 사용률 | instance_id, ip, account_name, region_id, role, cloud_provider, instance_name, node_id, project_name, node_name, project_id | 백분율 |
rabbitmq_disk_usage_ratio_min |
최소 디스크 사용률 | instance_id, ip, account_name, region_id, role, cloud_provider, instance_name, node_id, project_name, node_name, project_id | 백분율 |
rabbitmq_file_handle_average |
평균 파일 핸들 수 | instance_id, ip, account_name, region_id, role, cloud_provider, instance_name, node_id, project_name, node_name, project_id | 개수 |
rabbitmq_file_handle_max |
최대 파일 핸들 수 | instance_id, ip, account_name, region_id, role, cloud_provider, instance_name, node_id, project_name, node_name, project_id | 개수 |
rabbitmq_file_handle_min |
최소 파일 핸들 수 | instance_id, ip, account_name, region_id, role, cloud_provider, instance_name, node_id, project_name, node_name, project_id | 개수 |
rabbitmq_memory_alarm_average |
평균 메모리 고수위 경고 상태 | instance_id, ip, account_name, region_id, role, cloud_provider, instance_name, node_id, project_name, node_name, project_id | 상태(사용자 정의) |
rabbitmq_memory_alarm_max |
최대 메모리 고수위 경고 상태 | instance_id, ip, account_name, region_id, role, cloud_provider, instance_name, node_id, project_name, node_name, project_id | 상태(사용자 정의) |
rabbitmq_memory_alarm_min |
최소 메모리 고수위 경고 상태 | instance_id, ip, account_name, region_id, role, cloud_provider, instance_name, node_id, project_name, node_name, project_id | 상태(사용자 정의) |
rabbitmq_memory_usage_ratio_average |
평균 메모리 사용률 | instance_id, ip, account_name, region_id, role, cloud_provider, instance_name, node_id, project_name, node_name, project_id | 백분율 |
rabbitmq_memory_usage_ratio_max |
최대 메모리 사용률 | instance_id, ip, account_name, region_id, role, cloud_provider, instance_name, node_id, project_name, node_name, project_id | 백분율 |
rabbitmq_memory_usage_ratio_min |
최소 메모리 사용률 | instance_id, ip, account_name, region_id, role, cloud_provider, instance_name, node_id, project_name, node_name, project_id | 백분율 |
rabbitmq_memory_used_average |
평균 메모리 사용량 | instance_id, ip, account_name, region_id, role, cloud_provider, instance_name, node_id, project_name, node_name, project_id | GB |
rabbitmq_memory_used_max |
최대 메모리 사용량 | instance_id, ip, account_name, region_id, role, cloud_provider, instance_name, node_id, project_name, node_name, project_id | GB |
rabbitmq_memory_used_min |
최소 메모리 사용량 | instance_id, ip, account_name, region_id, role, cloud_provider, instance_name, node_id, project_name, node_name, project_id | GB |
rabbitmq_messages_deliver_rate_average |
평균 메시지 전달 속도 | instance_id, ip, account_name, region_id, role, cloud_provider, instance_name, node_id, project_name, node_name, project_id | ops |
rabbitmq_messages_deliver_rate_max |
최대 메시지 전달 속도 | instance_id, ip, account_name, region_id, role, cloud_provider, instance_name, node_id, project_name, node_name, project_id | ops |
rabbitmq_messages_deliver_rate_min |
최소 메시지 전달 속도 | instance_id, ip, account_name, region_id, role, cloud_provider, instance_name, node_id, project_name, node_name, project_id | ops |
rabbitmq_messages_drop_rate_average |
평균 메시지 폐기 속도 | instance_id, ip, account_name, region_id, role, cloud_provider, instance_name, node_id, project_name, node_name, project_id | ops |
rabbitmq_messages_drop_rate_max |
최대 메시지 폐기 속도 | instance_id, ip, account_name, region_id, role, cloud_provider, instance_name, node_id, project_name, node_name, project_id | ops |
rabbitmq_messages_drop_rate_min |
최소 메시지 폐기 속도 | instance_id, ip, account_name, region_id, role, cloud_provider, instance_name, node_id, project_name, node_name, project_id | ops |
rabbitmq_messages_rate_average |
평균 메시지 발행 속도 | instance_id, ip, account_name, region_id, role, cloud_provider, instance_name, node_id, project_name, node_name, project_id | ops |
rabbitmq_messages_rate_max |
최대 메시지 발행 속도 | instance_id, ip, account_name, region_id, role, cloud_provider, instance_name, node_id, project_name, node_name, project_id | ops |
rabbitmq_messages_rate_min |
최소 메시지 발행 속도 | instance_id, ip, account_name, region_id, role, cloud_provider, instance_name, node_id, project_name, node_name, project_id | ops |
rabbitmq_messages_ready_average |
평균 Ready 메시지 적재 수 | instance_id, ip, account_name, region_id, role, cloud_provider, instance_name, node_id, project_name, node_name, project_id | 개수 |
rabbitmq_messages_ready_max |
최대 Ready 메시지 적재 수 | instance_id, ip, account_name, region_id, role, cloud_provider, instance_name, node_id, project_name, node_name, project_id | 개수 |
rabbitmq_messages_ready_min |
최소 Ready 메시지 적재 수 | instance_id, ip, account_name, region_id, role, cloud_provider, instance_name, node_id, project_name, node_name, project_id | 개수 |
rabbitmq_messages_redeliver_rate_average |
평균 메시지 재전달 속도 | instance_id, ip, account_name, region_id, role, cloud_provider, instance_name, node_id, project_name, node_name, project_id | ops |
rabbitmq_messages_redeliver_rate_max |
최대 메시지 재전달 속도 | instance_id, ip, account_name, region_id, role, cloud_provider, instance_name, node_id, project_name, node_name, project_id | ops |
rabbitmq_messages_redeliver_rate_min |
최소 메시지 재전달 속도 | instance_id, ip, account_name, region_id, role, cloud_provider, instance_name, node_id, project_name, node_name, project_id | ops |
rabbitmq_messages_unacknowledged_average |
평균 미확인 전달 메시지 수 | instance_id, ip, account_name, region_id, role, cloud_provider, instance_name, node_id, project_name, node_name, project_id | 개수 |
rabbitmq_messages_unacknowledged_max |
최대 미확인 전달 메시지 수 | instance_id, ip, account_name, region_id, role, cloud_provider, instance_name, node_id, project_name, node_name, project_id | 개수 |
rabbitmq_messages_unacknowledged_min |
최소 미확인 전달 메시지 수 | instance_id, ip, account_name, region_id, role, cloud_provider, instance_name, node_id, project_name, node_name, project_id | 개수 |
rabbitmq_process_used_average |
평균 Erlang 프로세스 수 | instance_id, ip, account_name, region_id, role, cloud_provider, instance_name, node_id, project_name, node_name, project_id | 개수 |
rabbitmq_process_used_max |
최대 Erlang 프로세스 수 | instance_id, ip, account_name, region_id, role, cloud_provider, instance_name, node_id, project_name, node_name, project_id | 개수 |
rabbitmq_process_used_min |
최소 Erlang 프로세스 수 | instance_id, ip, account_name, region_id, role, cloud_provider, instance_name, node_id, project_name, node_name, project_id | 개수 |
rabbitmq_queues_used_average |
평균 큐 수 | instance_id, ip, account_name, region_id, role, cloud_provider, instance_name, node_id, project_name, node_name, project_id | 개수 |
rabbitmq_queues_used_max |
최대 큐 수 | instance_id, ip, account_name, region_id, role, cloud_provider, instance_name, node_id, project_name, node_name, project_id | 개수 |
rabbitmq_queues_used_min |
최소 큐 수 | instance_id, ip, account_name, region_id, role, cloud_provider, instance_name, node_id, project_name, node_name, project_id | 개수 |
rabbitmq_sockets_used_average |
평균 Socket 연결 수 | instance_id, ip, account_name, region_id, role, cloud_provider, instance_name, node_id, project_name, node_name, project_id | 개수 |
rabbitmq_sockets_used_max |
최대 Socket 연결 수 | instance_id, ip, account_name, region_id, role, cloud_provider, instance_name, node_id, project_name, node_name, project_id | 개수 |
rabbitmq_sockets_used_min |
최소 Socket 연결 수 | instance_id, ip, account_name, region_id, role, cloud_provider, instance_name, node_id, project_name, node_name, project_id | 개수 |
오브젝트¶
수집된 킹소프트클라우드 RabbitMQ 오브젝트 데이터 구조는 「기반 인프라 - 리소스 디렉터리」에서 오브젝트 데이터를 확인할 수 있습니다.
{
"measurement": "kingsoftcloud_rabbitmq",
"tags": {
"account_name": "example-account",
"cloud_provider": "kingsoftcloud",
"region_id": "cn-beijing-6",
"project_id": "xxxxxx",
"project_name": "example-project",
"instance_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"instance_name": "example-rabbitmq",
"status": "running"
},
"fields": {
"availability_zone": "가용 영역 C",
"bill_type": 5,
"engine_version": "3.7",
"instance_type": "2C4G",
"mode_name": "Rabbit 전용 인스턴스 버전",
"network_type": "vpc",
"node_num": 3,
"protocol": "rabbitmq 3.7",
"vip": "10.x.x.x",
"instance_create_date": "2025-04-21 16:18:28",
"last_update_time": 1784601721494
}
}
주의: tags, fields의 필드는 이후 업데이트에 따라 변경될 수 있습니다.