Class PrometheusCollector

  • All Implemented Interfaces:
    ServiceCollector

    public class PrometheusCollector
    extends AbstractRemoteServiceCollector
    Collects metrics exposed via HTTP(S) using the Prometheus exposition format. We leverage the Prometheus parser code (APLv2 licensed) written by RedHat as part of the hawkular-agent. See https://github.com/hawkular/hawkular-agent/tree/0.23.0.Final. (The code was removed from their tree in 0.24.0). Further details on the format are available at: https://prometheus.io/docs/instrumenting/exposition_formats/
    Author:
    jwhite