DMS Dashboard Templates
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. This dashboard visualizes key metrics extracted from DMS rebalancing logs, including the total rebalancing consumer groups, total rebalances, number of rebalances per consumer group, rebalancing reasons, and group details.
Prerequisites
- DMS logs have been collected to LTS.
- Logs have been structured. For details, see Setting Cloud Structuring Parsing.
DMS Rebalancing Log Center
- Log in to the management console and choose Management & Deployment > Log Tank Service.
- In the navigation pane, choose Dashboards.
- Choose DMS Dashboard Templates under Dashboard Templates and click DMS Rebalancing Log Center to view the detailed charts.
- 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.