Class MetricsCommandInterceptor
java.lang.Object
org.flowable.common.engine.impl.interceptor.AbstractCommandInterceptor
com.flowable.core.micrometer.impl.interceptor.MetricsCommandInterceptor
- All Implemented Interfaces:
io.micrometer.core.instrument.binder.MeterBinder
,CommandInterceptor
public class MetricsCommandInterceptor
extends AbstractCommandInterceptor
implements io.micrometer.core.instrument.binder.MeterBinder
-
Field Summary
Modifier and TypeFieldDescriptionprotected io.micrometer.core.instrument.Timer
protected io.micrometer.core.instrument.Counter
static final String
static final String
protected final String
protected io.micrometer.core.instrument.Timer
static final String
Fields inherited from class org.flowable.common.engine.impl.interceptor.AbstractCommandInterceptor
next
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
bindTo
(io.micrometer.core.instrument.MeterRegistry registry) <T> T
execute
(CommandConfig config, Command<T> command, CommandExecutor commandExecutor) Methods inherited from class org.flowable.common.engine.impl.interceptor.AbstractCommandInterceptor
getNext, setNext
-
Field Details
-
COUNTER_NAME
- See Also:
-
ENGINE_TYPE_TAG
- See Also:
-
JOB_EXECUTION_TIMER_NAME
- See Also:
-
engineType
-
counter
protected io.micrometer.core.instrument.Counter counter -
asyncjobExecutionTimer
protected io.micrometer.core.instrument.Timer asyncjobExecutionTimer -
historyJobExecutionTimer
protected io.micrometer.core.instrument.Timer historyJobExecutionTimer
-
-
Constructor Details
-
MetricsCommandInterceptor
-
-
Method Details
-
bindTo
public void bindTo(io.micrometer.core.instrument.MeterRegistry registry) - Specified by:
bindTo
in interfaceio.micrometer.core.instrument.binder.MeterBinder
-
execute
- Specified by:
execute
in interfaceCommandInterceptor
-
getEngineType
-