Class MicrometerMetricsRecorder
java.lang.Object
io.camunda.zeebe.spring.client.actuator.MicrometerMetricsRecorder
- All Implemented Interfaces:
MetricsRecorder
-
Field Summary
Fields inherited from interface io.camunda.zeebe.spring.client.metrics.MetricsRecorder
ACTION_ACTIVATED, ACTION_BPMN_ERROR, ACTION_COMPLETED, ACTION_FAILED, METRIC_NAME_JOB -
Constructor Summary
ConstructorsConstructorDescriptionMicrometerMetricsRecorder(io.micrometer.core.instrument.MeterRegistry meterRegistry) -
Method Summary
Modifier and TypeMethodDescriptionvoidexecuteWithTimer(String metricName, String jobType, Runnable methodToExecute) voidprotected io.micrometer.core.instrument.CounternewCounter(String metricName, String action, String jobType) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.camunda.zeebe.spring.client.metrics.MetricsRecorder
increase
-
Constructor Details
-
MicrometerMetricsRecorder
public MicrometerMetricsRecorder(io.micrometer.core.instrument.MeterRegistry meterRegistry)
-
-
Method Details
-
newCounter
-
increase
- Specified by:
increasein interfaceMetricsRecorder
-
executeWithTimer
- Specified by:
executeWithTimerin interfaceMetricsRecorder
-