Package org.lilyproject.clientmetrics

Examples of org.lilyproject.clientmetrics.ListMetricsPlugin


        HBaseAdmin hbaseAdmin = new HBaseAdmin(getHBaseConf());

        hbaseMetrics = new HBaseMetrics(hbaseAdmin);
        lilyMetrics = new LilyMetrics(getZooKeeper());

        ListMetricsPlugin plugins = new ListMetricsPlugin();
        HBaseMetricsPlugin metricsPlugin = new HBaseMetricsPlugin(hbaseMetrics, hbaseAdmin, useHbaseMetrics);
        plugins.add(metricsPlugin);
        addMetricsPlugins(plugins);

        metricsStream = new PrintStream(new FileOutputStream(metricsFile));
        metrics = new Metrics(metricsStream, plugins);
        metrics.setThreadCount(workers);
View Full Code Here

TOP

Related Classes of org.lilyproject.clientmetrics.ListMetricsPlugin

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.