Package com.yammer.metrics.reporting

Examples of com.yammer.metrics.reporting.MetricsServlet


    context.setWar(warPath);
    context.setContextPath("/");
    context.setParentLoaderPriority(true);
    // context.addServlet(new ServletHolder(new LiveMetricsServlet()),
    // "/livemetrics");
    context.addServlet(new ServletHolder(new MetricsServlet()), "/metrics");
    context.addServlet(new ServletHolder(new LogServlet(blurLogFile)), "/logs");

    LOG.info("WEB GUI coming up for resource: " + base);
    LOG.info("WEB GUI thinks its at: " + warPath);
    LOG.info("WEB GUI log file being exposed: " + logDir == null ? "STDOUT" : blurLogFile);
View Full Code Here


    context = new WebAppContext();
    String warPath = getWarFolder(c);
    context.setWar(warPath);
    context.setContextPath("/");
    context.setParentLoaderPriority(true);
    context.addServlet(new ServletHolder(new MetricsServlet()), "/metrics");
    context.addServlet(new ServletHolder(new LogServlet(blurLogFile)), "/logs");

    LOG.info("Http server thinks its at: " + warPath);
    LOG.info("Http server log file being exposed: " + logDir == null ? "STDOUT" : blurLogFile);
View Full Code Here

TOP

Related Classes of com.yammer.metrics.reporting.MetricsServlet

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.