Package com.codahale.metrics.servlets

Examples of com.codahale.metrics.servlets.PingServlet


      @Override
      protected void configureServlets() {
        bind(MetricsServlet.class);
        bind(HealthCheckServlet.class);

        serve(MOUNT_POINT + "/ping").with(new PingServlet());
        serve(MOUNT_POINT + "/threads").with(new ThreadDumpServlet());
        serve(MOUNT_POINT + "/metrics").with(MetricsServlet.class);
        serve(MOUNT_POINT + "/healthcheck").with(HealthCheckServlet.class);

        // record metrics for all webapp access
View Full Code Here

TOP

Related Classes of com.codahale.metrics.servlets.PingServlet

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.