Package io.camunda.zeebe.gateway.metrics
Class LongPollingMetrics
java.lang.Object
io.camunda.zeebe.gateway.metrics.LongPollingMetrics
Metrics to monitor the health of the long polling requests per protocol.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedLongPollingMetrics(BoundedMeterCache<StatefulGauge> requestsQueued) LongPollingMetrics(io.micrometer.core.instrument.MeterRegistry registry, LongPollingMetricsDoc.GatewayProtocol gatewayProtocol) -
Method Summary
Modifier and TypeMethodDescriptionstatic LongPollingMetricsnoop()Returns an instance ofLongPollingMetricswhich does nothing.voidsetBlockedRequestsCount(String type, int count) Sets the number of long polling requests which are idle for a given job type
-
Constructor Details
-
LongPollingMetrics
public LongPollingMetrics(io.micrometer.core.instrument.MeterRegistry registry, LongPollingMetricsDoc.GatewayProtocol gatewayProtocol) -
LongPollingMetrics
-
-
Method Details
-
noop
Returns an instance ofLongPollingMetricswhich does nothing. Mostly useful for testing. -
setBlockedRequestsCount
Sets the number of long polling requests which are idle for a given job type
-