supeng пре 1 година
родитељ
комит
cac621be1d
1 измењених фајлова са 1 додато и 1 уклоњено
  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