Package com.mimecast.robin.metrics


package com.mimecast.robin.metrics
Collects and manages application-wide metrics.

This package contains the metrics related classes.

The MetricsRegistry is the main container for the metrics.
It is extended by MetricsCron to provide cron based metrics.

  • Classes
    Class
    Description
    Periodically collects Micrometer metrics and pushes them to a Prometheus-compatible backend using the Remote Write protocol (protobuf) with optional Snappy block compression.
    POJO: name/value label pair.
    Tiny protobuf writer sufficient for the WriteRequest/TimeSeries/Label/Sample envelope.
    POJO: a single sample value with timestamp in millis.
    POJO: one time series with its labels and samples.
    Global access to metric registries for background jobs like MetricsCron.