Exporter介绍与指标数据汇总(完结)
1.exporter是什么
廣義上講所有可以向Prometheus提供監(jiān)控樣本數(shù)據(jù)的程序都可以被稱為一個Exporter。而Exporter的一個實例稱為target,如下所示,Prometheus通過輪詢的方式定期從這些target中獲取樣本數(shù)據(jù):
2.exporter的來源與分類
從Exporter的來源上來講,主要分為兩類:
社區(qū)提供的
Prometheus社區(qū)提供了豐富的Exporter實現(xiàn),涵蓋了從基礎(chǔ)設(shè)施,中間件以及網(wǎng)絡(luò)等各個方面的監(jiān)控功能。這些Exporter可以實現(xiàn)大部分通用的監(jiān)控需求。下表列舉一些社區(qū)中常用的Exporter:
范圍 | 常用Exporter |
Java應(yīng)用 | jmx_exporter |
數(shù)據(jù)庫 | Postgresql?Exporter,?Oracle?Exporter,?MySQL Exporter, Redis Exporter, MongoDB Exporter, MSSQL Exporter,Memcached?Exporter等 |
硬件 | Apcupsd Exporter,IoT Edison Exporter, IPMI Exporter, Node Exporter等 |
消息隊列 | Beanstalkd Exporter, Kafka Exporter, NSQ Exporter, RabbitMQ Exporter等 |
存儲 | Ceph Exporter, Gluster Exporter, HDFS Exporter, ScaleIO Exporter等 |
HTTP服務(wù) | Apache Exporter, HAProxy Exporter, Nginx Exporter等 |
API服務(wù) | AWS ECS Exporter, Docker Cloud Exporter, Docker Hub Exporter, GitHub Exporter等 |
日志 | Fluentd Exporter, Grok Exporter等 |
監(jiān)控系統(tǒng) | Collectd Exporter, Graphite Exporter, InfluxDB Exporter, Nagios Exporter, SNMP Exporter等 |
其它 | Blockbox Exporter, JIRA Exporter, Jenkins Exporter, Confluence Exporter等 |
用戶自定義的 | 除了直接使用社區(qū)提供的Exporter程序以外,用戶還可以基于Prometheus提供的Client Library創(chuàng)建自己的Exporter程序 |
目前Promthues社區(qū)官方提供了對以下編程語言的支持:Go、Java/Scala、Python、Ruby。同時還有第三方實現(xiàn)的如:Bash、C++、Common Lisp、Erlang,、Haskeel、Lua、Node.js、PHP、Rust等。
Prometheus自身的指標:
go_gc_duration_seconds summary go_goroutines gauge go_info gauge go_memstats_alloc_bytes gauge go_memstats_alloc_bytes_total counter go_memstats_buck_hash_sys_bytes gauge go_memstats_frees_total counter go_memstats_gc_sys_bytes gauge go_memstats_heap_alloc_bytes gauge go_memstats_heap_idle_bytes gauge go_memstats_heap_inuse_bytes gauge go_memstats_heap_objects gauge go_memstats_heap_released_bytes gauge go_memstats_heap_sys_bytes gauge go_memstats_last_gc_time_seconds gauge go_memstats_lookups_total counter go_memstats_mallocs_total counter go_memstats_mcache_inuse_bytes gauge go_memstats_mcache_sys_bytes gauge go_memstats_mspan_inuse_bytes gauge go_memstats_mspan_sys_bytes gauge go_memstats_next_gc_bytes gauge go_memstats_other_sys_bytes gauge go_memstats_stack_inuse_bytes gauge go_memstats_stack_sys_bytes gauge go_memstats_sys_bytes gauge go_threads gauge net_conntrack_dialer_conn_attempted_total counter net_conntrack_dialer_conn_closed_total counter net_conntrack_dialer_conn_established_total counter net_conntrack_dialer_conn_failed_total counter net_conntrack_listener_conn_accepted_total counter net_conntrack_listener_conn_closed_total counter process_cpu_seconds_total counter process_max_fds gauge process_open_fds gauge process_resident_memory_bytes gauge process_start_time_seconds gauge process_virtual_memory_bytes gauge prometheus_api_remote_read_queries gauge prometheus_build_info gauge prometheus_config_last_reload_success_timestamp_seconds gauge prometheus_config_last_reload_successful gauge prometheus_engine_queries gauge prometheus_engine_queries_concurrent_max gauge prometheus_engine_query_duration_seconds summary prometheus_engine_query_log_enabled gauge prometheus_engine_query_log_failures_total counter prometheus_http_request_duration_seconds histogram prometheus_http_requests_total counter prometheus_http_response_size_bytes histogram prometheus_notifications_alertmanagers_discovered gauge prometheus_notifications_dropped_total counter prometheus_notifications_queue_capacity gauge prometheus_notifications_queue_length gauge prometheus_ready gauge prometheus_remote_storage_exemplars_in_total counter prometheus_remote_storage_highest_timestamp_in_seconds gauge prometheus_remote_storage_histograms_in_total counter prometheus_remote_storage_samples_in_total counter prometheus_remote_storage_string_interner_zero_reference_releases_total counter prometheus_rule_evaluation_duration_seconds summary prometheus_rule_group_duration_seconds summary prometheus_sd_azure_failures_total counter prometheus_sd_consul_rpc_duration_seconds summary prometheus_sd_consul_rpc_failures_total counter prometheus_sd_discovered_targets gauge prometheus_sd_dns_lookup_failures_total counter prometheus_sd_dns_lookups_total counter prometheus_sd_failed_configs gauge prometheus_sd_file_read_errors_total counter prometheus_sd_file_scan_duration_seconds summary prometheus_sd_file_watcher_errors_total counter prometheus_sd_http_failures_total counter prometheus_sd_kubernetes_events_total counter prometheus_sd_kuma_fetch_duration_seconds summary prometheus_sd_kuma_fetch_failures_total counter prometheus_sd_kuma_fetch_skipped_updates_total counter prometheus_sd_linode_failures_total counter prometheus_sd_nomad_failures_total counter prometheus_sd_received_updates_total counter prometheus_sd_updates_total counter prometheus_target_interval_length_seconds summary prometheus_target_metadata_cache_bytes gauge prometheus_target_metadata_cache_entries gauge prometheus_target_scrape_pool_exceeded_label_limits_total counter prometheus_target_scrape_pool_exceeded_target_limit_total counter prometheus_target_scrape_pool_reloads_failed_total counter prometheus_target_scrape_pool_reloads_total counter prometheus_target_scrape_pool_sync_total counter prometheus_target_scrape_pool_targets gauge prometheus_target_scrape_pools_failed_total counter prometheus_target_scrape_pools_total counter prometheus_target_scrapes_cache_flush_forced_total counter prometheus_target_scrapes_exceeded_body_size_limit_total counter prometheus_target_scrapes_exceeded_sample_limit_total counter prometheus_target_scrapes_exemplar_out_of_order_total counter prometheus_target_scrapes_sample_duplicate_timestamp_total counter prometheus_target_scrapes_sample_out_of_bounds_total counter prometheus_target_scrapes_sample_out_of_order_total counter prometheus_target_sync_failed_total counter prometheus_target_sync_length_seconds summary prometheus_template_text_expansion_failures_total counter prometheus_template_text_expansions_total counter prometheus_treecache_watcher_goroutines gauge prometheus_treecache_zookeeper_failures_total counter prometheus_tsdb_blocks_loaded gauge prometheus_tsdb_checkpoint_creations_failed_total counter prometheus_tsdb_checkpoint_creations_total counter prometheus_tsdb_checkpoint_deletions_failed_total counter prometheus_tsdb_checkpoint_deletions_total counter prometheus_tsdb_clean_start gauge prometheus_tsdb_compaction_chunk_range_seconds histogram prometheus_tsdb_compaction_chunk_samples histogram prometheus_tsdb_compaction_chunk_size_bytes histogram prometheus_tsdb_compaction_duration_seconds histogram prometheus_tsdb_compaction_populating_block gauge prometheus_tsdb_compactions_failed_total counter prometheus_tsdb_compactions_skipped_total counter prometheus_tsdb_compactions_total counter prometheus_tsdb_compactions_triggered_total counter prometheus_tsdb_data_replay_duration_seconds gauge prometheus_tsdb_exemplar_exemplars_appended_total counter prometheus_tsdb_exemplar_exemplars_in_storage gauge prometheus_tsdb_exemplar_last_exemplars_timestamp_seconds gauge prometheus_tsdb_exemplar_max_exemplars gauge prometheus_tsdb_exemplar_out_of_order_exemplars_total counter prometheus_tsdb_exemplar_series_with_exemplars_in_storage gauge prometheus_tsdb_head_active_appenders gauge prometheus_tsdb_head_chunks gauge prometheus_tsdb_head_chunks_created_total counter prometheus_tsdb_head_chunks_removed_total counter prometheus_tsdb_head_gc_duration_seconds summary prometheus_tsdb_head_max_time gauge prometheus_tsdb_head_max_time_seconds gauge prometheus_tsdb_head_min_time gauge prometheus_tsdb_head_min_time_seconds gauge prometheus_tsdb_head_out_of_order_samples_appended_total counter prometheus_tsdb_head_samples_appended_total counter prometheus_tsdb_head_series gauge prometheus_tsdb_head_series_created_total counter prometheus_tsdb_head_series_not_found_total counter prometheus_tsdb_head_series_removed_total counter prometheus_tsdb_head_truncations_failed_total counter prometheus_tsdb_head_truncations_total counter prometheus_tsdb_isolation_high_watermark gauge prometheus_tsdb_isolation_low_watermark gauge prometheus_tsdb_lowest_timestamp gauge prometheus_tsdb_lowest_timestamp_seconds gauge prometheus_tsdb_mmap_chunk_corruptions_total counter prometheus_tsdb_out_of_bound_samples_total counter prometheus_tsdb_out_of_order_samples_total counter prometheus_tsdb_reloads_failures_total counter prometheus_tsdb_reloads_total counter prometheus_tsdb_retention_limit_bytes gauge prometheus_tsdb_size_retentions_total counter prometheus_tsdb_snapshot_replay_error_total counter prometheus_tsdb_storage_blocks_bytes gauge prometheus_tsdb_symbol_table_size_bytes gauge prometheus_tsdb_time_retentions_total counter prometheus_tsdb_tombstone_cleanup_seconds histogram prometheus_tsdb_too_old_samples_total counter prometheus_tsdb_vertical_compactions_total counter prometheus_tsdb_wal_completed_pages_total counter prometheus_tsdb_wal_corruptions_total counter prometheus_tsdb_wal_fsync_duration_seconds summary prometheus_tsdb_wal_page_flushes_total counter prometheus_tsdb_wal_segment_current gauge prometheus_tsdb_wal_truncate_duration_seconds summary prometheus_tsdb_wal_truncations_failed_total counter prometheus_tsdb_wal_truncations_total counter prometheus_tsdb_wal_writes_failed_total counter prometheus_web_federation_errors_total counter prometheus_web_federation_warnings_total counter promhttp_metric_handler_requests_in_flight gauge promhttp_metric_handler_requests_total counter2.1數(shù)據(jù)庫
2.1.1?MySQL Exporter
(1)指標數(shù)據(jù)
MySQLExporter可以收集的指標數(shù)據(jù)有:MySQL 實例性能指標、MySQL 實例運行狀態(tài)指標、MySQL 實例關(guān)聯(lián)表指標、MySQL 實例臨時表指標、MySQL 實例鎖定指標、MySQL 實例緩存指標、MySQL 實例查詢指標、MySQL 實例索引指標、MySQL 實例日志指標。MySQL Exporter可以收集的指標數(shù)據(jù)包括:MySQL 實例性能指標、MySQL 實例運行狀態(tài)指標、MySQL 實例關(guān)聯(lián)表指標、MySQL 實例臨時表指標、MySQL 實例鎖定指標、MySQL 實例緩存指標、MySQL 實例查詢指標、MySQL 實例索引指標、MySQL 實例日志指標。
(2)指標參數(shù)
MySQLExporter的指標參數(shù)包括:
mysql_up mysql_threads_connected mysql_threads_running mysql_queries_total mysql_queries_slow mysql_slow_queries_total mysql_slow_queries_time_total mysql_slow_queries_time_min mysql_slow_queries_time_max mysql_slow_queries_time_avg mysql_questions_total mysql_questions_slow mysql_questions_select mysql_questions_insert mysql_questions_update mysql_questions_delete mysql_questions_other mysql_open_tables mysql_opened_tables_total mysql_opened_tables_created mysql_opened_tables_deleted mysql_connections_total mysql_connections_aborted mysql_connections_failed mysql_connections_max_connections mysql_connections_max_used mysql_connections_max_used_rate mysql_bytes_sent_total mysql_bytes_received_total mysql_user_time_total mysql_system_time_total mysql_cpu_time_total mysql_innodb_buffer_pool_reads mysql_innodb_buffer_pool_read_requests mysql_innodb_buffer_pool_write_requests mysql_innodb_rows_deleted mysql_innodb_rows_inserted mysql_innodb_rows_read mysql_innodb_rows_updated2.1.2?Redis Exporter
redisexporter支持以下指標數(shù)據(jù)和指標參數(shù):
總命令數(shù) - 每秒命令數(shù):command_total,command_duration_seconds
連接數(shù):connected_clients
內(nèi)存使用情況:used_memory_bytes,used_memory_rss_bytes,used_memory_peak_bytes
網(wǎng)絡(luò)流量:total_net_input_bytes,total_net_output_bytes
請求數(shù):expired_keys,evicted_keys,keyspace_hits,keyspace_misses
慢查詢:slowlog_log_slower_than,slowlog_longest_duration_seconds
2.1.3?MongoDB Exporter
MongoDBExporter支持以下指標數(shù)據(jù)和指標參數(shù):
數(shù)據(jù)庫狀態(tài)指標:
replset_state:集群狀態(tài)
replset_mystate:本機狀態(tài)
uptime:運行時間
version:MongoDB版本號
連接指標:
connections_current:當(dāng)前連接數(shù)
connections_available:可用連接數(shù)
connections_totalCreated:總創(chuàng)建連接數(shù)
操作指標:
wiredTiger_transaction_checkpoint_total:檢查點總數(shù)
wiredTiger_transaction_checkpoint_max:最大檢查點
wiredTiger_transaction_checkpoint_min:最小檢查點
wiredTiger_transaction_checkpoint_time_secs:檢查點耗時
日志指標:
log_fatal:致命錯誤
log_error:錯誤數(shù)量
log_warning:警告數(shù)量
log_info:信息數(shù)量
其它指標:
background_flushing_average_ms:刷新時間
background_flushing_total_ms:累計刷新時間
2.1.4?MSSQL Exporter
(1)MSSQLExporter提供的指標數(shù)據(jù)包括:
MSSQLExporter指標參數(shù)包括:連接池大小、活動連接數(shù)、客戶端連接數(shù)、連接請求數(shù)、緩存命中率、緩存空間利用率、活動查詢數(shù)、已完成查詢數(shù)、查詢時間、內(nèi)存使用量、CPU使用率、I / O等待時間、實例大小、登錄數(shù)等。
(2)指標參數(shù)
MSSQLExporter指標參數(shù)包括:1.sql_batch_requests: 批處理請求數(shù)量
2.sql_failed_batch_requests: 失敗的批處理請求數(shù)量
3.sql_select_requests: 查詢請求數(shù)量
4.sql_failed_select_requests: 失敗的查詢請求數(shù)量
5.sql_transaction_requests: 事務(wù)請求數(shù)量
6.sql_failed_transaction_requests: 失敗的事務(wù)請求數(shù)量
7.sql_stored_procedure_requests: 存儲過程請求數(shù)量
8.sql_failed_stored_procedure_requests: 失敗的存儲過程請求數(shù)量
9.sql_cursor_requests: 游標請求數(shù)量
10.sql_failed_cursor_requests: 失敗的游標請求數(shù)量
11.sql_user_defined_function_requests: 用戶定義函數(shù)請求數(shù)量
12.sql_failed_user_defined_function_requests: 失敗的用戶定義函數(shù)請求數(shù)量
13.sql_deadlock_count: 死鎖數(shù)量
14.sql_lock_waits: 鎖等待數(shù)量
15.sql_lock_timeouts: 鎖超時數(shù)量
16.sql_lock_waits_time: 鎖等待時間
17.sql_lock_timeouts_time: 鎖超時時間
18.sql_login_failed_count: 登錄失敗數(shù)量
19.sql_login_succeeded_count: 登錄成功數(shù)量
20.sql_user_connection_time: 用戶連接時間
2.1.5?PostgreSQL?Exporter
(1)PostgreSQLExporter的指標數(shù)據(jù)包括:
PostgreSQLExporter的指標數(shù)據(jù)包括表空間使用情況、連接數(shù)、服務(wù)器運行時間、數(shù)據(jù)庫大小、查詢次數(shù)等。
(2)PostgreSQLExporter支持的指標參數(shù)包括:
pg_database_size:數(shù)據(jù)庫大小; pg_stat_database_numbackends:數(shù)據(jù)庫當(dāng)前連接數(shù); pg_stat_database_xact_commit:事務(wù)提交次數(shù); pg_stat_database_xact_rollback:事務(wù)回滾次數(shù); pg_stat_database_blks_read:數(shù)據(jù)庫塊讀取次數(shù); pg_stat_database_blks_hit:數(shù)據(jù)庫塊命中次數(shù); pg_stat_database_tuples_returned:返回的元組數(shù); pg_stat_database_tuples_fetched:元組獲取次數(shù); pg_stat_database_tuples_inserted:插入元組數(shù); pg_stat_database_tuples_updated:更新元組數(shù); pg_stat_database_tuples_deleted:刪除的元組數(shù); pg_stat_database_conflicts:數(shù)據(jù)庫沖突次數(shù); pg_stat_database_temp_files:臨時文件數(shù); pg_stat_database_temp_bytes:臨時文件字節(jié)數(shù); pg_stat_database_deadlocks:死鎖次數(shù); pg_stat_database_blk_read_time:塊讀取時間; pg_stat_database_blk_write_time:塊寫入時間;2.1.6?MariaDB?Exporter
(1)?持以下指標數(shù)據(jù):
數(shù)據(jù)庫指標:包括數(shù)據(jù)庫活動、數(shù)據(jù)庫大小、數(shù)據(jù)庫查詢、資源使用率和更多。服務(wù)器指標:包括內(nèi)存使用率、磁盤使用率、CPU使用率和更多。
指標參數(shù):包括服務(wù)器名稱、數(shù)據(jù)庫名稱、端口號、用戶名稱和密碼等。
(2)MariaDBExporter支持以下參數(shù):
innodb_buffer_pool_read_requests:InnoDB緩沖池的讀取請求數(shù) innodb_buffer_pool_read_ahead_evicted:InnoDB緩沖池的讀取提前移出數(shù) innodb_buffer_pool_read_ahead_rnd:InnoDB緩沖池的讀取提前隨機數(shù) innodb_buffer_pool_read_ahead:InnoDB緩沖池的讀取提前數(shù) innodb_buffer_pool_pages_total:InnoDB緩沖池的頁總數(shù) innodb_buffer_pool_pages_free:InnoDB緩沖池的可用頁數(shù) innodb_buffer_pool_pages_data:InnoDB緩沖池的數(shù)據(jù)頁數(shù) innodb_buffer_pool_pages_dirty:InnoDB緩沖池的臟頁數(shù) Innodb_buffer_pool_pages_flushed:InnoDB緩沖池的刷新頁數(shù)2.1.7?Memcached Exporter
2.2?硬件
2.2.1?Apcupsd Exporter
(1)ApcupsdExporter指標數(shù)據(jù)有:
1.電池狀態(tài),包括:電壓,溫度,容量,剩余時間,狀態(tài)等2.逆變器狀態(tài),包括:輸入電壓,輸出電壓,功率,頻率,狀態(tài)等
3.電池充電狀態(tài),包括:充電電流,電壓,狀態(tài)等
4.負載狀態(tài),包括:電流,功率,電壓,狀態(tài)等
5.事件計數(shù)器,包括:充電,斷電,負載開關(guān),電池更換,其他事件等
(2)ApcupsdExporter指標參數(shù)包括:
apcupsd_status:APC UPS Status apcupsd_onbatt_seconds:UPS On Battery Seconds apcupsd_battcharge_percent:UPS Battery Charge Percent apcupsd_linev_volts:UPS Line Voltage apcupsd_load_percent:UPS Load Percent apcupsd_timeleft_seconds:UPS Time Left On Battery Seconds apcupsd_temp_c:UPS Temperature Celsius apcupsd_battvolt_volts:UPS Battery Voltage2.2.2?IoT Edison Exporter
(1)IoTEdisonExporter可以收集以下指標數(shù)據(jù):CPU溫度、內(nèi)存使用量、CPU負載、CPU核心數(shù)、磁盤容量使用量,網(wǎng)絡(luò)流量,磁盤讀寫速率,終端連接數(shù),CPU頻率,操作系統(tǒng)運行時間和IP地址。
(2)IoTEdisonExporter指標參數(shù)包括:
cpu_usage_percent:CPU使用率。 mem_usage_percent:內(nèi)存使用率。 disk_usage_percent:磁盤使用率。 net_in_bytes_total:網(wǎng)絡(luò)流入流量總量。 net_out_bytes_total:網(wǎng)絡(luò)流出流量總量。 net_in_packets_total:網(wǎng)絡(luò)流入數(shù)據(jù)包總量。 net_out_packets_total:網(wǎng)絡(luò)流出數(shù)據(jù)包總量。 net_in_bytes_per_second:網(wǎng)絡(luò)流入流量每秒量。 net_out_bytes_per_second:網(wǎng)絡(luò)流出流量每秒量。 net_in_packets_per_second:網(wǎng)絡(luò)流入數(shù)據(jù)包每秒量。 net_out_packets_per_second:網(wǎng)絡(luò)流出數(shù)據(jù)包每秒量。2.2.3 IPMI Exporter
(1)IPMIExporter提供的指標數(shù)據(jù)包括:?電源面板指標、風(fēng)扇指標、溫度指標、電壓指標、電池指標、健康狀態(tài)指標、服務(wù)器狀態(tài)指標、控制器指標、系統(tǒng)事件指標等。
(2)IPMIExporter指標參數(shù)包括:
ipmi_sensor_name:傳感器名稱; ipmi_sensor_type:傳感器類型; ipmi_sensor_reading:傳感器讀取值; ipmi_sensor_units:傳感器單位; ipmi_sensor_state:傳感器狀態(tài); ipmi_sensor_state_string:傳感器狀態(tài)字符串; ipmi_sensor_discrete_state:傳感器離散狀態(tài); ipmi_sensor_discrete_state_string:傳感器離散狀態(tài)字符串; ipmi_sensor_discrete_reading:傳感器離散讀取值; ipmi_sensor_discrete_reading_string:傳感器離散讀取值字符串; ipmi_sensor_normal_min:正常最小值; ipmi_sensor_normal_max:正常最大值; ipmi_sensor_unspecified_min:未指定最小值; ipmi_sensor_unspecified_max:未指定最大值; ipmi_sensor_non_critical_min:非關(guān)鍵最小值; ipmi_sensor_non_critical_max:非關(guān)鍵最大值; ipmi_sensor_critical_min:關(guān)鍵最小值; ipmi_sensor_critical_max:關(guān)鍵最大值; ipmi_sensor_non_recoverable_min:不可恢復(fù)最小值; ipmi_sensor_non_recoverable_max:不可恢復(fù)最大值; ipmi_sensor_reading_min:讀取值最小值; ipmi_sensor_reading_max:讀取值最大值; ipmi_sensor_sensed_capabilities:傳感器感知功能; ipmi_sensor_enabled_capabilities:傳感器啟用功能; ipmi_sensor_event_reading_type_code:傳感器事件讀取類型代碼; ipmi_sensor_event_type_code:傳感器事件類型代碼; ipmi_sensor_event_data1:傳感器事件數(shù)據(jù)1; ipmi_sensor_event_data2:傳感器事件數(shù)據(jù)2; ipmi_sensor_event_data3:傳感器事件數(shù)據(jù)3; ipmi_sensor_event_data_bytes:傳感器事件數(shù)據(jù)字節(jié); ipmi_sensor_event_data_string:傳感器事件數(shù)據(jù)字符串; ipmi_sensor_discrete_thresholds:傳感器離散閾值; ipmi_sensor_discrete_states:傳感器離散狀態(tài); ipmi_sensor_discrete_readable_states:傳感器可讀離散狀態(tài); ipmi_sensor_discrete_raw_reading:傳感器離散原始讀取值; ipmi_sensor_discrete_readable_reading:傳感器可讀離散讀取值; ipmi_sensor_discrete_sensor_type:傳感器離散類型; ipmi_sensor_discrete_event_type_code:傳感器離散事件類型代碼; ipmi_sensor_discrete_event_data1:傳感器離散事件數(shù)據(jù)1; ipmi_sensor_discrete_event_data2:傳感器離散事件數(shù)據(jù)2; ipmi_sensor_discrete_event_data3:傳感器離散事件數(shù)據(jù)3; ipmi_sensor_discrete_event_data_bytes:傳感器離散事件數(shù)據(jù)字節(jié); ipmi_sensor_discrete_event_data_string:傳感器離散事件數(shù)據(jù)字符串; ipmi_sensor_discrete_event_state:傳感器離散事件狀態(tài); ipmi_sensor_discrete_event_state_string:傳感器離散事件狀態(tài)字符串; ipmi_sensor_discrete_threshold_states:傳感器離散閾值狀態(tài); ipmi_sensor_discrete_threshold_state_strings:傳感器離散閾值狀態(tài)字符串; ipmi_sensor_discrete_sensor_state:傳感器離散傳感器狀態(tài); ipmi_sensor_discrete_sensor_state_string:傳感器離散傳感器狀態(tài)字符串; ipmi_sensor_discrete_sensor_type_code:傳感器離散傳感器類型代碼; ipmi_sensor_discrete_sensor_type_string:傳感器離散傳感器類型字符串; ipmi_sensor_discrete_sensor_units:傳感器離散傳感器單位; ipmi_device_name:設(shè)備名稱; ipmi_device_id:設(shè)備ID; ipmi_device_type:設(shè)備類型; ipmi_device_bus_id:設(shè)備總線ID; ipmi_device_bus_type:設(shè)備總線類型; ipmi_device_address:設(shè)備地址; ipmi_device_address_type:設(shè)備地址類型; ipmi_device_address_type_string:設(shè)備地址類型字符串; ipmi_device_secondary_address:設(shè)備次地址; ipmi_device_secondary_address_type:設(shè)備次地址類型; ipmi_device_secondary_address_type_string:設(shè)備次地址類型字符串; ipmi_device_firmware_revision:設(shè)備固件版本; ipmi_device_ipmi_version:設(shè)備IPMI版本; ipmi_device_manufacturer_id:設(shè)備制造商ID; ipmi_device_manufacturer_name:設(shè)備制造商名稱; ipmi_device_product_id:設(shè)備產(chǎn)品ID; ipmi_device_product_name:設(shè)備產(chǎn)品名稱; ipmi_device_device_id:設(shè)備設(shè)備ID; ipmi_device_device_revision:設(shè)備設(shè)備版本; ipmi_device_slave_address:設(shè)備從站地址; ipmi_device_slave_address_type:設(shè)備從站地址類型; ipmi_device_slave_address_type_string:設(shè)備從站地址類型字符串; ipmi_device_access_address:設(shè)備訪問地址; ipmi_device_access_address_type:設(shè)備訪問地址類型; ipmi_device_access_address_type_string:設(shè)備訪問地址類型字符串; ipmi_device_bridging_supported:設(shè)備支持橋接; ipmi_device_bridging_enabled:設(shè)備啟用橋接;2.2.4?Node Exporter
(1)NodeExporter提供了多個指標數(shù)據(jù),包括:
1.硬件計算機硬件信息,如CPU、內(nèi)存、硬盤、網(wǎng)卡等;2.系統(tǒng)狀態(tài)指標,如運行時間、系統(tǒng)負載、進程數(shù)量等;
3.服務(wù)器節(jié)點狀態(tài)指標,如容器、Docker、Kubernetes等;
4.網(wǎng)絡(luò)狀態(tài)指標,如網(wǎng)絡(luò)連接數(shù)量、流量等;
5.日志指標,如日志大小、日志級別等;
6.性能指標,如吞吐量、延遲、失敗率等。
(2)NodeExporter指標參數(shù)有:
1.node_boot_time:系統(tǒng)啟動時間 2.node_context_switches:上下文切換次數(shù) 3.node_cpu_seconds_total:CPU總秒數(shù) 4.node_disk_io_time_seconds_total:磁盤IO時間總秒數(shù) 5.node_disk_io_time_weighted_seconds_total:磁盤IO加權(quán)時間總秒數(shù) 6.node_disk_read_bytes_total:磁盤讀取總字節(jié)數(shù) 7.node_disk_read_time_seconds_total:磁盤讀取總時間秒數(shù) 8.node_disk_write_bytes_total:磁盤寫入總字節(jié)數(shù) 9.node_disk_write_time_seconds_total:磁盤寫入總時間秒數(shù) 10.node_filesystem_avail_bytes:文件系統(tǒng)可用字節(jié)數(shù) 11.node_filesystem_free_bytes:文件系統(tǒng)空閑字節(jié)數(shù) 12.node_filesystem_size_bytes:文件系統(tǒng)總字節(jié)數(shù) 13.node_filesystem_type:文件系統(tǒng)類型 14.node_intr_total:中斷總數(shù) 15.node_load1:1分鐘負載 16.node_load15:15分鐘負載 17.node_load5:5分鐘負載 18.node_memory_Active_bytes:活躍內(nèi)存字節(jié)數(shù) 19.node_memory_Buffers_bytes:緩沖內(nèi)存字節(jié)數(shù) 20.node_memory_Cached_bytes:緩存內(nèi)存字節(jié)數(shù) 21.node_memory_MemAvailable_bytes:可用內(nèi)存字節(jié)數(shù) 22.node_memory_MemFree_bytes:空閑內(nèi)存字節(jié)數(shù) 23.node_memory_MemTotal_bytes:總內(nèi)存字節(jié)數(shù) 24.node_memory_SwapCached_bytes:交換緩存內(nèi)存字節(jié)數(shù) 25.node_memory_SwapFree_bytes:空閑交換內(nèi)存字節(jié)數(shù) 26.node_memory_SwapTotal_bytes:總交換內(nèi)存字節(jié)數(shù) 27.node_network_receive_bytes_total:網(wǎng)絡(luò)接收總字節(jié)數(shù) 28.node_network_receive_errors_total:網(wǎng)絡(luò)接收錯誤總數(shù) 29.node_network_receive_packets_total:網(wǎng)絡(luò)接收總包數(shù) 30.node_network_transmit_bytes_total:網(wǎng)絡(luò)發(fā)送總字節(jié)數(shù) 31.node_network_transmit_errors_total:網(wǎng)絡(luò)發(fā)送錯誤總數(shù) 32.node_network_transmit_packets_total:網(wǎng)絡(luò)發(fā)送總包數(shù) 33.node_processes_blocked:被阻塞進程數(shù) 34.node_processes_running:正在運行進程數(shù) 35.node_processes_stopped:停止進程數(shù) 36.node_processes_uninterruptible:不可中斷進程數(shù) 37.node_time_seconds:節(jié)點時間(秒)2.2.5?Windows?Exporter
(1)WindowsExporter提供一系列指標參數(shù),包括:CPU利用率、內(nèi)存使用率、磁盤使用率、網(wǎng)絡(luò)流量、進程數(shù)量、服務(wù)狀態(tài)、系統(tǒng)啟動時間、系統(tǒng)日志等。
(2)Windows Exporter支持的指標參數(shù)
HELP go_gc_duration_seconds A summary of the pause duration of garbage collection cycles. TYPE go_gc_duration_seconds summary HELP go_goroutines Number of goroutines that currently exist. TYPE go_goroutines gauge HELP go_info Information about the Go environment. TYPE go_info gauge HELP go_memstats_alloc_bytes Number of bytes allocated and still in use. TYPE go_memstats_alloc_bytes gauge HELP go_memstats_alloc_bytes_total Total number of bytes allocated, even if freed. TYPE go_memstats_alloc_bytes_total counter HELP go_memstats_buck_hash_sys_bytes Number of bytes used by the profiling bucket hash table. TYPE go_memstats_buck_hash_sys_bytes gauge HELP go_memstats_frees_total Total number of frees. TYPE go_memstats_frees_total counter HELP go_memstats_gc_sys_bytes Number of bytes used for garbage collection system metadata. TYPE go_memstats_gc_sys_bytes gauge HELP go_memstats_heap_alloc_bytes Number of heap bytes allocated and still in use. TYPE go_memstats_heap_alloc_bytes gauge HELP go_memstats_heap_idle_bytes Number of heap bytes waiting to be used. TYPE go_memstats_heap_idle_bytes gauge HELP go_memstats_heap_inuse_bytes Number of heap bytes that are in use. TYPE go_memstats_heap_inuse_bytes gauge HELP go_memstats_heap_objects Number of allocated objects. TYPE go_memstats_heap_objects gauge HELP go_memstats_heap_released_bytes Number of heap bytes released to OS. TYPE go_memstats_heap_released_bytes gauge HELP go_memstats_heap_sys_bytes Number of heap bytes obtained from system. TYPE go_memstats_heap_sys_bytes gauge HELP go_memstats_last_gc_time_seconds Number of seconds since 1970 of last garbage collection. TYPE go_memstats_last_gc_time_seconds gauge HELP go_memstats_lookups_total Total number of pointer lookups. TYPE go_memstats_lookups_total counter HELP go_memstats_mallocs_total Total number of mallocs. TYPE go_memstats_mallocs_total counter HELP go_memstats_mcache_inuse_bytes Number of bytes in use by mcache structures. TYPE go_memstats_mcache_inuse_bytes gauge HELP go_memstats_mcache_sys_bytes Number of bytes used for mcache structures obtained from system. TYPE go_memstats_mcache_sys_bytes gauge HELP go_memstats_mspan_inuse_bytes Number of bytes in use by mspan structures. TYPE go_memstats_mspan_inuse_bytes gauge HELP go_memstats_mspan_sys_bytes Number of bytes used for mspan structures obtained from system. TYPE go_memstats_mspan_sys_bytes gauge HELP go_memstats_next_gc_bytes Number of heap bytes when next garbage collection will take place. TYPE go_memstats_next_gc_bytes gauge HELP go_memstats_other_sys_bytes Number of bytes used for other system allocations. TYPE go_memstats_other_sys_bytes gauge HELP go_memstats_stack_inuse_bytes Number of bytes in use by the stack allocator. TYPE go_memstats_stack_inuse_bytes gauge HELP go_memstats_stack_sys_bytes Number of bytes obtained from system for stack allocator. TYPE go_memstats_stack_sys_bytes gauge HELP go_memstats_sys_bytes Number of bytes obtained from system. TYPE go_memstats_sys_bytes gauge HELP go_threads Number of OS threads created. TYPE go_threads gauge HELP process_cpu_seconds_total Total user and system CPU time spent in seconds. TYPE process_cpu_seconds_total counter HELP process_max_fds Maximum number of open file descriptors. TYPE process_max_fds gauge HELP process_open_fds Number of open file descriptors. TYPE process_open_fds gauge HELP process_resident_memory_bytes Resident memory size in bytes. TYPE process_resident_memory_bytes gauge HELP process_start_time_seconds Start time of the process since unix epoch in seconds. TYPE process_start_time_seconds gauge HELP process_virtual_memory_bytes Virtual memory size in bytes. TYPE process_virtual_memory_bytes gauge HELP windows_cpu_clock_interrupts_total Total number of received and serviced clock tick interrupts TYPE windows_cpu_clock_interrupts_total counter HELP windows_cpu_core_frequency_mhz Core frequency in megahertz TYPE windows_cpu_core_frequency_mhz gauge HELP windows_cpu_cstate_seconds_total Time spent in low-power idle state TYPE windows_cpu_cstate_seconds_total counter HELP windows_cpu_dpcs_total Total number of received and serviced deferred procedure calls (DPCs) TYPE windows_cpu_dpcs_total counter HELP windows_cpu_idle_break_events_total Total number of time processor was woken from idle TYPE windows_cpu_idle_break_events_total counter HELP windows_cpu_interrupts_total Total number of received and serviced hardware interrupts TYPE windows_cpu_interrupts_total counter HELP windows_cpu_parking_status Parking Status represents whether a processor is parked or not TYPE windows_cpu_parking_status gauge HELP windows_cpu_processor_performance Processor Performance is the average performance of the processor while it is executing instructions, as a percentage of the nominal performance of the processor. On some processors, Processor Performance may exceed 100% TYPE windows_cpu_processor_performance gauge HELP windows_cpu_time_total Time that processor spent in different modes (dpc, idle, interrupt, privileged, user) TYPE windows_cpu_time_total counter HELP windows_cs_hostname Labeled system hostname information as provided by ComputerSystem.DNSHostName and ComputerSystem.Domain TYPE windows_cs_hostname gauge HELP windows_cs_logical_processors ComputerSystem.NumberOfLogicalProcessors TYPE windows_cs_logical_processors gauge HELP windows_cs_physical_memory_bytes ComputerSystem.TotalPhysicalMemory TYPE windows_cs_physical_memory_bytes gauge HELP windows_exporter_build_info A metric with a constant '1' value labeled by version, revision, branch, and goversion from which windows_exporter was built. TYPE windows_exporter_build_info gauge HELP windows_exporter_collector_duration_seconds windows_exporter: Duration of a collection. TYPE windows_exporter_collector_duration_seconds gauge HELP windows_exporter_collector_success windows_exporter: Whether the collector was successful. TYPE windows_exporter_collector_success gauge HELP windows_exporter_collector_timeout windows_exporter: Whether the collector timed out. TYPE windows_exporter_collector_timeout gauge HELP windows_exporter_perflib_snapshot_duration_seconds Duration of perflib snapshot capture TYPE windows_exporter_perflib_snapshot_duration_seconds gauge HELP windows_logical_disk_free_bytes Free space in bytes, updates every 10-15 min (LogicalDisk.PercentFreeSpace) TYPE windows_logical_disk_free_bytes gauge HELP windows_logical_disk_idle_seconds_total Seconds that the disk was idle (LogicalDisk.PercentIdleTime) TYPE windows_logical_disk_idle_seconds_total counter HELP windows_logical_disk_read_bytes_total The number of bytes transferred from the disk during read operations (LogicalDisk.DiskReadBytesPerSec) TYPE windows_logical_disk_read_bytes_total counter HELP windows_logical_disk_read_latency_seconds_total Shows the average time, in seconds, of a read operation from the disk (LogicalDisk.AvgDiskSecPerRead) TYPE windows_logical_disk_read_latency_seconds_total counter HELP windows_logical_disk_read_seconds_total Seconds that the disk was busy servicing read requests (LogicalDisk.PercentDiskReadTime) TYPE windows_logical_disk_read_seconds_total counter HELP windows_logical_disk_read_write_latency_seconds_total Shows the time, in seconds, of the average disk transfer (LogicalDisk.AvgDiskSecPerTransfer) TYPE windows_logical_disk_read_write_latency_seconds_total counter HELP windows_logical_disk_reads_total The number of read operations on the disk (LogicalDisk.DiskReadsPerSec) TYPE windows_logical_disk_reads_total counter HELP windows_logical_disk_requests_queued The number of requests queued to the disk (LogicalDisk.CurrentDiskQueueLength) TYPE windows_logical_disk_requests_queued gauge HELP windows_logical_disk_size_bytes Total space in bytes, updates every 10-15 min (LogicalDisk.PercentFreeSpace_Base) TYPE windows_logical_disk_size_bytes gauge HELP windows_logical_disk_split_ios_total The number of I/Os to the disk were split into multiple I/Os (LogicalDisk.SplitIOPerSec) TYPE windows_logical_disk_split_ios_total counter HELP windows_logical_disk_write_bytes_total The number of bytes transferred to the disk during write operations (LogicalDisk.DiskWriteBytesPerSec) TYPE windows_logical_disk_write_bytes_total counter HELP windows_logical_disk_write_latency_seconds_total Shows the average time, in seconds, of a write operation to the disk (LogicalDisk.AvgDiskSecPerWrite) TYPE windows_logical_disk_write_latency_seconds_total counter HELP windows_logical_disk_write_seconds_total Seconds that the disk was busy servicing write requests (LogicalDisk.PercentDiskWriteTime) TYPE windows_logical_disk_write_seconds_total counter HELP windows_logical_disk_writes_total The number of write operations on the disk (LogicalDisk.DiskWritesPerSec) TYPE windows_logical_disk_writes_total counter HELP windows_net_bytes_received_total (Network.BytesReceivedPerSec) TYPE windows_net_bytes_received_total counter HELP windows_net_bytes_sent_total (Network.BytesSentPerSec) TYPE windows_net_bytes_sent_total counter HELP windows_net_bytes_total (Network.BytesTotalPerSec) TYPE windows_net_bytes_total counter HELP windows_net_current_bandwidth_bytes (Network.CurrentBandwidth) TYPE windows_net_current_bandwidth_bytes gauge HELP windows_net_packets_outbound_discarded_total (Network.PacketsOutboundDiscarded) TYPE windows_net_packets_outbound_discarded_total counter HELP windows_net_packets_outbound_errors_total (Network.PacketsOutboundErrors) TYPE windows_net_packets_outbound_errors_total counter HELP windows_net_packets_received_discarded_total (Network.PacketsReceivedDiscarded) TYPE windows_net_packets_received_discarded_total counter HELP windows_net_packets_received_errors_total (Network.PacketsReceivedErrors) TYPE windows_net_packets_received_errors_total counter HELP windows_net_packets_received_total (Network.PacketsReceivedPerSec) TYPE windows_net_packets_received_total counter HELP windows_net_packets_received_unknown_total (Network.PacketsReceivedUnknown) TYPE windows_net_packets_received_unknown_total counter HELP windows_net_packets_sent_total (Network.PacketsSentPerSec) TYPE windows_net_packets_sent_total counter HELP windows_net_packets_total (Network.PacketsPerSec) TYPE windows_net_packets_total counter HELP windows_os_info OperatingSystem.Caption, OperatingSystem.Version TYPE windows_os_info gauge HELP windows_os_paging_free_bytes OperatingSystem.FreeSpaceInPagingFiles TYPE windows_os_paging_free_bytes gauge HELP windows_os_paging_limit_bytes OperatingSystem.SizeStoredInPagingFiles TYPE windows_os_paging_limit_bytes gauge HELP windows_os_physical_memory_free_bytes OperatingSystem.FreePhysicalMemory TYPE windows_os_physical_memory_free_bytes gauge HELP windows_os_process_memory_limit_bytes OperatingSystem.MaxProcessMemorySize TYPE windows_os_process_memory_limit_bytes gauge HELP windows_os_processes OperatingSystem.NumberOfProcesses TYPE windows_os_processes gauge HELP windows_os_processes_limit OperatingSystem.MaxNumberOfProcesses TYPE windows_os_processes_limit gauge HELP windows_os_time OperatingSystem.LocalDateTime TYPE windows_os_time gauge HELP windows_os_timezone OperatingSystem.LocalDateTime TYPE windows_os_timezone gauge HELP windows_os_users OperatingSystem.NumberOfUsers TYPE windows_os_users gauge HELP windows_os_virtual_memory_bytes OperatingSystem.TotalVirtualMemorySize TYPE windows_os_virtual_memory_bytes gauge HELP windows_os_virtual_memory_free_bytes OperatingSystem.FreeVirtualMemory TYPE windows_os_virtual_memory_free_bytes gauge HELP windows_os_visible_memory_bytes OperatingSystem.TotalVisibleMemorySize TYPE windows_os_visible_memory_bytes gauge HELP windows_service_info A metric with a constant '1' value labeled with service information TYPE windows_service_info gauge HELP windows_service_start_mode The start mode of the service (StartMode) TYPE windows_service_start_mode gauge HELP windows_service_state The state of the service (State) TYPE windows_service_state gauge HELP windows_service_status The status of the service (Status) TYPE windows_service_status gauge HELP windows_system_context_switches_total Total number of context switches (WMI source: PerfOS_System.ContextSwitchesPersec) TYPE windows_system_context_switches_total counter HELP windows_system_exception_dispatches_total Total number of exceptions dispatched (WMI source: PerfOS_System.ExceptionDispatchesPersec) TYPE windows_system_exception_dispatches_total counter HELP windows_system_processor_queue_length Length of processor queue (WMI source: PerfOS_System.ProcessorQueueLength) TYPE windows_system_processor_queue_length gauge HELP windows_system_system_calls_total Total number of system calls (WMI source: PerfOS_System.SystemCallsPersec) TYPE windows_system_system_calls_total counter HELP windows_system_system_up_time System boot time (WMI source: PerfOS_System.SystemUpTime) TYPE windows_system_system_up_time gauge HELP windows_system_threads Current number of threads (WMI source: PerfOS_System.Threads) TYPE windows_system_threads gauge HELP windows_textfile_scrape_error 1 if there was an error opening or reading a file, 0 otherwise TYPE windows_textfile_scrape_error gauge2.3?消息隊列
2.3.1?Beanstalkd Exporter
(1)BeanstalkdExporter可以收集當(dāng)前隊列狀態(tài)、每個隊列的投遞、處理、延遲和失敗次數(shù)、隊列狀態(tài)改變的次數(shù)以及每個連接的狀態(tài)等指標數(shù)據(jù)。
(2)BeanstalkdExporter的指標參數(shù)包括:
beanstalkd_up:表示 Beanstalkd 是否可用 beanstalkd_current_connections:當(dāng)前 Beanstalkd 連接數(shù) beanstalkd_current_jobs_urgent:當(dāng)前urgent狀態(tài)的任務(wù)數(shù) beanstalkd_current_jobs_ready:當(dāng)前ready狀態(tài)的任務(wù)數(shù) beanstalkd_current_jobs_delayed:當(dāng)前delayed狀態(tài)的任務(wù)數(shù) beanstalkd_current_jobs_buried:當(dāng)前buried狀態(tài)的任務(wù)數(shù) beanstalkd_total_connections:所有連接的總數(shù) beanstalkd_total_jobs:所有任務(wù)的總數(shù) beanstalkd_current_tubes:當(dāng)前tube的數(shù)量 beanstalkd_current_waiting:當(dāng)前等待的任務(wù)數(shù)2.3.2?Kafka Exporter
(1)KafkaExporter可以收集的指標數(shù)據(jù)包括:
Kafka集群的吞吐量; Kafka主題的消息量; Kafka分區(qū)的消息量; Kafka Broker的活動情況; Kafka Broker的消息延遲; Kafka Broker的吞吐量; Kafka Broker的連接數(shù); Kafka Broker的內(nèi)存使用情況; Kafka Broker的消息緩存使用情況; Kafka集群中消息拉取/推送的情況。(2)KafkaExporter的指標參數(shù)包括:
kafka_server_broker_topic_partition_count:每個Broker上的Topic分區(qū)數(shù)量。 kafka_server_broker_topic_min_isr:每個Topic分區(qū)最小ISR數(shù)量。 kafka_server_broker_topic_under_replicated_partition_count:每個Broker上的未復(fù)制分區(qū)數(shù)量。 kafka_server_broker_topic_unavailable_partition_count:每個Broker上的不可用分區(qū)數(shù)量。 kafka_server_broker_topic_leader_count:每個Topic的Leader的數(shù)量。 kafka_server_broker_topic_leader_elected:每個Topic的Leader已經(jīng)被選舉。 kafka_server_broker_topic_follower_count:每個Topic上的Follower的數(shù)量。 kafka_server_broker_topic_log_end_offset:每個Topic分區(qū)的日志結(jié)束偏移量。 kafka_server_broker_topic_messages_in_per_sec:每秒Topic消息數(shù)量。 kafka_server_broker_topic_bytes_in_per_sec:每秒Topic字節(jié)數(shù)量。 kafka_server_broker_topic_bytes_out_per_sec:每秒Topic輸出字節(jié)數(shù)量。2.3.3?NSQ Exporter
(1)NSQExporter可以收集的指標數(shù)據(jù)包括:延遲數(shù)據(jù)、計數(shù)數(shù)據(jù)、計量數(shù)據(jù)、字符串?dāng)?shù)據(jù)、錯誤數(shù)據(jù)和布爾數(shù)據(jù)等。
(2)NSQExporter指標參數(shù)包括:
nsqd_connections:NSQD連接數(shù) nsqd_ready_count:可消費消息數(shù) nsqd_in_flight_count:正在處理消息數(shù) nsqd_message_count:消息總數(shù) nsqd_requeue_count:重新排隊消息數(shù) nsqd_timeout_count:超時消息數(shù) nsqd_clients:客戶端數(shù)量 nsqd_depth:消息隊列深度 nsqd_backend_depth:消息緩沖隊列深度 nsqd_deferred_count:延遲消息數(shù)2.3.4?RabbitMQ Exporter
RabbitMQ Exporter 指標參數(shù)詳細列表如下:
rabbitmq_up:參數(shù)名稱:RabbitMQ是否啟動 rabbitmq_object_totals:參數(shù)名稱:RabbitMQ對象總數(shù) rabbitmq_queue_messages_total:參數(shù)名稱:RabbitMQ隊列總消息數(shù) rabbitmq_queue_messages_ready:參數(shù)名稱:RabbitMQ隊列就緒消息數(shù) 5. rabbitmq_queue_messages_unacknowledged:參數(shù)名稱:RabbitMQ隊列未確認消息數(shù) rabbitmq_message_stats_publish_total:參數(shù)名稱:RabbitMQ發(fā)布消息總數(shù) rabbitmq_message_stats_ack_total:參數(shù)名稱:RabbitMQ確認消息總數(shù) rabbitmq_message_stats_deliver_total:參數(shù)名稱:RabbitMQ投遞消息總數(shù) rabbitmq_message_stats_deliver_no_ack_total:參數(shù)名稱:RabbitMQ投遞未確認消息總數(shù) rabbitmq_message_stats_redeliver_total:參數(shù)名稱:RabbitMQ重新投遞消息總數(shù) rabbitmq_connections_total:參數(shù)名稱:RabbitMQ連接總數(shù) rabbitmq_channels_total:參數(shù)名稱:RabbitMQ通道總數(shù) rabbitmq_exchanges_total:參數(shù)名稱:RabbitMQ交換機總數(shù) rabbitmq_queues_total:參數(shù)名稱:RabbitMQ隊列總數(shù) rabbitmq_consumers_total:參數(shù)名稱:RabbitMQ消費者總數(shù) rabbitmq_memory_limit:參數(shù)名稱:RabbitMQ內(nèi)存限制 rabbitmq_memory_used:參數(shù)名稱:RabbitMQ已使用內(nèi)存2.3.5?RocketMQ?Exporter
RocketMQExporter的指標參數(shù)包括:
rocketmq_consumer_group_delay_time_seconds:消費組的延遲時間,以秒為單位; rocketmq_consumer_group_message_accumulation:消費組的消息積累量; rocketmq_consumer_group_message_max_offset:消費組的最大消息偏移量; rocketmq_consumer_group_message_min_offset:消費組的最小消息偏移量; rocketmq_consumer_group_message_num:消費組的消息數(shù)量; rocketmq_consumer_group_message_pull_num:消費組的消息拉取數(shù)量; rocketmq_consumer_group_message_push_num:消費組的消息推送數(shù)量; rocketmq_consumer_group_message_rebalance_num:消費組的消息重新平衡數(shù)量; rocketmq_consumer_group_message_threshold:消費組的消息閾值; rocketmq_consumer_group_name:消費組的名稱; rocketmq_consumer_group_status:消費組的狀態(tài); rocketmq_consumer_group_total_time_delay:消費組的總延遲時間; rocketmq_consumer_group_total_time_pull:消費組的總拉取時間; rocketmq_consumer_group_total_time_push:消費組的總推送時間; rocketmq_producer_message_accumulation:生產(chǎn)者的消息積累量; rocketmq_producer_message_discard_num:生產(chǎn)者的丟棄消息數(shù)量; rocketmq_producer_message_max_offset:生產(chǎn)者的最大消息偏移量; rocketmq_producer_message_min_offset:生產(chǎn)者的最小消息偏移量; rocketmq_producer_message_num:生產(chǎn)者的消息數(shù)量; rocketmq_producer_message_pull_num:生產(chǎn)者的消息拉取數(shù)量; rocketmq_producer_message_rebalance_num:生產(chǎn)者的消息重新平衡數(shù)量; rocketmq_producer_message_send_fail_num:生產(chǎn)者的發(fā)送失敗消息數(shù)量; rocketmq_producer_message_send_num:生產(chǎn)者的發(fā)送消息數(shù)量; rocketmq_producer_message_threshold:生產(chǎn)者的消息閾值; rocketmq_producer_name:生產(chǎn)者的名稱; rocketmq_producer_status:生產(chǎn)者的狀態(tài); rocketmq_producer_total_time_pull:生產(chǎn)者的總拉取時間; rocketmq_producer_total_time_send:生產(chǎn)者的總發(fā)送時間; rocketmq_topic_message_accumulation:主題的消息積累量; rocketmq_topic_message_max_offset:主題的最大消息偏移量; rocketmq_topic_message_min_offset:主題的最小消息偏移量; rocketmq_topic_message_num:主題的消息數(shù)量; rocketmq_topic_name:主題的名稱; rocketmq_topic_status:主題的狀態(tài);2.3.6?ActiveMQ?Exporter
ActiveMQExporter支持的指標參數(shù)有:
broker_version:消息代理的版本 broker_queue_size:消息隊列的大小 broker_enqueue_count:消息入隊的計數(shù) broker_dequeue_count:消息出隊的計數(shù) broker_consumer_count:消費者的計數(shù) broker_producer_count:生產(chǎn)者的計數(shù) broker_memory_percentage:內(nèi)存使用百分比 broker_total_memory:總內(nèi)存 broker_total_producer_count:總生產(chǎn)者計數(shù) broker_total_consumer_count:總消費者計數(shù)2.4?存儲
2.4.1?Ceph Exporter
Ceph Exporter提供的指標參數(shù)包括:
ceph_mon_quorum:當(dāng)前MON的選舉情況 ceph_mon_num_mon:MON的數(shù)量 ceph_pg_state:PG的狀態(tài) ceph_pg_stuck_duration_seconds:PG陷入停滯的持續(xù)時間 ceph_osd_up:OSD是否正在運行 ceph_osd_in:OSD是否已啟動 ceph_osd_num_osds:OSD的數(shù)量 ceph_osd_num_up_osds:正在運行的OSD數(shù)量 ceph_osd_num_in_osds:已啟動的OSD數(shù)量 ceph_osd_num_remapped_pgs:重映射的PG數(shù)量 ceph_osd_num_deep_scrub_errors:深度清潔錯誤的PG數(shù)量 ceph_osd_num_scrub_errors:清潔錯誤的PG數(shù)量 ceph_osd_num_object_copies:對象副本的數(shù)量 ceph_osd_num_objects:對象的數(shù)量 ceph_osd_num_bytes:存儲的字節(jié)數(shù) ceph_osd_full:OSD是否已滿 ceph_osd_nearfull:OSD是否接近滿 ceph_osd_num_full:滿OSD的數(shù)量 ceph_osd_num_nearfull:接近滿OSD的數(shù)量 ceph_mds_num_mds:MDS的數(shù)量 ceph_mds_num_up_mds:正在運行的MDS數(shù)量 ceph_mds_num_in_mds:已啟動的MDS數(shù)量 ceph_mds_num_exports:導(dǎo)出的MDS數(shù)量 ceph_mds_num_inodes:inode的數(shù)量 ceph_mds_num_bytes:存儲的字節(jié)數(shù) ceph_mds_num_snapshots:快照的數(shù)量 ceph_mds_num_snap_contexts:快照上下文的數(shù)量 ceph_mds_num_pools:池的數(shù)量 ceph_mds_num_files:文件的數(shù)量 ceph_mds_num_file_caps:文件能力的數(shù)量 ceph_mds_num_dirs:目錄的數(shù)量 ceph_mds_num_subdirs:子目錄的數(shù)量 ceph_mds_num_degraded:降級的文件的數(shù)量 ceph_mds_num_misplaced:錯位的文件的數(shù)量2.4.2?Gluster Exporter
GlusterExporter收集的指標有:
gluster_filesystem_capacity_bytes:表示文件系統(tǒng)總?cè)萘康淖止?jié)數(shù) gluster_filesystem_free_bytes:表示文件系統(tǒng)可用空間的字節(jié)數(shù) gluster_filesystem_used_bytes:表示文件系統(tǒng)已使用空間的字節(jié)數(shù) gluster_filesystem_inode_percentage_used:表示文件系統(tǒng)inode的使用百分比 gluster_filesystem_read_bytes_total:表示文件系統(tǒng)的總讀取字節(jié)數(shù) gluster_filesystem_write_bytes_total:表示文件系統(tǒng)的總寫入字節(jié)數(shù) gluster_filesystem_disk_usage_percent:表示文件系統(tǒng)磁盤使用率的百分比 gluster_filesystem_io_in_progress:表示文件系統(tǒng)I/O進程的數(shù)量2.4.3?HDFS Exporter
HDFSExporter指標參數(shù)包括:
hdfs_nodes_live:當(dāng)前存活的DataNode的數(shù)量。 hdfs_blocks_total:DataNode上的所有塊的總數(shù)。 hdfs_files_total:DataNode上的所有文件的總數(shù)。 hdfs_files_under_construction_total:DataNode上的所有正在構(gòu)建的文件的總數(shù)。 hdfs_capacity_total:DataNode上的總?cè)萘?#xff08;字節(jié))。 hdfs_capacity_remaining:DataNode上剩余的容量(字節(jié))。 hdfs_capacity_used:DataNode上已使用的容量(字節(jié))。 hdfs_capacity_non_dfs:DataNode上非DFS使用的容量(字節(jié))。 hdfs_capacity_used_percentage:DataNode上已使用的容量(百分比)。2.4.4?ScaleIO Exporter
ScaleIOExporter支持以下指標參數(shù):
Cluster_Total_Capacity_GB:集群總?cè)萘?#xff08;GB) Cluster_Used_Capacity_GB:集群使用容量(GB) Cluster_Free_Capacity_GB:集群剩余容量(GB) Cluster_Thin_Capacity_GB:集群精簡容量(GB) Volume_Size_GB:卷大小(GB) Volume_Used_Capacity_GB:卷使用容量(GB) Volume_Thin_Capacity_GB:卷精簡容量(GB) Volume_Write_Latency_ms:卷寫延遲(毫秒) Volume_Read_Latency_ms:卷讀延遲(毫秒) Volume_Write_Throughput_MB_s:卷寫吞吐量(MB/s) Volume_Read_Throughput_MB_s:卷讀吞吐量(MB/s) Pool_Total_Capacity_GB:池總?cè)萘?#xff08;GB) Pool_Used_Capacity_GB:池使用容量(GB) Pool_Free_Capacity_GB:池剩余容量(GB) Pool_Thin_Capacity_GB:池精簡容量(GB)2.5?HTTP服務(wù)
2.5.1?Apache Exporter
ApacheExporter提供了以下指標參數(shù):
1.活動進程: apache_scoreboard_total, apache_scoreboard_idle_cleanup, apache_scoreboard_wait_keepalive, apache_scoreboard_wait_dns, apache_scoreboard_wait_logging, apache_scoreboard_wait_sending, apache_scoreboard_closing, apache_scoreboard_reading, apache_scoreboard_sending, apache_scoreboard_keepalive, apache_scoreboard_dns_lookup, apache_scoreboard_logging, apache_scoreboard_closing, apache_scoreboard_finishing, apache_scoreboard_idle_dns, apache_scoreboard_idle_logging, apache_scoreboard_idle_sending, apache_scoreboard_idle_keepalive, apache_scoreboard_idle_closing, apache_scoreboard_idle_finishing, apache_scoreboard_open_slot 2.連接: apache_requests_total, apache_request_rate, apache_idle_worker, apache_busy_worker, apache_uptime 3.內(nèi)存: apache_memory_usage, apache_memory_total 4.狀態(tài)碼: apache_response_code_total, apache_response_code_1xx, apache_response_code_2xx, apache_response_code_3xx, apache_response_code_4xx, apache_response_code_5xx 5.時間: apache_request_duration_seconds, apache_request_duration_milliseconds 6.工作者: apache_workers_total, apache_workers_idle, apache_workers_busy 7.其他: apache_status_version, apache_status_build2.5.2?HAProxy Exporter
HAProxyExporter指標參數(shù)包括:
haproxy_up: 表示HAProxy的運行狀態(tài),參數(shù)名稱為"up",取值可以為1(表示運行正常)或0(表示運行異常)。 haproxy_frontend_session_current: 表示HAProxy的前端會話當(dāng)前數(shù)量,參數(shù)名稱為"frontend_session_current",取值為數(shù)值類型。 haproxy_backend_session_current: 表示HAProxy的后端會話當(dāng)前數(shù)量,參數(shù)名稱為"backend_session_current",取值為數(shù)值類型。 haproxy_backend_session_limit: 表示HAProxy的后端會話限制數(shù)量,參數(shù)名稱為"backend_session_limit",取值為數(shù)值類型。 haproxy_frontend_session_limit: 表示HAProxy的前端會話限制數(shù)量,參數(shù)名稱為"frontend_session_limit",取值為數(shù)值類型。2.5.3 Nginx Exporter
NginxExporter指標參數(shù)有:
nginx_up:指示Nginx是否運行,值為1表示正在運行,值為0表示未運行; nginx_connections_accepted:接受連接總數(shù); nginx_connections_handled:處理連接總數(shù); nginx_connections_active:活動連接數(shù); nginx_connections_reading:讀取客戶端數(shù)據(jù)時連接數(shù); nginx_connections_writing:發(fā)送客戶端數(shù)據(jù)時連接數(shù); nginx_connections_waiting:等待客戶端連接數(shù); nginx_requests_total:總請求數(shù); nginx_requests_current:當(dāng)前請求數(shù); nginx_server_zones_requests_total:服務(wù)器域請求總數(shù); nginx_server_zones_responses_1xx_total:服務(wù)器域響應(yīng)1xx總數(shù); nginx_server_zones_responses_2xx_total:服務(wù)器域響應(yīng)2xx總數(shù); nginx_server_zones_responses_3xx_total:服務(wù)器域響應(yīng)3xx總數(shù); nginx_server_zones_responses_4xx_total:服務(wù)器域響應(yīng)4xx總數(shù); nginx_server_zones_responses_5xx_total:服務(wù)器域響應(yīng)5xx總數(shù); nginx_upstreams_peers_total:后端服務(wù)器總數(shù); nginx_upstreams_peers_active:活動后端服務(wù)器總數(shù); nginx_upstreams_peers_backup:備份后端服務(wù)器總數(shù); nginx_upstreams_peers_unhealthy:不健康的后端服務(wù)器總數(shù); nginx_upstreams_peers_downtime_total:后端服務(wù)器總數(shù); nginx_upstreams_peers_responses_total:后端服務(wù)器響應(yīng)總數(shù); nginx_upstreams_peers_responses_1xx_total:后端服務(wù)器響應(yīng)1xx總數(shù); nginx_upstreams_peers_responses_2xx_total:后端服務(wù)器響應(yīng)2xx總數(shù); nginx_upstreams_peers_responses_3xx_total:后端服務(wù)器響應(yīng)3xx總數(shù); nginx_upstreams_peers_responses_4xx_total:后端服務(wù)器響應(yīng)4xx總數(shù); nginx_upstreams_peers_responses_5xx_total:后端服務(wù)器響應(yīng)5xx總數(shù); nginx_upstreams_peers_request_time_seconds_count:后端服務(wù)器請求時間; nginx_upstreams_peers_request_time_seconds_sum:后端服務(wù)器請求總時間。2.6?API服務(wù)
2.6.1?AWS ECS Exporter
AWSECSExporter指標參數(shù)包括:
cluster_name:ECS集群的名稱; task_arn:任務(wù)的ARN; task_definition_family:任務(wù)定義的家族; task_definition_version:任務(wù)定義的版本; task_name:任務(wù)的名稱; task_version:任務(wù)的版本; container_name:容器的名稱; task_state:任務(wù)的狀態(tài); container_status:容器的狀態(tài); desired_status:期望的狀態(tài); cpu_reservation:CPU預(yù)留量; memory_reservation:內(nèi)存預(yù)留量; cpu_utilization:CPU利用率; memory_utilization:內(nèi)存利用率; disk_utilization:磁盤利用率; network_utilization:網(wǎng)絡(luò)利用率; running_count:運行中的容器數(shù)量; pending_count:等待中的容器數(shù)量; stopped_count:已停止的容器數(shù)量; running_seconds:運行時長; memory_reservation_percentage:內(nèi)存預(yù)留量百分比; cpu_reservation_percentage:CPU預(yù)留量百分比; memory_reservation_used:已使用內(nèi)存預(yù)留量; cpu_reservation_used:已使用CPU預(yù)留量; cpu_utilization_used:已使用CPU利用率; memory_utilization_used:已使用內(nèi)存利用率; disk_utilization_used:已使用磁盤利用率; network_utilization_used:已使用網(wǎng)絡(luò)利用率; task_arn_short:任務(wù)的短ARN; task_definition_arn:任務(wù)定義的ARN; task_definition_arn_short:任務(wù)定義的短ARN; task_definition_family_short:任務(wù)定義的短家族; task_definition_version_short:任務(wù)定義的短版本; task_version_short:任務(wù)的短版本; container_name_short:容器的短名稱; task_state_short:任務(wù)的短狀態(tài); container_status_short:容器的短狀態(tài); desired_status_short:期望的短狀態(tài); task_arn_short_hash:任務(wù)的短ARN的哈希值; task_definition_arn_short_hash:任務(wù)定義的短ARN的哈希值; task_definition_family_short_hash:任務(wù)定義的短家族的哈希值; task_definition_version_short_hash:任務(wù)定義的短版本的哈希值; task_version_short_hash:任務(wù)的短版本的哈希值; container_name_short_hash:容器的短名稱的哈希值; task_state_short_hash:任務(wù)的短狀態(tài)的哈希值; container_status_short_hash:容器的短狀態(tài)的哈希值; desired_status_short_hash:期望的短狀態(tài)的哈希值2.6.2?Docker Cloud Exporter
DockerCloudExporter指標參數(shù)包括:
dockercloud_container_count:當(dāng)前集群內(nèi)所有容器的數(shù)量; dockercloud_service_count:當(dāng)前集群內(nèi)所有服務(wù)的數(shù)量; dockercloud_node_count:當(dāng)前集群內(nèi)所有節(jié)點的數(shù)量; dockercloud_container_state_running:當(dāng)前集群內(nèi)運行狀態(tài)的容器數(shù)量; dockercloud_container_state_stopped:當(dāng)前集群內(nèi)停止狀態(tài)的容器數(shù)量; dockercloud_container_state_exited:當(dāng)前集群內(nèi)退出狀態(tài)的容器數(shù)量; dockercloud_container_state_ghost:當(dāng)前集群內(nèi)“幽靈”狀態(tài)的容器數(shù)量; dockercloud_container_state_paused:當(dāng)前集群內(nèi)暫停狀態(tài)的容器數(shù)量; dockercloud_service_state_running:當(dāng)前集群內(nèi)運行狀態(tài)的服務(wù)數(shù)量; dockercloud_service_state_stopped:當(dāng)前集群內(nèi)停止狀態(tài)的服務(wù)數(shù)量; dockercloud_node_state_running:當(dāng)前集群內(nèi)運行狀態(tài)的節(jié)點數(shù)量; dockercloud_node_state_stopped:當(dāng)前集群內(nèi)停止狀態(tài)的節(jié)點數(shù)量; dockercloud_node_state_maintenance:當(dāng)前集群內(nèi)維護狀態(tài)的節(jié)點數(shù)量; dockercloud_node_state_exited:當(dāng)前集群內(nèi)退出狀態(tài)的節(jié)點數(shù)量; dockercloud_node_state_error:當(dāng)前集群內(nèi)錯誤狀態(tài)的節(jié)點數(shù)量; dockercloud_container_cpu_usage_percent:當(dāng)前集群內(nèi)所有容器的CPU使用率; dockercloud_container_memory_usage_bytes:當(dāng)前集群內(nèi)所有容器的內(nèi)存使用量; dockercloud_node_cpu_usage_percent:當(dāng)前集群內(nèi)所有節(jié)點的CPU使用率; dockercloud_node_memory_usage_bytes:當(dāng)前集群內(nèi)所有節(jié)點的內(nèi)存使用量。2.6.3?Docker Hub Exporter
DockerHubExporter指標參數(shù)包括:
username:Docker Hub用戶名; password:Docker Hub密碼; images:要監(jiān)控的鏡像名稱列表; tls_config:TLS配置; insecure:忽略HTTPS證書驗證; timeout:超時時間; proxy:設(shè)置HTTP代理; namespace:指標命名空間; labels:附加指標標簽; include_manifest:是否包含Manifest文件; manifest_timeout:Manifest超時時間; digest_lookup_interval:摘要查找間隔; digest_lookup_timeout:摘要查找超時時間; digest_timeout:摘要超時時間。2.6.4?GitHub Exporter等
GitHubExporter指標參數(shù)包括:
項目統(tǒng)計:活躍用戶數(shù)、倉庫數(shù)、開源許可證數(shù)、語言數(shù)、提交數(shù)、參與者數(shù)、拉取請求數(shù)、討論數(shù)、代碼行數(shù)、更新次數(shù)、每個季度活躍用戶數(shù)等; 倉庫統(tǒng)計:活躍度、活躍用戶數(shù)、參與者數(shù)、代碼行數(shù)、更新次數(shù)、拉取請求數(shù)、討論數(shù)、分支數(shù)、標簽數(shù)等; 用戶統(tǒng)計:參與度、活躍度、活躍倉庫數(shù)、參與倉庫數(shù)、拉取請求數(shù)、討論數(shù)、分支數(shù)、標簽數(shù)等; 語言統(tǒng)計:活躍倉庫數(shù)、參與倉庫數(shù)、活躍用戶數(shù)、參與者數(shù)、拉取請求數(shù)、討論數(shù)、提交數(shù)、代碼行數(shù)、更新次數(shù)等; 開源許可證統(tǒng)計:倉庫數(shù)量、活躍用戶數(shù)、參與者數(shù)、拉取請求數(shù)、討論數(shù)、提交數(shù)、代碼行數(shù)、更新次數(shù)等; 貢獻者排名:活躍度、參與度、活躍倉庫數(shù)、參與倉庫數(shù)、拉取請求數(shù)、討論數(shù)、提交數(shù)、代碼行數(shù)、更新次數(shù)等; 熱門倉庫:活躍度、活躍用戶數(shù)、參與者數(shù)、拉取請求數(shù)、討論數(shù)、分支數(shù)、標簽數(shù)等; 用戶活躍度:活躍度、活躍倉庫數(shù)、參與倉庫數(shù)、拉取請求數(shù)、討論數(shù)、提交數(shù)、代碼行數(shù)、更新次數(shù)等。2.7?日志
2.7.1?Fluentd Exporter
FluentdExporter指標包括:
fluentd_retry_count:重試次數(shù) fluentd_buffer_queue_length:緩沖隊列長度 fluentd_buffer_total_bytes:緩沖總字節(jié)數(shù) fluentd_emit_records:發(fā)出記錄數(shù) fluentd_emit_errors:發(fā)出錯誤數(shù) fluentd_emit_timeout_errors:發(fā)出超時錯誤數(shù) fluentd_write_count:寫次數(shù) fluentd_write_errors:寫錯誤數(shù) fluentd_out_throughput:輸出吞吐量 fluentd_retry_wait:重試等待時間2.7.2?Grok Exporter
GrokExporter指標參數(shù)包括:
metric_name:指標名稱; grok_pattern:模式匹配表達式; labels:指標標簽; timestamp_label:時間戳標簽; timestamp_format:時間戳格式; value_label:值標簽; value_type:值類型; help_text:幫助文本; ignore_older:忽略舊日志; files:要追蹤的文件。2.8?監(jiān)控系統(tǒng)
2.8.1?Collectd Exporter
CollectdExporter指標參數(shù)包括:
collectd_exporter_build_info collectd_exporter_collectd_config_errors_total collectd_exporter_collectd_config_metrics_total collectd_exporter_collectd_config_plugins_total collectd_exporter_collectd_config_types_total collectd_exporter_collectd_read_errors_total collectd_exporter_collectd_types_total collectd_exporter_collectd_values_total collectd_exporter_scrape_errors_total collectd_exporter_up2.8.2?Graphite Exporter
GraphiteExporter指標參數(shù)包括:
carbonAddress: Graphite的地址,默認為localhost:2003 scrapeInterval: 抓取間隔,單位為秒,默認為60s noDataMode: 無數(shù)據(jù)模式,默認為ignore,還可以是sendLastValue basicAuth: 基本身份驗證 tlsConfig: TLS配置 honorLabels: 是否尊重標簽,默認為false metricsPath: 指標路徑,默認為/metrics namespace: 命名空間,默認為graphite_exporter regex: 正則表達式,用于過濾指標 metricsMapping: 指標映射,用于自定義指標名稱2.8.3?InfluxDB Exporter
InfluxDBExporter指標參數(shù)包括:
influxdb.uri:InfluxDB的HTTP訪問URL; influxdb.database:InfluxDB數(shù)據(jù)庫名稱; influxdb.retention_policy:InfluxDB數(shù)據(jù)庫的保留策略; influxdb.username:InfluxDB用戶名; influxdb.password:InfluxDB密碼; influxdb.timeout:InfluxDB連接超時時間; influxdb.precision:InfluxDB精度; influxdb.http_headers:InfluxDB HTTP頭; influxdb.version:InfluxDB版本; influxdb.consistency:InfluxDB一致性; influxdb.tags:InfluxDB標簽; influxdb.use_ssl:是否使用SSL連接InfluxDB; influxdb.skip_database_creation:是否跳過InfluxDB數(shù)據(jù)庫創(chuàng)建; influxdb.basic_auth:InfluxDB基本認證; influxdb.proxy_url:InfluxDB代理URL; influxdb.write_consistency:InfluxDB寫入一致性; influxdb.max_retries:InfluxDB最大重試次數(shù); influxdb.max_buffer_len:InfluxDB最大緩沖區(qū)長度; influxdb.max_buffer_age_millis:InfluxDB最大緩沖區(qū)時間; influxdb.auto_create_databases:是否自動創(chuàng)建InfluxDB數(shù)據(jù)庫; influxdb.use_gzip:是否使用Gzip壓縮InfluxDB數(shù)據(jù); influxdb.query_timeout_millis:InfluxDB查詢超時時間; influxdb.allow_kapacitor_udf:是否允許使用Kapacitor UDF; influxdb.kapacitor_udf_timeout_millis:Kapacitor UDF超時時間; influxdb.write_timeout_millis:InfluxDB寫入超時時間; influxdb.exclude_measurements_without_fields:是否排除沒有字段的測量值; influxdb.max_row_limit:InfluxDB最大行數(shù)限制; influxdb.tls_skip_verify:是否跳過TLS驗證; influxdb.tls_ca_cert:TLS CA證書; influxdb.tls_client_cert:TLS客戶端證書; influxdb.tls_client_key:TLS客戶端密鑰; influxdb.shared_global_tags:共享全局標簽; influxdb.shared_global_fields:共享全局字段; influxdb.udf_configs:UDF配置; influxdb.max_udf_batch_size:UDF最大批量大小; influxdb.udf_timeout_millis:UDF超時時間; influxdb.udf_write_strategy:UDF寫入策略; influxdb.udf_no_data_on_error:UDF錯誤時無數(shù)據(jù); influxdb.udf_batch_interval_millis:UDF批量間隔時間; influxdb.udf_batch_size:UDF批量大小; influxdb.udf_batch_parallelism:UDF的批量并行性; influxdb.udf_batch_max_delay_millis:UDF批量最大延遲時間; influxdb.udf_batch_max_size_bytes:UDF最大批量大小字節(jié); influxdb.udf_batch_max_lines:UDF最大批量行數(shù); influxdb.udf_batch_max_interval_millis:UDF最大批量間隔時間; influxdb.udf_batch_max_delay_millis:UDF最大批量延遲時間; influxdb.udf_batch_max_concurrency:UDF最大批量并發(fā)性; influxdb.udf_batch_max_in_flight:UDF最大批量飛行; influxdb.udf_batch_max_retries:UDF最大批量重試次數(shù); influxdb.udf_batch_name:UDF批量名稱; influxdb.udf_batch_retry_delay_millis:UDF批量重試延遲時間; influxdb.udf_batch_retry_max_delay_millis:UDF批量重試最大延遲時間; influxdb.udf_batch_max_backoff_millis:UDF最大回退時間; influxdb.udf_batch_backoff_factor:UDF回退因子; influxdb.udf_batch_max_pending_requests:UDF最大掛起請求數(shù); influxdb.udf_batch_max_pending_requests_per_node:UDF每個節(jié)點的最大掛起請求數(shù); influxdb.udf_batch_max_requests_per_node:UDF每個節(jié)點的最大請求數(shù); influxdb.udf_batch_max_retry_duration_millis:UDF最大重試持續(xù)時間; influxdb.udf_batch_max_concurrent_shards:UDF最大并發(fā)碎片數(shù); influxdb.udf_batch_max_in_flight_shards:UDF最大飛行碎片數(shù); influxdb.udf_batch_max_retry_shards:UDF最大重試碎片數(shù); influxdb.udf_batch_max_backoff_shards:UDF最大回退碎片數(shù); influxdb.udf_batch_max_pending_shards:UDF最大掛起碎片數(shù); influxdb.udf_batch_max_pending_shards_per_node:UDF每個節(jié)點的最大掛起碎片數(shù); influxdb.udf_batch_max_requests_per_shard:UDF每個碎片的最大請求數(shù); influxdb.udf_batch_max_retry_duration_shards:UDF最大重試持續(xù)時間碎片; influxdb.udf_batch_max_in_flight_requests:UDF最大飛行請求數(shù); influxdb.udf_batch_max_retry_requests:UDF最大重試請求數(shù); influxdb.udf_batch_max_backoff_requests:UDF最大回退請求數(shù); influxdb.udf_batch_max_pending_requests_per_node:UDF每個節(jié)點的最大掛起請求數(shù); influxdb.udf_batch_max_requests:UDF最大請求數(shù); influxdb.udf_batch_max_retry_duration_requests:UDF最大重試持續(xù)時間請求; influxdb.udf_batch_max_in_flight_lines:UDF最大飛行行數(shù); influxdb.udf_batch_max_retry_lines:UDF最大重試行數(shù); influxdb.udf_batch_max_backoff_lines:UDF最大回退行數(shù); influxdb.udf_batch_max_pending_lines:UDF最大掛起行數(shù); influxdb.udf_batch_max_pending_lines_per_node:UDF每個節(jié)點的最大掛起行數(shù); influxdb.udf_batch_max_requests_per_line:UDF每行的最大請求數(shù); influxdb.udf_batch_max_retry_duration_lines:UDF最大重試持續(xù)時間行; influxdb.udf_batch_max_in_flight_batches:UDF最大飛行批次數(shù); influxdb.udf_batch_max_retry_batches:UDF最大重試批次數(shù); influxdb.udf_batch_max_backoff_batches:U2.8.4?Nagios Exporter?
NagiosExporter指標參數(shù)包括:
1、指標: host_state,host_state_info,host_last_check,host_latency,host_execution_time,host_state_types,host_attempt,host_is_flapping,host_percent_state_change,host_scheduled_downtime_depth,host_active_checks_enabled,host_passive_checks_enabled,host_acknowledged,host_in_downtime,host_notifications_enabled,host_event_handler_enabled,host_flap_detection_enabled,host_process_performance_data,host_obsess_over_host,host_perf_data; 2、指標: service_state,service_state_info,service_last_check,service_latency,service_execution_time,service_state_types,service_attempt,service_is_flapping,service_percent_state_change,service_scheduled_downtime_depth,service_active_checks_enabled,service_passive_checks_enabled,service_acknowledged,service_in_downtime,service_notifications_enabled,service_event_handler_enabled,service_flap_detection_enabled,service_process_performance_data,service_obsess_over_service,service_perf_data; 3、指標: host_check_result_last_check,host_check_result_latency,host_check_result_start_time,host_check_result_execution_time,host_check_result_output,host_check_result_long_output,host_check_result_performance_data; 4、指標: service_check_result_last_check,service_check_result_latency,service_check_result_start_time,service_check_result_execution_time,service_check_result_output,service_check_result_long_output,service_check_result_performance_data。2.8.5?SNMP Exporter
SNMP Exporter指標參數(shù)包括:
OID,Label,Type,Help,Metric Type,Unit,Scale,Index Offset,Index Label,Index,Instances,Instance Label,Value,Port,Community,Version,Timeout,Retries,Max Repetitions,Name,Tags,Table OID,Table Columns,Table Owerflow,Table End OID,Table Column OIDs,Table Column Labels,Table Column Types,Table Column Help,Table Column Metric Types,Table Column Unit,Table Column Scale,Table Column Index Offset,Table Column Index Label,Table Column Index,Table Column Instances,Table Column Instance Label,Table Column Value,Table Column Name,Table Column Tags。2.9?其他
2.9.1?Blockbox Exporter
BlockboxExporter指標參數(shù)包括:
-http_requests_total:HTTP 請求總數(shù) -http_request_duration_seconds:HTTP 請求持續(xù)時間(以秒為單位) -http_request_size_bytes:HTTP 請求大小(以字節(jié)為單位) -http_response_size_bytes:HTTP 響應(yīng)大小(以字節(jié)為單位) -http_response_duration_seconds:HTTP 響應(yīng)持續(xù)時間(以秒為單位) -http_response_code:HTTP 響應(yīng)狀態(tài)碼 -http_redirects_total:HTTP 重定向次數(shù) -http_upstream_duration_seconds:上游持續(xù)時間(以秒為單位) -http_upstream_size_bytes:上游大小(以字節(jié)為單位) -http_upstream_code:上游響應(yīng)狀態(tài)碼2.9.2?JIRA Exporter
JIRAExporter指標參數(shù)包括:
Project:要收集指標的JIRA項目 Issue Type:要收集指標的JIRA問題類型 Field:要收集指標的JIRA字段 Start Date:收集指標的起始日期 End Date:收集指標的結(jié)束日期 Resolution:要收集指標的JIRA解決結(jié)果 Status:要收集指標的JIRA狀態(tài) Group By:按照何種方式對收集的指標進行分組 Aggregator:要收集的指標的聚合函數(shù) Label:用于標記輸出指標的標簽2.9.3?Jenkins Exporter
JenkinsExporter的指標參數(shù)有:
jenkins_builds_duration_seconds:構(gòu)建持續(xù)時間; jenkins_builds_total:構(gòu)建總數(shù); jenkins_builds_fail_total:失敗構(gòu)建總數(shù); jenkins_builds_aborted_total:中止構(gòu)建總數(shù); jenkins_builds_success_total:成功構(gòu)建總數(shù); jenkins_builds_unstable_total:不穩(wěn)定構(gòu)建總數(shù); jenkins_builds_scheduled_total:計劃構(gòu)建總數(shù); jenkins_builds_in_progress_total:構(gòu)建進行中總數(shù); jenkins_jobs_total:任務(wù)總數(shù); jenkins_jobs_in_queue_total:隊列中任務(wù)總數(shù); jenkins_queue_items_total:隊列項目總數(shù); jenkins_node_total:節(jié)點總數(shù); jenkins_node_online_total:節(jié)點在線總數(shù); jenkins_node_offline_total:節(jié)點離線總數(shù); jenkins_node_idle_total:空閑節(jié)點總數(shù); jenkins_node_busy_total:忙碌節(jié)點總數(shù); jenkins_node_executors_total:節(jié)點執(zhí)行者總數(shù); jenkins_node_disconnected_total:斷開連接節(jié)點總數(shù); jenkins_node_temporarily_offline_total:暫時離線節(jié)點總數(shù)。2.9.4?Confluence Exporter
ConfluenceExporter指標參數(shù)包括:
conflune_url,auth_user,auth_password,confluence_space,confluence_parent_page,confluence_page_title,confluence_content_type,confluence_content_template,gauge_name,gauge_help,gauge_labels,gauge_value_name,gauge_value。總結(jié)
以上是生活随笔為你收集整理的Exporter介绍与指标数据汇总(完结)的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: HEVC的WPP(Wavefront P
- 下一篇: 暮色-席慕容