Class MetricService

  • @ApplicationScoped
    public class MetricService
    extends Object
    The Imixs MetricSerivce is a monitoring resource for Imixs-Workflow in the prometheus format. The MetricService is based on Microprofile 2.2 and MP-Metric-API 2.2

    A metric is created each time when a Imixs ProcessingEvent or Imixs DocumentEvent is fired. The service exports metrics in prometheus text format.

    The service provides counter metrics for document access and processed workitems. A counter will always increase. To extract the values in prometheus use the rate function - Example:


    The service expects MP Metrics v2.0. A warning is logged if corresponding version is missing.

    To enable the metric service the ... must be set to true