supeng 1 year ago
parent
commit
cac621be1d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      all/prometheus/main.go

+ 1 - 1
all/prometheus/main.go

@@ -256,7 +256,7 @@ func (c *CustomCollector) Collect(ch chan<- prometheus.Metric) {
 		}
 	}
 
-	resp, err = adOwnConvLogStore.GetLogs("", time.Now().Unix()-60, time.Now().Unix(), adOwnReportQuerySQL, 0, 0, true)
+	resp, err = adOwnConvLogStore.GetLogs("", time.Now().Unix()-60, time.Now().Unix(), adOwnConvReportQuerySQL, 0, 0, true)
 	if err != nil || resp == nil {
 		log.Printf("get own ad report logs error %+v resp is %+v.", err, resp)
 		return