Update MetricsAggregatorService.java
This commit is contained in:
@@ -39,6 +39,13 @@ public class MetricsAggregatorService {
|
|||||||
if (method == null || uri == null) {
|
if (method == null || uri == null) {
|
||||||
return;
|
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 key =
|
||||||
String.format(
|
String.format(
|
||||||
|
|||||||
Reference in New Issue
Block a user