路佳明 3 týždňov pred
rodič
commit
b2c3cf7f8e
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      app/observe/service/urlmapping.go

+ 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 {