暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

Prometheus自监控指标梳理

Prometheus开源社区 2018-01-16
3384

        大家好,今天给大家整理了Prometheus自监控的相关指标,由于指标比较多,为了确保正确性,每一个翻译都经过了多次核对,如果哪里还有不妥的欢迎随时反馈...

prometheus_config_last_reload_success_timestamp_seconds最后一次成功配置重新加载的时间戳(启动prometheus时间开始)
prometheus_config_last_reload_successful最后一次配置重新加载尝试是否成功(1表示成功)
prometheus_engine_queries正在执行或等待的当前查询数
prometheus_engine_queries_concurrent_max并发查询的最大数量(--query.max-concurrency=20 设置)   
prometheus_engine_query_duration_seconds查询时间
prometheus_evaluator_duration_seconds规则组评估时间(针对设置的rules进行规则评估)
prometheus_evaluator_iterations_missed_total因评估缓慢而丢失的评估数
prometheus_evaluator_iterations_skipped_total 因节流导致评估丢失的总数
prometheus_evaluator_iterations_total执行的规则组评估的总数,不论是否执行、遗漏或跳过
prometheus_notifications_alertmanagers_discovered发现报警和活跃报警的数量
prometheus_notifications_dropped_total由于错误未发送到alertmanager报警的数量(重启promethues可以重置这个数)
prometheus_notifications_queue_capacity警报通知队列的容量
prometheus_notifications_queue_length队列中警报通知的数量
prometheus_rule_evaluation_failures_total规则评估失败总数(rules里的alert record)
prometheus_target_interval_length_seconds实际的抓取间隔
prometheus_target_interval_length_seconds_sum启动以来抓取的时间间隔总数
prometheus_target_scrape_pool_sync_total在抓取资源池里执行的同步总数
prometheus_target_scrapes_exceeded_sample_limit_total采集目标时因达到样本采集限制被拒绝的总数
prometheus_target_scrapes_sample_duplicate_timestamp_total 因时间戳相同而值不同采集时被拒绝的样本总数
prometheus_target_scrapes_sample_out_of_bounds_total由于时间戳超出时间限制而被拒绝的样本总数
prometheus_target_scrapes_sample_out_of_order_total由于未超出预期的顺序而被拒绝的样本总数
prometheus_target_sync_length_seconds实际同步抓取资源池的时间间隔
prometheus_treecache_watcher_goroutines目前监视Goroutines的数量
prometheus_treecache_zookeeper_failures_totalZooKeeper的失败总数
prometheus_tsdb_blocks_loaded当前加载的数据块的数量
prometheus_tsdb_compaction_chunk_range第一次压缩块的最后时间范围
prometheus_tsdb_compaction_chunk_samples第一次压缩样本的最终数量
prometheus_tsdb_compaction_duration压缩运行的持续时间
prometheus_tsdb_compactions_failed_total因分区导致压缩失败的总数(分区失败的压缩总数)
prometheus_tsdb_compactions_total为分区执行的压缩总数
prometheus_tsdb_compactions_triggered_total分区触发的压缩总数
prometheus_tsdb_head_active_appenders当前活跃的appender交易数
prometheus_tsdb_head_chunks头块(head block)中的总块数
prometheus_tsdb_head_chunks_created_total头部创建的块总数(Total number of chunks created in the head)
prometheus_tsdb_head_chunks_removed_total头部移除的块总数(压缩到磁盘的块数)(Total number of chunks removed in the head)
prometheus_tsdb_head_gc_duration_seconds头块(head block)中垃圾收集的运行时间
prometheus_tsdb_head_max_time头块的最大时间戳(Maximum timestamp of the head block)
prometheus_tsdb_head_min_time头块的最小时间戳(Minimum time bound of the head block)
prometheus_tsdb_head_samples_appended_total附加样品数量
prometheus_tsdb_head_series头块中的序列总数(Total number of series in the head block)
prometheus_tsdb_head_series_created_total在头中创建的序列总数
prometheus_tsdb_head_series_removed_total在头部去除的系列总数
prometheus_tsdb_head_series_not_found未找到序列的请求总数(Total number of requests for series that were not found)
prometheus_tsdb_reloads_failures_total数据库无法从磁盘重新加载块数据的次数
prometheus_tsdb_reloads_total数据库重新加载磁盘块数据的次数
process_resident_memory_byte驻存在内存的数据大小(字节为单位)
process_virtual_memory_bytes虚拟内存大小(字节为单位)    
go_goroutinesgo_goroutines 存在的数量
go_memstats_alloc_bytes已分配并仍在使用的字节数
go_memstats_alloc_bytes_total分配的字节总数,包括释放的
go_memstats_buck_hash_sys_bytes哈希表所使用的字节数(Number of bytes used by the profiling bucket hash table)
go_memstats_frees_total释放总字节数
go_memstats_gc_cpu_fraction 程序启动以来GC占用CPU的时间
go_memstats_heap_alloc_bytes已分配并仍在使用的堆字节数
http_request_duration_microsecondshttp请求延迟时间(微秒为单位)
http_request_size_bytes请求字节数大小
http_requests_totalHTTP请求数
http_response_size_byteshttp响应大小(字节为单位)
net_conntrack_dialer_conn_attempted_total由给定的拨号连接名未遂的总数(Total number of connections attempted by the given dialer a given name)
process_max_fds打开文件描述符的最大数目
process_start_time_seconds进程运行时间(Start time of the process since unix epoch in seconds)
tsdb_wal_fsync_duration_seconds时间序列库同步的间隔(WAL fsync的持续时间)
go_gc_duration_secondsGC调用总时间
go_gc_duration_seconds_count当前存在的goroutines的数量
文章转载自Prometheus开源社区,如果涉嫌侵权,请发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论