Skip to content

Commit

Permalink
invoke attribute metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
aarshi0301 committed Nov 28, 2024
1 parent 10c049b commit f76363a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1069,8 +1069,8 @@ private AtlasEntityHeader mapVertexToAtlasEntityHeader(AtlasVertex entityVertex,
ret.setDisplayText(displayText.toString());
}

attributeProcessingRecorder = RequestContext.get().startMetricRecord("attributeProcessingTime");
if (CollectionUtils.isNotEmpty(attributes)) {
attributeProcessingRecorder = RequestContext.get().startMetricRecord("attributeProcessingTime");
for (String attrName : attributes) {
AtlasAttribute attribute = entityType.getAttribute(attrName);

Expand Down

0 comments on commit f76363a

Please sign in to comment.