Uploaded image for project: 'Managed Service - Streams'
  1. Managed Service - Streams
  2. MGDSTRM-8773

Expose BrokerState metric to CEE dashboard

XMLWordPrintable

    • Expose Broker State
    • False
    • None
    • False
    • No
    • In Progress
    • MGDSRVS-48 - Be able to sustain an external paying customer in production
    • 0% To Do, 0% In Progress, 100% Done
    • ---
    • ---

      What

      BrokerState metric should be exposed to Prometheus and added to a dashboard so that the support team can understand the state of the broker. 

      Why

      The broker state reveals the current internal state of the broker.  This important to understand the state of the service.   This is critical information for the SRE when trying to diagnose problems with the service.

       

      • The state the broker is in when it first starts up NOT_RUNNING((byte) 0)
      • The state the broker is in when it is catching up with cluster metadata. STARTING((byte) 1)
      • The broker has caught up with cluster metadata, but has not yet been unfenced by the controller. RECOVERY((byte) 2)
      • The state the broker is in when it has registered at least once, and is  accepting client requests.   RUNNING((byte) 3)
      • The state the broker is in when it is attempting to perform a controlled  shutdown.   PENDING_CONTROLLED_SHUTDOWN((byte) 6)
      •  The state the broker is in when it is shutting down.  SHUTTING_DOWN((byte) 7),
      • The broker is in an unknown state. UNKNOWN((byte) 127)

      How

      Done

      • Metric expose on the dashboard

       

       

              sbarker@redhat.com Sam Barker
              keithbwall Keith Wall
              Kafka Integrations
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: