We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7c8d40 commit 31e0544Copy full SHA for 31e0544
framework/src/main/java/org/tron/core/services/filter/HttpInterceptor.java
@@ -18,7 +18,6 @@
18
@Slf4j(topic = "httpInterceptor")
19
public class HttpInterceptor implements Filter {
20
21
- private String endpoint;
22
private final int HTTP_SUCCESS = 200;
23
private final int HTTP_BAD_REQUEST = 400;
24
private final int HTTP_NOT_ACCEPTABLE = 406;
@@ -29,6 +28,7 @@ public void init(FilterConfig filterConfig) {
29
28
30
@Override
31
public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) {
+ String endpoint = MetricLabels.UNDEFINED;
32
try {
33
if (!(request instanceof HttpServletRequest)) {
34
chain.doFilter(request, response);
0 commit comments