Elasticsearch监控指标如下表所示:
| 指标属性 | 指标说明 |
|---|---|
| cluster_status | 健康度 |
| cluster_active_shards | 活跃shard数 |
| cluster_active_primary_shards | 活跃主shard数 |
| cluster_nodes | 节点总数 |
| cluster_data_nodes | 存储节点总数 |
| cluster_relocating_shards | Relocating shard数 |
| cluster_initializing_shards | Initializing shards数 |
| cluster_unassigned_shards | Unassigned shard数 |
| cluster_pending_tasks | pending_task数 |
| jvm_gc_old_count | Major GC次数 |
| jvm_gc_old_time | Major GC耗时 |
| jvm_gc_young_count | Young GC次数 |
| jvm_gc_young_time | Young GC耗时 |
| jvm_threads_count | JVM线程数 |
| jvm_mem_heap_max | Heap区总量 |
| jvm_mem_heap_committed | Heap区已分配量 |
| jvm_mem_heap_used | Heap区已使用量 |
| jvm_mem_heap_used_percent | Heap区使用率 |
| jvm_mem_nonheap_committed | Non Heap区已分配量 |
| jvm_mem_nonheap_used | Non Heap区已使用量 |
| query_total | Query次数 |
| query_time | Query耗时 |
| query_current | 活动Query数 |
| fetch_total | fetch次数 |
| fetch_time | fetch耗时 |
| fetch_current | 活动fetch数 |
| indexing_total | Index次数 |
| indexing_time | Index耗时 |
| indexing_current | 活动Index数 |
| refresh_total | refresh次数( |
| refresh_time | Refresh耗时 |
| flush_total | flush次数 |
| flush_time | flush耗时 |
| network_tx_bytes | 网络发送字节数 |
| network_rx_bytes | 网络接收字节数 |
| http_open | http连接总数 |
| http_current | 活动http连接数 |