Updated on 2024-11-18 GMT+08:00

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

DMS Rebalancing Log Center

  1. Log in to the LTS console.
  2. In the navigation pane, choose Dashboards.
  3. 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')