RocketMQ 5.1.4 哪个metrics指标可以表示这个TPS?
RocketMQ 提供了一些 Metrics 指标用于表示 TPS (Transaction Per Second) 性能数据,具体如下:
在RocketMQ 5.1.4中,生产消息的TPS(每秒事务数)可以通过"Producer Send Success Count"这个指标进行衡量。这个指标代表了每秒钟生产者成功发送消息的数量。这些Metrics指标以Prometheus格式公开,覆盖了Broker、Proxy和Producer等多个阶段的信息。
可以通过 rocketmq_messages_in_total 计算下
"rocketmq_broker_permission",
"rocketmq_consumer_inflight_messages",
"rocketmq_consumer_lag_latency_milliseconds",
"rocketmq_consumer_lag_messages",
"rocketmq_consumer_queueing_latency_milliseconds",
"rocketmq_consumer_ready_messages",
"rocketmq_message_size_bucket",
"rocketmq_message_size_count",
"rocketmq_message_size_sum",
"rocketmq_messages_in_total",
"rocketmq_messages_out_total",
"rocketmq_pop_buffer_scan_time_consume_milliseconds_bucket",
"rocketmq_pop_buffer_scan_time_consume_milliseconds_count",
"rocketmq_pop_buffer_scan_time_consume_milliseconds_sum",
"rocketmq_pop_checkpoint_buffer_size",
"rocketmq_pop_offset_buffer_size",
"rocketmq_pop_revive_lag_milliseconds",
"rocketmq_pop_revive_latency_milliseconds",
"rocketmq_pop_revive_out_message_total",
"rocketmq_processor_watermark",
"rocketmq_producer_connections",
"rocketmq_proxy_up",
"rocketmq_rpc_latency_milliseconds_bucket",
"rocketmq_rpc_latency_milliseconds_count",
"rocketmq_rpc_latency_milliseconds_sum",
"rocketmq_storage_dispatch_behind_bytes",
"rocketmq_storage_flush_behind_bytes",
"rocketmq_storage_message_reserve_time_milliseconds",
"rocketmq_storage_size_bytes",
"rocketmq_throughput_in_total",
"rocketmq_throughput_out_total",
"rocketmq_timer_dequeue_lag",
"rocketmq_timer_dequeue_latency_milliseconds",
"rocketmq_timer_enqueue_lag",
"rocketmq_timer_enqueue_latency_milliseconds",
"rocketmq_timing_messages",
此回答整理自钉群“群2-Apache RocketMQ 中国开发者钉钉群”
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。
涵盖 RocketMQ、Kafka、RabbitMQ、MQTT、轻量消息队列(原MNS) 的消息队列产品体系,全系产品 Serverless 化。RocketMQ 一站式学习:https://rocketmq.io/