elasticsearch_export Metrics含義

最近需要做elasticsearch監控相關的需求,採用elasticsearch_export採集es的各項監控指標,供後續prometheus、grafana、kibana等展示。

現特意梳理elasticsearch_export metrics各字段含義,具體參看https://github.com/justwatchcom/elasticsearch_exporter

Name Type Cardinality Help
elasticsearch_breakers_estimated_size_bytes gauge 4

Estimated size in bytes of breaker

breaker字節的估計大小

elasticsearch_breakers_limit_size_bytes gauge 4

Limit size in bytes for breaker

將斷路器的大小限制爲字節

elasticsearch_breakers_tripped counter 4

tripped for breaker

斷路器跳閘

elasticsearch_cluster_health_active_primary_shards gauge 1

The number of primary shards in your cluster. This is an aggregate total across all indices.

活躍的主分片總數

elasticsearch_cluster_health_active_shards gauge 1

Aggregate total of all shards across all indices, which includes replica shards.

活躍的分片總數(包括複製分片)

elasticsearch_cluster_health_delayed_unassigned_shards gauge 1

Shards delayed to reduce reallocation overhead

分片延遲以減少重新分配開銷

elasticsearch_cluster_health_initializing_shards gauge 1

Count of shards that are being freshly created.

正在初始化的分片數

elasticsearch_cluster_health_number_of_data_nodes gauge 1

Number of data nodes in the cluster.

node節點的數量

elasticsearch_cluster_health_number_of_in_flight_fetch gauge 1

The number of ongoing shard info requests.

正在進行的碎片信息請求的數量

elasticsearch_cluster_health_number_of_nodes gauge 1

Number of nodes in the cluster.

集羣內所有的節點

elasticsearch_cluster_health_number_of_pending_tasks gauge 1

Cluster level changes which have not yet been executed

尚未執行的集羣級別更改

elasticsearch_cluster_health_task_max_waiting_in_queue_millis gauge 1

Max time in millis that a task is waiting in queue.

任務在隊列中等待的最長時間(以毫秒爲單位)。

elasticsearch_cluster_health_relocating_shards gauge 1

The number of shards that are currently moving from one node to another node.

當前節點正在遷移到其他節點的分片數量,通常爲0,集羣中有節點新加入或者退出時該值會增加

elasticsearch_cluster_health_status gauge 3

Whether all primary and replica shards are allocated.

集羣狀態,green,yellow,red

elasticsearch_cluster_health_timed_out gauge 1

Number of cluster health checks timed out.

集羣運行狀況檢查次數超時

elasticsearch_cluster_health_unassigned_shards gauge 1

The number of shards that exist in the cluster state, but cannot be found in the cluster itself.

未分配分片數

elasticsearch_filesystem_data_available_bytes gauge 1

Available space on block device in bytes

塊設備上的可用空間(以字節爲單位)

elasticsearch_filesystem_data_free_bytes gauge 1

Free space on block device in bytes

磁盤可用空間

elasticsearch_filesystem_data_size_bytes gauge 1

Size of block device in bytes

塊設備的大小(以字節爲單位)

elasticsearch_filesystem_io_stats_device_operations_count gauge 1

Count of disk operations

磁盤操作數

elasticsearch_filesystem_io_stats_device_read_operations_count gauge 1

Count of disk read operations

磁盤讀取操作數

elasticsearch_filesystem_io_stats_device_write_operations_count gauge 1

Count of disk write operations

磁盤寫操作數

elasticsearch_filesystem_io_stats_device_read_size_kilobytes_sum gauge 1

Total kilobytes read from disk

從磁盤讀取的總千字節

elasticsearch_filesystem_io_stats_device_write_size_kilobytes_sum gauge 1

Total kilobytes written to disk

寫入磁盤的總千字節

elasticsearch_indices_docs gauge 1

Count of documents on this node

此節點上的文檔數

elasticsearch_indices_docs_deleted gauge 1

Count of deleted documents on this node

此節點上已刪除文檔的數量

elasticsearch_indices_docs_primary gauge  

Count of documents with only primary shards on all nodes

所有節點上僅具有主分片的文檔數

elasticsearch_indices_fielddata_evictions counter 1

Evictions from field data

來自fielddata緩存的驅逐次數

elasticsearch_indices_fielddata_memory_size_bytes gauge 1

Field data cache memory usage in bytes

fielddata緩存的大小(字節)

elasticsearch_indices_filter_cache_evictions counter 1

Evictions from filter cache

來自過濾器緩存的驅逐次數(僅版本2.x)

elasticsearch_indices_filter_cache_memory_size_bytes gauge 1

Filter cache memory usage in bytes

過濾器高速緩存的大小(字節)(僅版本2.x)

elasticsearch_indices_flush_time_seconds counter 1

Cumulative flush time in seconds

將索引刷新到磁盤上的總時間(累計flush時間)

elasticsearch_indices_flush_total counter 1

Total flushes

索引刷新總數到磁盤

elasticsearch_indices_get_exists_time_seconds counter 1

Total time get exists in seconds

獲得的總時間以秒爲單位

elasticsearch_indices_get_exists_total counter 1

Total get exists operations

獲得操作總數

elasticsearch_indices_get_missing_time_seconds counter 1

Total time of get missing in seconds

花費在文檔丟失的GET請求上的總時間

elasticsearch_indices_get_missing_total counter 1

Total get missing

丟失的文件的GET請求總數

elasticsearch_indices_get_time_seconds counter 1

Total get time in seconds

總獲得時間(以秒爲單位)

elasticsearch_indices_get_total counter 1

Total get

總獲得

elasticsearch_indices_indexing_delete_time_seconds_total counter 1

Total time indexing delete in seconds

索引的文件刪除總時間

elasticsearch_indices_indexing_delete_total counter 1

Total indexing deletes

索引的文件刪除總數

elasticsearch_indices_indexing_index_time_seconds_total counter 1

Cumulative index time in seconds

索引文檔總時間

elasticsearch_indices_indexing_index_total counter 1

Total index calls

索引的文件總數

elasticsearch_indices_merges_docs_total counter 1

Cumulative docs merged

累積文檔合併

elasticsearch_indices_merges_total counter 1

Total merges

合併總數

elasticsearch_indices_merges_total_size_bytes_total counter 1

Total merge size in bytes

總合並大小(以字節爲單位)

elasticsearch_indices_merges_total_time_seconds_total counter 1

Total time spent merging in seconds

合併所花費的總時間(以秒爲單位)

elasticsearch_indices_query_cache_cache_total counter 1

Count of query cache

查詢緩存數

elasticsearch_indices_query_cache_cache_size gauge 1

Size of query cache

查詢緩存的大小

elasticsearch_indices_query_cache_count counter 2

Count of query cache hit/miss

查詢緩存命中/未命中計數

elasticsearch_indices_query_cache_evictions counter 1

Evictions from query cache

從查詢緩存中逐出

elasticsearch_indices_query_cache_memory_size_bytes gauge 1

Query cache memory usage in bytes

查詢緩存的內存使用量(以字節爲單位)

elasticsearch_indices_query_cache_total counter 1

Size of query cache total

查詢緩存總大小

elasticsearch_indices_refresh_time_seconds_total counter 1

Total time spent refreshing in seconds

刷新指數的總時間

elasticsearch_indices_refresh_total counter 1

Total refreshes

索引刷新總數

elasticsearch_indices_request_cache_count counter 2

Count of request cache hit/miss

請求緩存命中/未命中計數

elasticsearch_indices_request_cache_evictions counter 1

Evictions from request cache

從請求緩存中逐出

elasticsearch_indices_request_cache_memory_size_bytes gauge 1

Request cache memory usage in bytes

請求緩存內存使用量(以字節爲單位)

elasticsearch_indices_search_fetch_time_seconds counter 1

Total search fetch time in seconds

花費在提取上的總時間

elasticsearch_indices_search_fetch_total counter 1

Total number of fetches

提取總數

elasticsearch_indices_search_query_time_seconds counter 1

Total search query time in seconds

查詢總時間(性能)

elasticsearch_indices_search_query_total counter 1

Total number of queries

查詢總數(吞吐量)

elasticsearch_indices_segments_count gauge 1

Count of index segments on this node

此節點上索引段的計數

elasticsearch_indices_segments_memory_bytes gauge 1

Current memory size of segments in bytes

段的當前內存大小(以字節爲單位)

elasticsearch_indices_settings_stats_read_only_indices gauge 1

Count of indices that have read_only_allow_delete=true

具有read_only_allow_delete = true的索引計數

elasticsearch_indices_shards_docs gauge 3

Count of documents on this shard

該分片上的文檔數

elasticsearch_indices_shards_docs_deleted gauge 3

Count of deleted documents on each shard

每個分片上已刪除文檔的數量

elasticsearch_indices_store_size_bytes gauge 1

Current size of stored index data in bytes

當前存儲的索引數據大小(以字節爲單位)

elasticsearch_indices_store_size_bytes_primary gauge  

Current size of stored index data in bytes with only primary shards on all nodes

當前存儲的索引數據大小(以字節爲單位),所有節點上只有主分片

elasticsearch_indices_store_size_bytes_total gauge  

Current size of stored index data in bytes with all shards on all nodes

所有節點上所有分片的已存儲索引數據的當前大小(以字節爲單位)

elasticsearch_indices_store_throttle_time_seconds_total counter 1

Throttle time for index store in seconds

索引存儲的節流時間(以秒爲單位)

elasticsearch_indices_translog_operations counter 1

Total translog operations

總移轉作業

elasticsearch_indices_translog_size_in_bytes counter 1

Total translog size in bytes

總translog大小(以字節爲單位)

elasticsearch_indices_warmer_time_seconds_total counter 1

Total warmer time in seconds

總升溫時間(以秒爲單位)

elasticsearch_indices_warmer_total counter 1

Total warmer count

總暖箱數

elasticsearch_jvm_gc_collection_seconds_count counter 2

Count of JVM GC runs

垃圾蒐集數

elasticsearch_jvm_gc_collection_seconds_sum counter 2

GC run time in seconds

垃圾回收時間

elasticsearch_jvm_memory_committed_bytes gauge 2

JVM memory currently committed by area

最大使用內存限制

elasticsearch_jvm_memory_max_bytes gauge 1

JVM memory max

配置的最大jvm值

elasticsearch_jvm_memory_used_bytes gauge 2

JVM memory currently used by area

內存使用量

elasticsearch_jvm_memory_pool_used_bytes gauge 3

JVM memory currently used by pool

目前使用的JVM內存池

elasticsearch_jvm_memory_pool_max_bytes counter 3

JVM memory max by pool

JVM內存最大池數

elasticsearch_jvm_memory_pool_peak_used_bytes counter 3

JVM memory peak used by pool

池使用的JVM內存峯值

elasticsearch_jvm_memory_pool_peak_max_bytes counter 3

JVM memory peak max by pool

最大的JVM內存峯值

elasticsearch_os_cpu_percent gauge 1

Percent CPU used by the OS

操作系統使用的CPU百分比

elasticsearch_os_load1 gauge 1

Shortterm load average

短期平均負載

elasticsearch_os_load5 gauge 1

Midterm load average

中期平均負荷

elasticsearch_os_load15 gauge 1

Longterm load average

長期平均負載

elasticsearch_process_cpu_percent gauge 1

Percent CPU used by process

CPU使用率

elasticsearch_process_cpu_time_seconds_sum counter 3

Process CPU time in seconds

處理CPU時間(以秒爲單位)

elasticsearch_process_mem_resident_size_bytes gauge 1

Resident memory in use by process in bytes

進程使用的駐留內存(以字節爲單位)

elasticsearch_process_mem_share_size_bytes gauge 1

Shared memory in use by process in bytes

進程正在使用的共享內存(以字節爲單位)

elasticsearch_process_mem_virtual_size_bytes gauge 1

Total virtual memory used in bytes

使用的總虛擬內存(以字節爲單位)

elasticsearch_process_open_files_count gauge 1

Open file descriptors

ES進程打開的文件描述符

elasticsearch_snapshot_stats_number_of_snapshots gauge 1

Total number of snapshots

快照總數

elasticsearch_snapshot_stats_oldest_snapshot_timestamp gauge 1

Oldest snapshot timestamp

最早的快照時間戳

elasticsearch_snapshot_stats_snapshot_start_time_timestamp gauge 1

Last snapshot start timestamp

上次快照開始時間戳

elasticsearch_snapshot_stats_snapshot_end_time_timestamp gauge 1

Last snapshot end timestamp

上次快照結束時間戳記

elasticsearch_snapshot_stats_snapshot_number_of_failures gauge 1

Last snapshot number of failures

上次快照失敗次數

elasticsearch_snapshot_stats_snapshot_number_of_indices gauge 1

Last snapshot number of indices

索引的最後快照數量

elasticsearch_snapshot_stats_snapshot_failed_shards gauge 1

Last snapshot failed shards

上次快照失敗的分片

elasticsearch_snapshot_stats_snapshot_successful_shards gauge 1

Last snapshot successful shards

上次快照成功分片

elasticsearch_snapshot_stats_snapshot_total_shards gauge 1

Last snapshot total shard

上次快照總分片

elasticsearch_thread_pool_active_count gauge 14

Thread Pool threads active

線程池線程活動(bulk、index、search、force_merge)

elasticsearch_thread_pool_completed_count counter 14

Thread Pool operations completed

線程池操作完成(bulk、index、search、force_merge)

elasticsearch_thread_pool_largest_count gauge 14

Thread Pool largest threads count

線程池最大線程數(bulk、index、search、force_merge)

elasticsearch_thread_pool_queue_count gauge 14

Thread Pool operations queued

線程池中的排隊線程數(bulk、index、search、force_merge)

elasticsearch_thread_pool_rejected_count counter 14

Thread Pool operations rejected

線程池的被拒絕線程數

elasticsearch_thread_pool_threads_count gauge 14

Thread Pool current threads count

線程池當前線程數

elasticsearch_transport_rx_packets_total counter 1

Count of packets received

ES節點之間網絡入流量

elasticsearch_transport_rx_size_bytes_total counter 1

Total number of bytes received

接收的字節總數

elasticsearch_transport_tx_packets_total counter 1

Count of packets sent

ES節點之間網絡出流量

elasticsearch_transport_tx_size_bytes_total counter 1

Total number of bytes sent

發送的總字節數

elasticsearch_clusterinfo_last_retrieval_success_ts gauge 1

Timestamp of the last successful cluster info retrieval

上一次成功的集羣信息檢索的時間戳

elasticsearch_clusterinfo_up gauge 1

Up metric for the cluster info collector

集羣信息收集器的啓動指標

elasticsearch_clusterinfo_version_info gauge 6

Constant metric with ES version information as labels

帶有ES版本信息作爲標籤的常量指標

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章