Skip to content

Commit

Permalink
Add two metric rocketmq_create_topic_time and rocketmq_create_subscri…
Browse files Browse the repository at this point in the history
…ption_time

Signed-off-by: 黄梓淇 <[email protected]>
  • Loading branch information
黄梓淇 authored and 黄梓淇 committed May 29, 2024
1 parent f29dff1 commit 257b7e3
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ The following table describes the labels of the metrics that are related to the
- consumer_group: the ID of the consumer group.

| Type | Name | Unit | Description | Label |
| --------- | -------------------------------------- | ----------- |-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| ----------------------------------------------------------------- |
|-----------| -------------------------------------- |-------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------|
| counter | rocketmq_messages_in_total | count | The number of messages that are produced. | cluster,node_type,node_id,topic,message_type |
| counter | rocketmq_messages_out_total | count | The number of messages that are consumed. | cluster,node_type,node_id,topic, consumer_group |
| counter | rocketmq_throughput_in_total | byte | The write throughput that are produced. | cluster,node_type,node_id,topic,message_type |
Expand All @@ -42,8 +42,10 @@ The following table describes the labels of the metrics that are related to the
| gauge | rocketmq_storage_dispatch_behind_bytes | byte | Undispatched message size. | cluster,node_type,node_id |
| gauge | rocketmq_storage_flush_behind_bytes | byte | Unflushed messsage size. | cluster,node_type,node_id |
| gauge | rocketmq_thread_pool_wartermark | count | The number of tasks queued in the thread pool. | cluster,node_type,node_id,name |
| histogram | rocketmq_create_topic_time | millisecond | The topic creation time: <br />le_10_ms<br />le_100_ms<br />le_1_s<br />le_3_s<br />le_5_s<br />le_overflow | node_id,request_is_success,is_system |
| histogram | rocketmq_create_subscription_time | millisecond | The subscription group creation time: <br />le_10_ms<br />le_100_ms<br />le_1_s<br />le_3_s<br />le_5_s<br />le_overflow | node_id,request_is_success |
| histogram | rocketmq_create_topic_time | millisecond | The topic creation time: <br />le_10_ms<br />le_100_ms<br />le_1_s<br />le_3_s<br />le_5_s<br />le_overflow | cluster,node_type,node_id,request_is_success,is_system |
| histogram | rocketmq_create_subscription_time | millisecond | The subscription group creation time: <br />le_10_ms<br />le_100_ms<br />le_1_s<br />le_3_s<br />le_5_s<br />le_overflow | cluster,node_type,node_id,request_is_success |
| Gauge | rocketmq_active_topic_number | count | The number of current topics | cluster,node_type,node_id |
| Gauge | rocketmq_active_subscription_number | count | The number of current subscription group | cluster,node_type,node_id |

### Producer metrics

Expand Down
Loading

0 comments on commit 257b7e3

Please sign in to comment.