Examples of NetworkMetricSet


Examples of org.stagemonitor.os.metrics.NetworkMetricSet

    }
    metricRegistry.registerAll(init(new CpuMetricSet(sigar, sigar.getCpuInfoList()[0])));
    metricRegistry.registerAll(init(new MemoryMetricSet(sigar)));
    metricRegistry.registerAll(init(new SwapMetricSet(sigar)));
    for (String ifname : sigar.getNetInterfaceList()) {
      metricRegistry.registerAll(init(new NetworkMetricSet(ifname, sigar)));
    }
    @SuppressWarnings("unchecked")
    final Set<Map.Entry<String, FileSystem>> entries = (Set<Map.Entry<String, FileSystem>>) sigar.getFileSystemMap().entrySet();
    for (Map.Entry<String, FileSystem> e : entries) {
      final FileSystem fs = e.getValue();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.