Histogram readAccess = Metrics.newHistogram(new MetricName(ORG_APACHE_BLUR, HDFS, "Read Latency in \u00B5s",
scope));
Histogram writeAccess = Metrics.newHistogram(new MetricName(ORG_APACHE_BLUR, HDFS, "Write Latency in \u00B5s",
scope));
Meter readThroughput = Metrics.newMeter(new MetricName(ORG_APACHE_BLUR, HDFS, "Read Throughput", scope),
"Read Bytes", TimeUnit.SECONDS);
Meter writeThroughput = Metrics.newMeter(new MetricName(ORG_APACHE_BLUR, HDFS, "Write Throughput", scope),
"Write Bytes", TimeUnit.SECONDS);
metricsGroup = new MetricsGroup(readAccess, writeAccess, readThroughput, writeThroughput);
metricsGroupMap.put(uri, metricsGroup);
}
this.metricsGroup = metricsGroup;