Class VitamCommonMetrics


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

      Fields 
      Modifier and Type Field Description
      static io.prometheus.client.Counter ALERT_SERVICE_COUNTER
      Count the number of alerts by log_level
      static io.prometheus.client.Counter CONSISTENCY_ERROR_COUNTER
      Count the number of consistency errors by tenant and service
      static io.prometheus.client.Histogram RECONSTRUCTION_DURATION
      Compute reconstruction duration by tenant and container.
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • ALERT_SERVICE_COUNTER

        public static final io.prometheus.client.Counter ALERT_SERVICE_COUNTER
        Count the number of alerts by log_level
      • CONSISTENCY_ERROR_COUNTER

        public static final io.prometheus.client.Counter CONSISTENCY_ERROR_COUNTER
        Count the number of consistency errors by tenant and service
      • RECONSTRUCTION_DURATION

        public static final io.prometheus.client.Histogram RECONSTRUCTION_DURATION
        Compute reconstruction duration by tenant and container. Should be aggregated by instance, to differentiate between metadata, logbook and functional administration This will count number of events and sum durations
    • Constructor Detail

      • VitamCommonMetrics

        public VitamCommonMetrics()