Skip to content

Commit

Permalink
MetricsConsumer bugfix introduced in #554 about metrics names
Browse files Browse the repository at this point in the history
  • Loading branch information
jnioche committed Apr 9, 2018
1 parent b39b37c commit 6e79d98
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -97,7 +97,7 @@ private void handleDataPoints(final TaskInfo taskInfo,
Iterator<Entry> keyValiter = ((Map) value).entrySet().iterator();
while (keyValiter.hasNext()) {
Entry entry = keyValiter.next();
String newnameprefix = "." + entry.getKey();
String newnameprefix = nameprefix + "." + entry.getKey();
handleDataPoints(taskInfo, newnameprefix, entry.getValue(), now);
}
} else if (value instanceof Collection) {
Expand Down
Expand Up @@ -86,7 +86,7 @@ private void handleDataPoints(final TaskInfo taskInfo,
Iterator<Entry> keyValiter = ((Map) value).entrySet().iterator();
while (keyValiter.hasNext()) {
Entry entry = keyValiter.next();
String newnameprefix = "." + entry.getKey();
String newnameprefix = nameprefix + "." + entry.getKey();
handleDataPoints(taskInfo, newnameprefix, entry.getValue(), now);
}
} else if (value instanceof Collection) {
Expand Down

0 comments on commit 6e79d98

Please sign in to comment.