tagValues.put(Constants.Metrics.Tag.RUN_ID, pathParts.next());
if (pathParts.hasNext()) {
nextPath = pathParts.next();
} else {
return;
<BUG>}
}</BUG>
if (!nextPath.equals(componentType)) {
String exception = String.format("Expecting '%s' after the %s name ", componentType,
requestType.substring(0, requestType.length() - 1));

tagValues.put(Constants.Metrics.Tag.RUN_ID, pathParts.next());
if (pathParts.hasNext()) {
nextPath = pathParts.next();
} else {
return;
}
} else {
tagValues.put(Constants.Metrics.Tag.RUN_ID, null);
}
if (!nextPath.equals(componentType)) {
String exception = String.format("Expecting '%s' after the %s name ", componentType,
requestType.substring(0, requestType.length() - 1));
