DMS Dashboard Template
DMS for Kafka is a message queuing service using open-source Apache Kafka. It provides Kafka instances with isolated computing, storage, and bandwidth resources. Rebalancing logs record rebalancing details, including the time, reason, and triggering client of rebalancing.
LTS provides a one-stop wizard to collect DMS rebalancing logs. It also supports multi-dimensional analysis and structuring, and offers a dashboard for DMS rebalancing logs. The dashboard displays the number of rebalancing consumer groups, number of rebalances, number of rebalances for consumer groups, rebalancing reasons, and group details of DMS rebalancing logs.
Prerequisites
- Logs have been collected from DMS. For details, see Ingesting CFW Logs to LTS.
- Logs have been structured. For details, see Setting Cloud Structuring Parsing.
DMS Rebalancing Log Center
- Log in to the LTS console.
- In the navigation pane, choose Dashboards.
- Choose DMS dashboard templates under Dashboard Templates and click DMS Rebalancing Log Center to view the chart details.
- Group ID. The associated query and analysis statement is:
select distinct("message.groupId")
- Filter by rebalancing reason.
- Consumer Groups for Rebalancing. The associated query and analysis statement is:
select count(distinct("message.groupId")) as "total" from log where ("message.type"!='RESPONSE' and "message.type" !='REQUEST')
- Rebalances. The associated query and analysis statement is:
select count(*) as 'total' where ("message.type" !='RESPONSE' and "message.type" !='REQUEST')
- Consumer Group Rebalances. The associated query and analysis statement is:
select "message.groupId" as 'GroupId', count(*) as 'Count' where ('message.type' !='RESPONSE' and 'message.type' !='REQUEST') group by "message.groupId"
- Rebalancing Reasons and Group Details. The associated query and analysis statement is:
select __time as 'Time', "message.type" as 'Type' ,"message.groupId" as 'GroupId', "message.reason" as 'Reason',"message.group" as 'Group' where ('message.type' !='RESPONSE' and 'message.type' !='REQUEST')
- Group ID. The associated query and analysis statement is:
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot