Project: SkyWalking (Observability and Analysis / Observability)
File: SWIP-3.md

RocketMQ is a cloud native messaging and streaming platform, making it simple to build event-driven applications. Now that Skywalking can monitor OpenTelemetry metrics, I want to add RocketMQ monitoring via the OpenTelemetry Collector, which fetches metrics from the RocketMQ Exporter There is no significant architecture-level change. ```rocketmq-exporter``` collects metrics from RocketMQ and transport the data to OpenTelemetry collector, using SkyWalking openTelemetry receiver to receive these metrics Provide cluster, broker, and topic dimensions monitoring. | Monitoring Panel |Unit | Metric Name | Description | Data Source | |--||-||| | Messages Produced Today | Count | meterrocketmqclustermessagesproduced_today | The number of cluster messages produced today. | RocketMQ Exporter | | Messages Consumed Today | Count | meterrocketmqclustermessagesconsumed_today | The number of cluster messages consumed today. | RocketMQ Exporter | | Total Producer Tps | Msg/sec | meterrocketmqclustertotalproducer_tps | The number of messages produced per second. | RocketMQ Exporter | | Total Consume Tps | Msg/sec | meterrocketmqclustertotalconsumer_tps | The number of messages consumed per second. | RocketMQ Exporter | | Producer Message Size | Bytes/sec | meterrocketmqclusterproducermessage_size | The max size of a message produced per second. | RocketMQ Exporter | | Consumer Message Size | Bytes/sec | meterrocketmqclusterconsumermessage_size | The max size of the consumed message per second. | RocketMQ Exporter | | Messages Produced Until Yesterday | Count | meterrocketmqclustermessagesproduceduntilyesterday | The total number of messages put until 12 o'clock last night. | RocketMQ Exporter | | Messages Consumed Until Yesterday | Count | meterrocketmqclustermessagesconsumeduntilyesterday | The total number of messages read until 12 o'clock last night. | RocketMQ Exporter | | Max Consumer Latency | ms | meterrocketmqclustermaxconsumer_latency | The max number of consumer latency. | RocketMQ Exporter | | Max CommitLog Disk Ratio | % | meterrocketmqclustermaxcommitLogdiskratio | The max utilization ratio of the commit log disk. | RocketMQ Exporter | | CommitLog Disk Ratio | % | meterrocketmqclustercommitLogdisk_ratio | The utilization ratio of the commit log disk per broker IP. | RocketMQ Exporter | | Pull ThreadPool Queue Head Wait Time | ms | meterrocketmqclusterpullthreadPoolqueueheadwaittime | The wait time in milliseconds for pulling threadPool queue per broker IP. | RocketMQ Exporter | | Send ThreadPool Queue Head Wait Time | ms | meterrocketmqclustersendthreadPoolqueueheadwaittime | The wait time in milliseconds for sending threadPool queue per broker

| RocketMQ Exporter | | Topic Count | Count | meterrocketmqclustertopiccount | The number of topics that received messages from the producer. | RocketMQ Exporter | | Broker Count | Count | meterrocketmqclusterbrokercount | The number of brokers that received messages from the producer. | RocketMQ Exporter | | Monitoring Panel |Unit | Metric Name | Description | Data Source | |--||-|-|-| | Produce TPS | Msg/sec | meterrocketmqbrokerproducetps | The number of broker produces messages per second. | RocketMQ Exporter | | Consume QPS | Msg/sec | meterrocketmqbrokerconsumeqps | The number of broker consumes messages per second. | RocketMQ Exporter | | Producer Message Size | Bytes/sec | meterrocketmqbrokerproducermessage_size | The max size of the messages produced per second. | RocketMQ Exporter | | Consumer Message Size | Bytes/sec | meterrocketmqbrokerconsumermessage_size | The max size of the messages consumed per second. | RocketMQ Exporter | | Monitoring Panel | Unit | Metric Name | Description | Data Source | ||--||--|-| | Max Producer Message Size | Byte | meterrocketmqtopicmaxproducermessagesize | The maximum number of messages produced. | RocketMQ Exporter | | Max Consumer Message Size | Byte | meterrocketmqtopicmaxconsumermessagesize | The maximum number of messages consumed. | RocketMQ Exporter | | Consumer Latency | ms | meterrocketmqtopicconsumerlatency | Consumption delay time of a consumer group. | RocketMQ Exporter | | Producer Tps | Msg/sec | meterrocketmqtopicproducertps | The number of messages produced per second. | RocketMQ Exporter | | Consumer Group Tps | Msg/sec | meterrocketmqtopicconsumergroup_tps | The number of messages consumed per second per consumer group. | RocketMQ Exporter | | Producer Offset | Count | meterrocketmqtopicproduceroffset | The max progress of a topic's production message. | RocketMQ Exporter | | Consumer Group Offset | Count | meterrocketmqtopicconsumergroup_offset | The max progress of a topic's consumption message per consumer group. | RocketMQ Exporter | | Producer Message Size | Byte/sec | meterrocketmqtopicproducermessage_size | The max size of messages produced per second. | RocketMQ Exporter | | Consumer Message Size | Byte/sec | meterrocketmqtopicconsumermessage_size | The max size of messages consumed per second. | RocketMQ Exporter | | Consumer GroupCount | Count | meterrocketmqtopicconsumergroupcount | The number of consumer groups. | RocketMQ Exporter | | Broker Count | Count | meterrocketmqtopicbrokercount | The number of topics that received messages from the producer. | RocketMQ Exporter | No new dependency. no breaking changes. This feature is out of the box.