Class Metrics

  • All Implemented Interfaces:
    Consumer<de.digitalcollections.flusswerk.engine.flow.FlowStatus>

    @Component
    public class Metrics
    extends Object
    implements Consumer<de.digitalcollections.flusswerk.engine.flow.FlowStatus>
    • Constructor Detail

    • Method Detail

      • executionTime

        public io.micrometer.core.instrument.Counter executionTime​(de.digitalcollections.flusswerk.engine.flow.FlowStatus.Status status)
        Counter for the total execution time per FlowStatus.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 per FlowStatus.Status.
        Parameters:
        status - the respective status
        Returns:
        the corresponding counter
      • accept

        public void accept​(de.digitalcollections.flusswerk.engine.flow.FlowStatus flowStatus)
        Specified by:
        accept in interface Consumer<de.digitalcollections.flusswerk.engine.flow.FlowStatus>