Class CommonMetadataMetrics


  • public class CommonMetadataMetrics
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static io.prometheus.client.Counter LOG_SHIPPING_COUNTER
      Count all log shipping events Even when the response is log shipping already running
      static io.prometheus.client.Histogram LOG_SHIPPING_DURATION
      Compute metadata log shipping duration.
      static io.prometheus.client.Counter UNIT_SCROLL_COUNTER
      Count metadata stream documents
      static io.prometheus.client.Histogram UNIT_SCROLL_DURATION_HISTOGRAM
      Compute metadata stream document duration.
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • UNIT_SCROLL_DURATION_HISTOGRAM

        public static final io.prometheus.client.Histogram UNIT_SCROLL_DURATION_HISTOGRAM
        Compute metadata stream document duration.
      • UNIT_SCROLL_COUNTER

        public static final io.prometheus.client.Counter UNIT_SCROLL_COUNTER
        Count metadata stream documents
      • LOG_SHIPPING_DURATION

        public static final io.prometheus.client.Histogram LOG_SHIPPING_DURATION
        Compute metadata log shipping duration. This will count number of events and sum durations This will only count effective log shipping and do not count the number off calls ended with (log shipping already running) To count all log shipping events, use
      • LOG_SHIPPING_COUNTER

        public static final io.prometheus.client.Counter LOG_SHIPPING_COUNTER
        Count all log shipping events Even when the response is log shipping already running
    • Constructor Detail

      • CommonMetadataMetrics

        public CommonMetadataMetrics()