refactor(forest): 优化指标名称 更具有辨识度

This commit is contained in:
2024-02-04 16:33:53 +08:00
parent f6eb68199c
commit ccb5148e53

View File

@@ -28,8 +28,8 @@ import org.springframework.stereotype.Component;
@SuppressWarnings("unchecked")
@Component
public class MetricsInterceptor implements Interceptor<Object> {
public static final String FOREST_SEND_REQUEST = "forest_send_request";
public static final String FOREST_SEND_REQUEST_SECONDS = "forest_send_request_seconds";
public static final String FOREST_SEND_REQUEST = "service_forest_send_request";
public static final String FOREST_SEND_REQUEST_SECONDS = "service_forest_send_request_seconds";
private static final Logger logger = LoggerFactory.getLogger(MetricsInterceptor.class);
private static final String PARSED_TAGS = "parsed_tags";
private final MeterRegistry meterRegistry;