Class TinyPrometheusHttpHandler

  • All Implemented Interfaces:
    HttpHandler

    public final class TinyPrometheusHttpHandler
    extends TinyHttpHandler
    Simple HTTP handler for getting prometheus metrics.
    • Constructor Detail

      • TinyPrometheusHttpHandler

        public TinyPrometheusHttpHandler()
        Instantiate handler with default registry.
      • TinyPrometheusHttpHandler

        public TinyPrometheusHttpHandler​(io.prometheus.client.CollectorRegistry registry)
        Instantiate handler with specified registry.
        Parameters:
        registry - The prometheus collector registry.