Skip to content

Commit

Permalink
Update extensions/micrometer/runtime/src/main/java/io/quarkus/microme…
Browse files Browse the repository at this point in the history
…ter/runtime/binder/HttpCommonTags.java

Co-authored-by: Erin Schnabel <[email protected]>
  • Loading branch information
ahus1 and ebullient authored Mar 20, 2024
1 parent b199b88 commit 03072ec
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ public static Tag uri(String pathInfo, String initialPath, int code) {
}

private static boolean isTemplatedPath(String pathInfo, String initialPath) {
// only include the path info if it has been matched to a template (initialPath != pathInfo) to avoid a metrics explosion with lots of not found paths
return initialPath != null && !Objects.equals(initialPath, pathInfo);
}
}

0 comments on commit 03072ec

Please sign in to comment.