Update MetricsAggregatorService.java

This commit is contained in:
Anthony Stirling 2024-11-26 21:30:47 +00:00 committed by GitHub
parent 0915e72a3d
commit 212e521238
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -39,6 +39,13 @@ public class MetricsAggregatorService {
if (method == null || uri == null) {
return;
}
if (!method.equals("GET") && !method.equals("POST")) {
return;
}
// Skip URIs that are 2 characters or shorter
if (uri.length() <= 2) {
return;
}
String key =
String.format(