Class BrokerStepMetrics
java.lang.Object
io.camunda.zeebe.broker.system.monitoring.BrokerStepMetrics
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.prometheus.client.Gauge.TimercreateCloseTimer(String stepName) io.prometheus.client.Gauge.TimercreateStartupTimer(String stepName) voidobserveDurationForCloseStep(String stepName, long closeDuration) Meter the the time to close for a single step.voidobserveDurationForStarStep(String stepName, long startupDuration) Meter the time to start for a single step.
-
Field Details
-
ZEEBE_NAMESPACE
- See Also:
-
STEP_NAME_LABEL
- See Also:
-
-
Constructor Details
-
BrokerStepMetrics
public BrokerStepMetrics()
-
-
Method Details
-
observeDurationForStarStep
Meter the time to start for a single step.- Parameters:
stepName- the name of the stepstartupDuration- the step start duration in ms
-
createStartupTimer
-
createCloseTimer
-
observeDurationForCloseStep
Meter the the time to close for a single step.- Parameters:
stepName- the name of the stepcloseDuration- the step close duration in ms
-