Dubbo 框架标准监控指标

描述了 Dubbo 中统计的一些标准监控指标。

Dubbo 指标含义

Provider Metrics

Metrics NameDescription说明
dubbo_provider_qps_totalThe number of requests received by the provider per second提供者每秒接收的请求数
dubbo_provider_requests_totalThe total number of received requests by the provider提供者总的接收请求数
dubbo_provider_requests_total_aggregateThe total number of received requests by the provider under the sliding window滑动窗口下的提供者总的接收请求数
dubbo_provider_requests_processingThe number of received requests being processed by the provider提供者正在处理的接收的请求数
dubbo_provider_requests_succeed_totalThe number of requests successfully received by the provider提供者请求成功接收的请求数
dubbo_provider_requests_succeed_aggregateThe number of successful requests received by the provider under the sliding window滑动窗口下的提供者成功的接收请求数
dubbo_provider_rt_milliseconds_minThe minimum response time among all requests processed by the provider提供者所有处理请求中最小的响应时间
dubbo_provider_rt_min_milliseconds_aggregateThe minimum response time of the provider under the sliding window滑动窗口下的提供者最小响应时间
dubbo_provider_rt_milliseconds_avgThe average response time of all requests processed by the provider提供者所有处理请求的平均响应时间
dubbo_provider_rt_avg_milliseconds_aggregateThe average response time of the provider under the sliding window滑动窗口下的提供者平均响应时间
dubbo_provider_rt_milliseconds_sumThe total time taken by the provider to process all requests提供者所有处理请求的时间总和
dubbo_provider_rt_milliseconds_maxThe maximum response time among all requests from the provider提供者所有请求中最大的响应时间
dubbo_provider_rt_max_milliseconds_aggregateThe maximum response time of the provider under the sliding window滑动窗口下的提供者最大响应时间
dubbo_provider_rt_milliseconds_lastThe current response time in the provider’s processing of requests提供者处理请求中当前的响应时间
dubbo_provider_rt_milliseconds_p50The total response time spent by providers processing 50% of requests提供者处理请求中50%的请求耗费的总响应时间
dubbo_provider_rt_milliseconds_p90The total response time spent by providers processing 90% of requests提供者处理请求中90%的请求耗费的总响应时间
dubbo_provider_rt_milliseconds_p95The total response time spent by providers processing 95% of requests提供者处理请求中95%的请求耗费的总响应时间
dubbo_provider_rt_milliseconds_p99The total response time spent by providers processing 99% of requests提供者处理请求中99%的请求耗费的总响应时间
dubbo_provider_requests_processing_totalThe number of received requests being processed by the provider提供者正在处理的接收的请求数
dubbo_provider_rt_milliseconds_histogram_seconds_bucketThe histogram of response time of the provider under the sliding window滑动窗口下的提供者响应时间直方图
dubbo_provider_rt_milliseconds_histogram_seconds_countThe count of histogram of response time of the provider under the sliding window滑动窗口下的提供者响应时间直方图总数
dubbo_provider_rt_milliseconds_histogram_seconds_maxThe max of histogram of response time of the provider under the sliding window滑动窗口下的提供者响应时间直方图最大值
dubbo_provider_rt_milliseconds_histogram_seconds_sumThe sum of histogram of response time of the provider under the sliding window滑动窗口下的提供者响应时间直方图总和
dubbo_provider_requests_business_failed_totalTotal Failed Business Requests当RPC请求异常状态码为 RpcException.BIZ_EXCEPTION
dubbo_provider_requests_timeout_totalTotal Timeout Failed Requests当RPC请求异常为超时异常状态码为 RpcException.TIMEOUT_EXCEPTION
dubbo_provider_requests_limit_totalTotal Limit Failed RequestsRPC请求中一般为并发数超过了限制 max concurrent invoke 或者是超过了系统的上限出现了异常状态码为RpcException.LIMIT_EXCEEDED_EXCEPTION或者异常类型为LimitExceededException LimitExceededException
dubbo_provider_requests_unknown_failed_totalTotal Unknown Failed Requests暂为归类的其他类型的异常具体分析根据日志来看
dubbo_provider_requests_failed_totalTotal Failed Requests总的异常次数
dubbo_provider_requests_failed_total_aggregateTotal Failed Aggregate Requests聚合请求失败次数,当聚合请求中有一个请求失败时候会触发此异常
dubbo_provider_requests_failed_network_totalTotal network Failed Requests一般发生在网络连接失败或者网络通信时候发生的异常,对应Java异常为RemotingException
dubbo_provider_requests_failed_service_unavailable_totalTotal Service Unavailable Failed Requests当不存在提供者或者调用了被禁止访问提的提供者时候会出现此异常 ,对应异常码FORBIDDEN_EXCEPTION
dubbo_provider_requests_failed_codec_totalTotal codec failed序列化相关的异常,异常码SERIALIZATION_EXCEPTION
dubbo_provider_requests_failed_aggregateTotal Failed Aggregate Requests聚合请求失败次数,当聚合请求中有一个请求失败时候会触发此异常
dubbo_provider_requests_timeout_totalTotal Timeout Failed Requests当RPC请求异常为超时异常状态码为 RpcException.TIMEOUT_EXCEPTION
dubbo_provider_requests_limit_totalTotal Limit Failed RequestsRPC请求中一般为并发数超过了限制 max concurrent invoke 或者是超过了系统的上限出现了异常状态码为RpcException_LIMIT_EXCEEDED_EXCEPTION或者异常类型为LimitExceededException LimitExceededException
dubbo_provider_requests_unknown_failed_totalTotal Unknown Failed Requests暂为归类的其他类型的异常具体分析根据日志来看
dubbo_provider_requests_failed_totalTotal Failed Requests总的异常次数
dubbo_provider_requests_failed_network_totalTotal network Failed Requests一般发生在网络连接失败或者网络通信时候发生的异常,对应Java异常为RemotingException
dubbo_provider_requests_failed_service_unavailable_totalTotal Service Unavailable Failed Requests当不存在提供者或者调用了被禁止访问提的提供者时候会出现此异常 ,对应异常码FORBIDDEN_EXCEPTION
dubbo_provider_requests_failed_codec_totalTotal codec failed序列化相关的异常,异常码SERIALIZATION_EXCEPTION

Consumer Metrics

Metrics NameDescription说明
dubbo_consumer_qps_totalThe number of requests sent by consumers per second消费者每秒发送的请求数
dubbo_consumer_requests_totalTotal number of sent requests by consumers消费者总的发送请求数
dubbo_consumer_requests_total_aggregateThe total number of requests sent by consumers under the sliding window滑动窗口下的消费者总的发送请求数
dubbo_consumer_requests_processingThe number of sent requests that consumers are currently processing消费者正在处理的发送的请求数
dubbo_consumer_requests_succeed_totalThe number of successful requests sent by consumers消费者请求成功发送的请求数
dubbo_consumer_requests_succeed_aggregateThe number of successful requests sent by consumers under the sliding window滑动窗口下的消费者成功的发送请求数
dubbo_consumer_rt_milliseconds_minMinimum response time among all consumer requests消费者所有请求中最小的响应时间
dubbo_consumer_rt_min_milliseconds_aggregateThe minimum response time of the consumer under the sliding window滑动窗口下的消费者最小响应时间
dubbo_consumer_rt_milliseconds_avgAverage response time of all requests from consumers消费者所有请求的平均响应时间
dubbo_consumer_rt_avg_milliseconds_aggregateThe average response time of the consumer under the sliding window滑动窗口下的消费者平均响应时间
dubbo_consumer_rt_milliseconds_sumThe total time of all consumer requests消费者所有请求的时间总和
dubbo_consumer_rt_milliseconds_maxMaximum response time among all requests from consumers消费者所有请求中最大的响应时间
dubbo_consumer_rt_max_milliseconds_aggregateThe maximum response time of the consumer under the sliding window滑动窗口下的消费者最大响应时间
dubbo_consumer_rt_milliseconds_lastThe current response time in consumer processing requests消费者处理请求中当前的响应时间
dubbo_consumer_rt_milliseconds_p50The total response time spent by consumers processing 50% of requests消费者处理请求中50%的请求耗费的总响应时间
dubbo_consumer_rt_milliseconds_p90The total response time spent by consumers processing 90% of requests消费者处理请求中90%的请求耗费的总响应时间
dubbo_consumer_rt_milliseconds_p95The total response time spent by consumers processing 95% of requests消费者处理请求中95%的请求耗费的总响应时间
dubbo_consumer_rt_milliseconds_p99The total response time spent by consumers processing 99% of requests消费者处理请求中99%的请求耗费的总响应时间
dubbo_consumer_rt_milliseconds_histogram_seconds_bucketHistogram of response time of all requests from consumers消费者所有请求的响应时间直方图
dubbo_consumer_rt_milliseconds_histogram_seconds_countcount of Histogram of all requests from consumers消费者所有请求的响应时间直方图总数量
dubbo_consumer_rt_milliseconds_histogram_seconds_sumsum of Histogram of all requests from consumers消费者所有请求的响应时间直方图总和
dubbo_consumer_rt_milliseconds_histogram_seconds_maxmax of Histogram of all requests from consumers消费者所有请求的响应时间直方图最大值
dubbo_consumer_requests_business_failed_totalTotal Failed Business Requests当RPC请求异常状态码为RpcException.BIZ_EXCEPTION
dubbo_consumer_requests_timeout_totalTotal Timeout Failed Requests当RPC请求异常为超时异常状态码为RpcException.TIMEOUT_EXCEPTION
dubbo_consumer_requests_timeout_failed_aggregateTotal Timeout Failed Requests滑动窗口内的聚合指标 当RPC请求异常为超时异常状态码为RpcException.TIMEOUT_EXCEPTION
dubbo_consumer_requests_limit_totalTotal Limit Failed RequestsRPC请求状态码为RpcException.LIMIT_EXCEEDED_EXCEPTION或者异常类型为LimitExceededException 一般为并发数超过了限制 max concurrent invoke 或者是超过了系统的上限出现了异常LimitExceededException
dubbo_consumer_requests_unknown_failed_totalTotal Unknown Failed Requests暂为归类的其他类型的异常具体分析根据日志来看
dubbo_consumer_requests_failed_totalTotal Failed Requests总的异常次数
dubbo_consumer_requests_failed_total_aggregateTotal Failed Requests滑动窗口内的聚合指标 总的异常次数
dubbo_consumer_requests_failed_network_totalTotal network Failed Requests一般发生在网络连接失败或者网络通信时候发生的异常,对应Java异常为RemotingException
dubbo_consumer_requests_failed_network_total_aggregateTotal network Failed Requests滑动窗口内的聚合指标 一般发生在网络连接失败或者网络通信时候发生的异常,对应Java异常为RemotingException
dubbo_consumer_requests_failed_service_unavailable_totalTotal Service Unavailable Failed Requests当不存在提供者或者调用了被禁止访问提的提供者时候会出现此异常 ,对应异常码FORBIDDEN_EXCEPTION
dubbo_consumer_requests_failed_codec_totalTotal codec failed序列化相关的异常,异常码SERIALIZATION_EXCEPTION

ThreadPool Metrics

Metrics NameDescription说明
dubbo_thread_pool_max_sizeThread Pool Max Size线程池最大大小
dubbo_thread_pool_largest_sizeThread Pool Largest Size线程池最大大小
dubbo_thread_pool_thread_countThread Pool Thread Count线程池线程计数
dubbo_thread_pool_queue_sizeThread Pool Queue Size线程池队列大小
dubbo_thread_pool_active_sizeThread Pool Active Size线程池活动大小
dubbo_thread_pool_core_sizeThread Pool Core Size线程池核心大小
dubbo_thread_pool_reject_thread_countThread Pool Reject Count线程池拒绝执行任务数量

Registration Center Metrics

Metrics NameDescription说明
dubbo_register_service_rt_milliseconds_avgAverage Service Register Time接口级 服务接口注册平均时间
dubbo_register_service_rt_milliseconds_lastLast Service Register Time接口级 服务接口注册最新响应时间
dubbo_register_service_rt_milliseconds_maxMax Service Register Time接口级 服务接口注册总的最大时间
dubbo_register_service_rt_milliseconds_minMin Service Register Time接口级 服务接口注册总的最小时间
dubbo_register_service_rt_milliseconds_sumSum Service Register Time接口级 服务接口注册总的注册时间
dubbo_registry_directory_num_allTotal Directory Num接口级 服务接口目录总数
dubbo_registry_directory_num_disable_totalTotal Disable Directory Num接口级 服务接口目录禁用总数
dubbo_registry_directory_num_to_reconnect_totalTotal Directory Num To Reconnect接口级 服务接口目录重连总数
dubbo_registry_directory_num_valid_totalTotal Valid Directory Num接口级 服务接口目录有效总数
dubbo_registry_notify_num_lastLast Notify Num接口级 服务接口通知最新响应时间
dubbo_registry_notify_requests_totalTotal Notify Requests接口级 服务接口通知总次数
dubbo_register_rt_milliseconds_maxMax Response Time应用级 实例注册总的最大时间
dubbo_register_rt_milliseconds_avgAverage Response Time应用级 实例注册总的平均时间
dubbo_register_rt_milliseconds_sumSum Response Time应用级 实例注册总的注册时间
dubbo_register_rt_milliseconds_minMin Response Time应用级 实例注册总的最小时间
dubbo_registry_register_requests_succeed_totalSucceed Register Requests应用级 实例注册成功的次数
dubbo_registry_register_requests_totalTotal Register Requests应用级 实例注册总次数包含成功与失败
dubbo_registry_register_requests_failed_totalFailed Register Requests应用级 实例注册失败次数
dubbo_register_rt_milliseconds_lastLast Response Time应用级 实例注册最新响应时间
dubbo_registry_register_service_totalTotal Service-Level Register Requests接口级 服务接口注册总数
dubbo_registry_register_service_succeed_totalSucceed Service-Level Register Requests接口级 服务接口注册成功总数
dubbo_registry_register_service_failed_totalFailed Service-Level Register Requests接口级 服务接口注册失败总数
dubbo_registry_subscribe_num_failed_totalFailed Subscribe Num应用级 实例订阅失败总数
dubbo_registry_subscribe_num_succeed_totalSucceed Subscribe Num应用级 实例订阅成功总数
dubbo_registry_subscribe_num_totalTotal Subscribe Num应用级 实例订阅总数
dubbo_registry_subscribe_service_num_totalTotal Service-Level Subscribe Num接口级 服务接口订阅总数
dubbo_registry_subscribe_service_num_succeed_totalSucceed Service-Level Num接口级 服务接口订阅成功总数
dubbo_registry_subscribe_service_num_failed_totalFailed Service-Level Num接口级 服务接口订阅失败总数
dubbo_notify_rt_milliseconds_avgAverage Notify Time接口级 服务接口通知总的平均时间
dubbo_notify_rt_milliseconds_lastLast Notify Time接口级 服务接口通知最新响应时间
dubbo_notify_rt_milliseconds_maxMax Notify Time接口级 服务接口通知总的最大时间
dubbo_notify_rt_milliseconds_minMin Notify Time接口级 服务接口通知总的最小时间
dubbo_notify_rt_milliseconds_sumSum Notify Time接口级 服务接口通知总的通知时间

Metadata Center Metrics

部分元数据指标生效范围:当元数据为集中式配置时(report-metadata为true或者metadataType为remote)

Metrics NameDescription说明
dubbo_metadata_push_num_totalTotal Num提供者 推送元数据到元数据中心的成功次数,当提供者元数据发生了变更时触发
dubbo_metadata_push_num_succeed_totalSucceed Push Num提供者 推送元数据到元数据中心的成功次数,当提供者元数据发生了变更时触发
dubbo_metadata_push_num_failed_totalFailed Push Num提供者 推送元数据到元数据中心的失败次数,当提供者元数据发生了变更时并且出现异常触发
dubbo_metadata_subscribe_num_totalTotal Metadata Subscribe Num消费者 获取元数据的总次数,当消费者启动时本地磁盘缓存无元数据获取元数据的次数
dubbo_metadata_subscribe_num_succeed_totalSucceed Metadata Subscribe Num消费者 获取元数据的总次数,当消费者启动时本地磁盘缓存无元数据并且成功获取元数据的次数
dubbo_metadata_subscribe_num_failed_totalFailed Metadata Subscribe Num消费者 获取元数据的总次数,当消费者启动时本地磁盘缓存无元数据并且获取元数据失败的次数
dubbo_push_rt_milliseconds_sumSum Response Time提供者 推送元数据到元数据中心的总时间
dubbo_push_rt_milliseconds_lastLast Response Time提供者 推送元数据到元数据中心的最新耗时
dubbo_push_rt_milliseconds_minMin Response Time提供者 推送元数据到元数据中心的最小时间
dubbo_push_rt_milliseconds_maxMax Response Time提供者 推送元数据到元数据中心的最大时间
dubbo_push_rt_milliseconds_avgAverage Response Time提供者 推送元数据到元数据中心的平均时间
dubbo_subscribe_rt_milliseconds_sumSum Response Time消费者 获取元数据从元数据中心的总时间
dubbo_subscribe_rt_milliseconds_lastLast Response Time消费者 推送元数据到元数据中心的最新耗时
dubbo_subscribe_rt_milliseconds_minMin Response Time消费者 推送元数据到元数据中心的最小时间
dubbo_subscribe_rt_milliseconds_maxMax Response Time消费者 推送元数据到元数据中心的最大时间
dubbo_subscribe_rt_milliseconds_avgAverage Response Time消费者 推送元数据到元数据中心的平均时间
dubbo_metadata_store_provider_failed_totalTotal Failed Provider Metadata Store提供者 元数据中心存储提供者元数据失败次数
dubbo_metadata_store_provider_succeed_totalTotal Succeed Provider Metadata Store提供者 元数据中心存储提供者元数据成功次数
dubbo_metadata_store_provider_totalTotal Provider Metadata Store提供者 元数据中心存储提供者元数据总次数
dubbo_store_provider_interface_rt_milliseconds_avgAverage Store Provider Interface Time接口级 服务接口存储提供者平均时间
dubbo_store_provider_interface_rt_milliseconds_lastLast Store Provider Interface Time接口级 服务接口存储提供者最新响应时间
dubbo_store_provider_interface_rt_milliseconds_maxMax Store Provider Interface Time接口级 服务接口存储提供者最大时间
dubbo_store_provider_interface_rt_milliseconds_minMin Store Provider Interface Time接口级 服务接口存储提供者最小时间
dubbo_store_provider_interface_rt_milliseconds_sumSum Store Provider Interface Time接口级 服务接口存储提供者总的存储时间
dubbo_subscribe_service_rt_milliseconds_lastLast Subscribe Service Time接口级 服务接口订阅元数据最新响应时间
dubbo_subscribe_service_rt_milliseconds_maxMax Subscribe Service Time接口级 服务接口订阅元数据最大时间
dubbo_subscribe_service_rt_milliseconds_minMin Subscribe Service Time接口级 服务接口订阅元数据最小时间
dubbo_subscribe_service_rt_milliseconds_sumSum Subscribe Service Time接口级 服务接口订阅元数据总的存储时间
dubbo_subscribe_service_rt_milliseconds_avgAverage Subscribe Service Time接口级 服务接口订阅元数据平均时间

Configcenter

Metrics NameDescription说明
dubbo_configcenter_totalConfig Changed Total配置中心推送配置次数

ApplicationInfo

Metrics NameDescription说明
dubbo_application_info_totalTotal Application Info应用信息包含应用名、版本号等

最后修改 September 13, 2024: Refactor website structure (#2860) (1a4b998f54b)