addMetrics(targetList, metricValues, StandardUnit.Bytes);
}
private void addFileDescriptorMetrics(List<MetricDatum> targetList,
Set<MachineMetric> customSet) {
JmxInfoProvider provider = JmxInfoProvider.Factory.getJmxInfoProvider();
long[] fdInfo = provider.getFileDecriptorInfo();
if (fdInfo != null) {
long openFdCount = fdInfo[0];
long maxFdCount = fdInfo[1];
List<Long> values = Arrays.asList(openFdCount, maxFdCount - openFdCount);