Class MetricsProperties


  • public abstract class MetricsProperties
    extends java.lang.Object
    RqueueMetrics provides all possible configurations available in Rqueue library for metrics.

    Rqueue can be configured to count the failure execution, total execution, and can have set of tags.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean countExecution()  
      boolean countFailure()  
      io.micrometer.core.instrument.Tags getMetricTags()
      Get Tags object that can be used in metric.
      void setMetricTags​(io.micrometer.core.instrument.Tags tags)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MetricsProperties

        public MetricsProperties()
    • Method Detail

      • getMetricTags

        public io.micrometer.core.instrument.Tags getMetricTags()
        Get Tags object that can be used in metric. Tags can be either configured manually or using properties or XML file.
        Returns:
        Tags object
      • setMetricTags

        public void setMetricTags​(io.micrometer.core.instrument.Tags tags)
      • countExecution

        public boolean countExecution()
      • countFailure

        public boolean countFailure()