Class Metrics
- java.lang.Object
-
- de.digitalcollections.flusswerk.spring.boot.example.Metrics
-
-
Constructor Summary
Constructors Constructor Description Metrics(MeterFactory meterFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(de.digitalcollections.flusswerk.engine.flow.FlowStatus flowStatus)io.micrometer.core.instrument.CounterexecutionTime(de.digitalcollections.flusswerk.engine.flow.FlowStatus.Status status)Counter for the total execution time perFlowStatus.Status.io.micrometer.core.instrument.CounterprocessedItems(de.digitalcollections.flusswerk.engine.flow.FlowStatus.Status status)Counter for the total number of processed items perFlowStatus.Status.
-
-
-
Constructor Detail
-
Metrics
public Metrics(MeterFactory meterFactory)
-
-
Method Detail
-
executionTime
public io.micrometer.core.instrument.Counter executionTime(de.digitalcollections.flusswerk.engine.flow.FlowStatus.Status status)
Counter for the total execution time perFlowStatus.Status.- Parameters:
status- the respective status- Returns:
- the corresponding counter
-
processedItems
public io.micrometer.core.instrument.Counter processedItems(de.digitalcollections.flusswerk.engine.flow.FlowStatus.Status status)
Counter for the total number of processed items perFlowStatus.Status.- Parameters:
status- the respective status- Returns:
- the corresponding counter
-
-