Package fr.gouv.vitam.common.metrics
Class VitamCommonMetrics
java.lang.Object
fr.gouv.vitam.common.metrics.VitamCommonMetrics
-
Field Summary
Modifier and TypeFieldDescriptionstatic final io.prometheus.client.Counter
Count the number of alerts by log_levelstatic final io.prometheus.client.Counter
Count the number of consistency errors by tenant and servicestatic final io.prometheus.client.Histogram
Compute reconstruction duration by tenant and container. -
Constructor Summary
-
Method Summary
-
Field Details
-
ALERT_SERVICE_COUNTER
public static final io.prometheus.client.Counter ALERT_SERVICE_COUNTERCount the number of alerts by log_level -
CONSISTENCY_ERROR_COUNTER
public static final io.prometheus.client.Counter CONSISTENCY_ERROR_COUNTERCount the number of consistency errors by tenant and service -
RECONSTRUCTION_DURATION
public static final io.prometheus.client.Histogram RECONSTRUCTION_DURATIONCompute 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 Details
-
VitamCommonMetrics
public VitamCommonMetrics()
-