Class LongPollingMetrics

java.lang.Object
io.camunda.zeebe.gateway.metrics.LongPollingMetrics

public sealed class LongPollingMetrics extends Object
Metrics to monitor the health of the long polling requests per protocol.
  • Constructor Details

  • Method Details

    • noop

      public static LongPollingMetrics noop()
      Returns an instance of LongPollingMetrics which does nothing. Mostly useful for testing.
    • setBlockedRequestsCount

      public void setBlockedRequestsCount(String type, int count)
      Sets the number of long polling requests which are idle for a given job type