Class MetricSnapshot

java.lang.Object
com.nmontytskyi.monitoring.model.MetricSnapshot

public class MetricSnapshot extends Object
A single snapshot of a microservice state at a specific point in time.

Can represent either the overall service state (when endpoint is null) or the state of a specific endpoint (when endpoint is set).

The anomaly and zScore fields are populated by AnomalyDetector based on statistical analysis of historical values.

  • Constructor Details

    • MetricSnapshot

      public MetricSnapshot()