Skip to content

Commit

Permalink
fix value for memtype tag on memory pool metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
brharrington committed Jul 17, 2015
1 parent 37e936d commit c2dd18b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class MemoryPoolMeter extends AbstractMeter<MemoryPoolMXBean> {
final List<Measurement> ms = new ArrayList<>();
if (mbean != null) {
final String typeKey = "memtype";
final String type = mbean.getName();
final String type = mbean.getType().name();

final MemoryUsage usage = mbean.getUsage();
ms.add(new Measurement(usedId.withTag(typeKey, type), timestamp, usage.getUsed()));
Expand Down

0 comments on commit c2dd18b

Please sign in to comment.