Class BrokerStepMetrics

java.lang.Object
io.camunda.zeebe.broker.system.monitoring.BrokerStepMetrics

public class BrokerStepMetrics extends Object
  • Field Details

  • Constructor Details

    • BrokerStepMetrics

      public BrokerStepMetrics()
  • Method Details

    • observeDurationForStarStep

      public void observeDurationForStarStep(String stepName, long startupDuration)
      Meter the time to start for a single step.
      Parameters:
      stepName - the name of the step
      startupDuration - the step start duration in ms
    • createStartupTimer

      public io.prometheus.client.Gauge.Timer createStartupTimer(String stepName)
    • createCloseTimer

      public io.prometheus.client.Gauge.Timer createCloseTimer(String stepName)
    • observeDurationForCloseStep

      public void observeDurationForCloseStep(String stepName, long closeDuration)
      Meter the the time to close for a single step.
      Parameters:
      stepName - the name of the step
      closeDuration - the step close duration in ms