路佳明 3 долоо хоног өмнө
parent
commit
b2c3cf7f8e

+ 1 - 1
app/observe/service/urlmapping.go

@@ -1435,7 +1435,7 @@ func (s *UrlMapping) ChartQPSFromClickhouse(req *dto.UrlMappingChartReq, resp *d
 		Where("AppAlias", req.AppAlias).
 		Where("ServiceName", req.ServiceName).
 		Where("Method", req.Method).
-		Where("Route=? or Path=?", req.Route, req.Route).
+		Where("Route=?", req.Route).
 		Where("Timestamp>toDateTime(?) and Timestamp<toDateTime(?)", req.StartTime, req.EndTime)
 	if req.Type == "status_trend" {
 		list := []struct {