springboot actuator2.x中 prometheus 监控指标详解
springboot actuator2.x中 prometheus 监控指标详解
# HELP application_ready_time_seconds 应用程序准备好处理请求所花费的时间(毫秒) # TYPE application_ready_time_seconds gauge application_ready_time_seconds # HELP application_started_time_seconds 应用程序启动所花费的时间(毫秒) # TYPE application_started_time_seconds gauge application_started_time_seconds # HELP cache_gets_total 缓存查找方法返回未缓存(新加载)值或 null 的次数 # TYPE cache_gets_total counter cache_gets_total # HELP cache_lock_duration_seconds 缓存在等待锁时消耗的时间 # TYPE cache_lock_duration_seconds gauge cache_lock_duration_seconds # HELP cache_puts_total 添加到缓存中的条目数 # TYPE cache_puts_total counter cache_puts_total # HELP cache_removals_total 缓存移除次数 # TYPE cache_removals_total counter cache_removals_total # HELP disk_free_bytes 磁盘特定路径可用空间(字节) # TYPE disk_free_bytes gauge disk_free_bytes # HELP disk_total_bytes 磁盘特定路径的总空间(字节) # TYPE disk_total_bytes gauge disk_total_bytes # HELP executor_active_threads 当前正在执行任务的线程大致数量 # TYPE executor_active_threads gauge executor_active_threads # HELP executor_completed_tasks_total 已完成执行的任务总数(大致数量) # TYPE executor_completed_tasks_total counter executor_completed_tasks_total # HELP executor_pool_core_threads 线程池的核心线程数量 # TYPE executor_pool_core_threads gauge executor_pool_core_threads # HELP executor_pool_max_threads 线程池中允许的最大线程数 # TYPE executor_pool_max_threads gauge executor_pool_max_threads # HELP executor_pool_size_threads 线程池中当前的线程数量 # TYPE executor_pool_size_threads gauge executor_pool_size_threads # HELP executor_queued_tasks 排队等待执行的任务大致数量 # TYPE executor_queued_tasks gauge executor_queued_tasks # HELP executor_queue_remaining_tasks 该队列理想情况下可以接受的额外任务数,且不会发生阻塞 # TYPE executor_queue_remaining_tasks gauge executor_queue_remaining_tasks # HELP hikaricp_connections 总连接数 ---HikariCP(一种高性能的 JDBC 连接池库) # TYPE hikaricp_connections gauge hikaricp_connections # HELP hikaricp_connections_acquire_seconds_count 获取连接所花费时间的计数(秒) # TYPE hikaricp_connections_acquire_seconds_count counter hikaricp_connections_acquire_seconds_count # HELP hikaricp_connections_acquire_seconds_max 获取连接时所花费的最大时间(秒) # TYPE hikaricp_connections_acquire_seconds_max gauge hikaricp_connections_acquire_seconds_max # HELP hikaricp_connections_acquire_seconds_sum 获取连接时所花费时间的总和(秒) # TYPE hikaricp_connections_acquire_seconds_sum counter hikaricp_connections_acquire_seconds_sum # HELP hikaricp_connections_active 当前活跃连接数 # TYPE hikaricp_connections_active gauge hikaricp_connections_active # HELP hikaricp_connections_creation_seconds_count 创建连接所花费时间的计数(秒) # TYPE hikaricp_connections_creation_seconds_count counter hikaricp_connections_creation_seconds_count # HELP hikaricp_connections_creation_seconds_max 创建连接时所花费的最大时间(秒) # TYPE hikaricp_connections_creation_seconds_max gauge hikaricp_connections_creation_seconds_max # HELP hikaricp_connections_creation_seconds_sum 创建连接时所花费时间的总和(秒) # TYPE hikaricp_connections_creation_seconds_sum counter hikaricp_connections_creation_seconds_sum # HELP hikaricp_connections_idle 空闲连接数 # TYPE hikaricp_connections_idle gauge hikaricp_connections_idle # HELP hikaricp_connections_max 连接池允许的最大连接数 # TYPE hikaricp_connections_max gauge hikaricp_connections_max # HELP hikaricp_connections_min 连接池的最小连接数 # TYPE hikaricp_connections_min gauge hikaricp_connections_min # HELP hikaricp_connections_pending 排队等待连接的请求数 # TYPE hikaricp_connections_pending gauge hikaricp_connections_pending # HELP hikaricp_connections_timeout_total 因超时未能成功获取连接的总次数 # TYPE hikaricp_connections_timeout_total counter hikaricp_connections_timeout_total # HELP hikaricp_connections_usage_seconds_count 连接池中连接使用时长的计数(秒) # TYPE hikaricp_connections_usage_seconds_count counter hikaricp_connections_usage_seconds_count # HELP hikaricp_connections_usage_seconds_max 连接池中连接的最大使用时长(秒) # TYPE hikaricp_connections_usage_seconds_max gauge hikaricp_connections_usage_seconds_max # HELP hikaricp_connections_usage_seconds_sum 连接池中所有连接的使用时长总和(秒) # TYPE hikaricp_connections_usage_seconds_sum counter hikaricp_connections_usage_seconds_sum # HELP http_server_requests_seconds_count 服务器处理 HTTP 请求所花费时间的计数(秒) # TYPE http_server_requests_seconds_count counter http_server_requests_seconds_count # HELP http_server_requests_seconds_max 服务器处理 HTTP 请求的最大响应时间(秒) # TYPE http_server_requests_seconds_max gauge http_server_requests_seconds_max # HELP http_server_requests_seconds_sum 服务器处理 HTTP 请求的总响应时间(秒) # TYPE http_server_requests_seconds_sum counter http_server_requests_seconds_sum # HELP jdbc_connections_active 当前活跃的 JDBC 连接数 # TYPE jdbc_connections_active gauge jdbc_connections_active # HELP jdbc_connections_idle 当前空闲的 JDBC 连接数 # TYPE jdbc_connections_idle gauge jdbc_connections_idle # HELP jdbc_connections_max JDBC 连接池允许的最大连接数 # TYPE jdbc_connections_max gauge jdbc_connections_max # HELP jdbc_connections_min JDBC 连接池的最小连接数 # TYPE jdbc_connections_min gauge jdbc_connections_min # HELP jvm_buffer_count_buffers JVM 中缓冲区的数量 # TYPE jvm_buffer_count_buffers gauge jvm_buffer_count_buffers # HELP jvm_buffer_memory_used_bytes JVM 中已使用的缓冲区内存(字节) # TYPE jvm_buffer_memory_used_bytes gauge jvm_buffer_memory_used_bytes # HELP jvm_buffer_total_capacity_bytes JVM 中所有缓冲区的总容量(字节) # TYPE jvm_buffer_total_capacity_bytes gauge jvm_buffer_total_capacity_bytes # HELP jvm_classes_loaded_classes JVM 中已加载的类的数量 # TYPE jvm_classes_loaded_classes gauge jvm_classes_loaded_classes # HELP jvm_classes_unloaded_classes_total JVM 中已卸载的类的总数量 # TYPE jvm_classes_unloaded_classes_total counter jvm_classes_unloaded_classes_total # HELP jvm_gc_live_data_size_bytes JVM 垃圾回收后存活的数据大小(字节) # TYPE jvm_gc_live_data_size_bytes gauge jvm_gc_live_data_size_bytes # HELP jvm_gc_max_data_size_bytes JVM 垃圾回收后最大的数据大小(字节) # TYPE jvm_gc_max_data_size_bytes gauge jvm_gc_max_data_size_bytes # HELP jvm_gc_memory_allocated_bytes_total JVM 垃圾回收过程中分配的内存总量(字节) # TYPE jvm_gc_memory_allocated_bytes_total counter jvm_gc_memory_allocated_bytes_total # HELP jvm_gc_memory_promoted_bytes_total JVM 垃圾回收过程中被提升并保留的内存总量(字节) # TYPE jvm_gc_memory_promoted_bytes_total counter jvm_gc_memory_promoted_bytes_total # HELP jvm_gc_overhead_percent JVM 垃圾回收所花费时间占总时间的百分比 # TYPE jvm_gc_overhead_percent gauge jvm_gc_overhead_percent # HELP jvm_gc_pause_seconds_count JVM 垃圾回收暂停事件的总次数 # TYPE jvm_gc_pause_seconds_count counter jvm_gc_pause_seconds_count # HELP jvm_gc_pause_seconds_max JVM 垃圾回收过程中单次暂停的最大时间(秒) # TYPE jvm_gc_pause_seconds_max gauge jvm_gc_pause_seconds_max # HELP jvm_gc_pause_seconds_sum JVM 垃圾回收过程中所有暂停事件的总时间(秒) # TYPE jvm_gc_pause_seconds_sum counter jvm_gc_pause_seconds_sum # HELP jvm_memory_committed_bytes JVM 已分配并承诺给应用程序使用的内存总量(字节) # TYPE jvm_memory_committed_bytes gauge jvm_memory_committed_bytes # HELP jvm_memory_max_bytes JVM 可用的最大内存量(字节) # TYPE jvm_memory_max_bytes gauge jvm_memory_max_bytes # HELP jvm_memory_usage_after_gc_percent JVM 垃圾回收后已使用内存的百分比 # TYPE jvm_memory_usage_after_gc_percent gauge jvm_memory_usage_after_gc_percent # HELP jvm_memory_used_bytes JVM 当前已使用的内存量(字节) # TYPE jvm_memory_used_bytes gauge jvm_memory_used_bytes # HELP jvm_threads_daemon_threads JVM 中的守护线程数量 # TYPE jvm_threads_daemon_threads gauge jvm_threads_daemon_threads # HELP jvm_threads_live_threads JVM 中当前活跃的线程数量 # TYPE jvm_threads_live_threads gauge jvm_threads_live_threads # HELP jvm_threads_peak_threads JVM 启动以来曾经出现的最大线程数 # TYPE jvm_threads_peak_threads gauge jvm_threads_peak_threads # HELP jvm_threads_states_threads JVM 中处于不同状态的线程数量 # TYPE jvm_threads_states_threads gauge jvm_threads_states_threads # HELP log4j2_events_total Log4j2 日志系统记录的事件总数 # TYPE log4j2_events_total counter log4j2_events_total # HELP process_cpu_usage 当前进程的 CPU 使用百分比 # TYPE process_cpu_usage gauge process_cpu_usage # HELP process_files_max_files 操作系统允许的最大文件句柄数 # TYPE process_files_max_files gauge process_files_max_files # HELP process_files_open_files 当前进程已打开的文件数 # TYPE process_files_open_files gauge process_files_open_files # HELP process_start_time_seconds 进程启动的时间戳(自 Unix 纪元以来的秒数) # TYPE process_start_time_seconds gauge process_start_time_seconds # HELP process_uptime_seconds 当前进程的运行时间(秒) # TYPE process_uptime_seconds gauge process_uptime_seconds # HELP spring_data_repository_invocations_seconds_count Spring Data 仓库方法调用的次数(秒) # TYPE spring_data_repository_invocations_seconds_count counter spring_data_repository_invocations_seconds_count # HELP spring_data_repository_invocations_seconds_max Spring Data 仓库方法调用的最大耗时(秒) # TYPE spring_data_repository_invocations_seconds_max gauge spring_data_repository_invocations_seconds_max # HELP spring_data_repository_invocations_seconds_sum Spring Data 仓库方法调用的总耗时(秒) # TYPE spring_data_repository_invocations_seconds_sum counter spring_data_repository_invocations_seconds_sum # HELP system_cpu_count 系统的CPU核心数量。 # TYPE system_cpu_count gauge system_cpu_count # HELP system_cpu_usage 系统CPU使用率。 # TYPE system_cpu_usage gauge system_cpu_usage # HELP system_load_average_1m 系统的1分钟平均负载。 # TYPE system_load_average_1m gauge system_load_average_1m # HELP tomcat_sessions_active_current_sessions 当前活跃的Tomcat会话数量。 # TYPE tomcat_sessions_active_current_sessions gauge tomcat_sessions_active_current_sessions # HELP tomcat_sessions_active_max_sessions 最大活跃的Tomcat会话数量。 # TYPE tomcat_sessions_active_max_sessions gauge tomcat_sessions_active_max_sessions # HELP tomcat_sessions_alive_max_seconds Tomcat会话存活的最大秒数。 # TYPE tomcat_sessions_alive_max_seconds gauge tomcat_sessions_alive_max_seconds # HELP tomcat_sessions_created_sessions_total 自应用程序启动以来创建的Tomcat会话总数。 # TYPE tomcat_sessions_created_sessions_total counter tomcat_sessions_created_sessions_total # HELP tomcat_sessions_expired_sessions_total 自应用程序启动以来过期的Tomcat会话总数。 # TYPE tomcat_sessions_expired_sessions_total counter tomcat_sessions_expired_sessions_total # HELP tomcat_sessions_rejected_sessions_total 自应用程序启动以来被拒绝的Tomcat会话总数。 # TYPE tomcat_sessions_rejected_sessions_total counter tomcat_sessions_rejected_sessions_total
分类:
Prometheus监控
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· Manus爆火,是硬核还是营销?
· 终于写完轮子一部分:tcp代理 了,记录一下
· 震惊!C++程序真的从main开始吗?99%的程序员都答错了
· 别再用vector<bool>了!Google高级工程师:这可能是STL最大的设计失误
· 单元测试从入门到精通