Class MetricsHandler

  • All Implemented Interfaces:
    io.undertow.server.HttpHandler

    public class MetricsHandler
    extends PipelinedHandler
    A handler for dropwizard.io metrics that can return both default metrics JSON and the prometheus format.
    Author:
    Lena BrĂ¼der <brueder@e-spirit.com>, Christian Groth <groth@e-spirit.com>
    • Constructor Detail

      • MetricsHandler

        public MetricsHandler()
      • MetricsHandler

        public MetricsHandler​(PipelinedHandler next)
        Parameters:
        next -
    • Method Detail

      • handleRequest

        public void handleRequest​(io.undertow.server.HttpServerExchange exchange)
                           throws Exception
        Specified by:
        handleRequest in interface io.undertow.server.HttpHandler
        Specified by:
        handleRequest in class PipelinedHandler
        Parameters:
        exchange -
        Throws:
        Exception