tech(influxdb): remove unused logging
This commit is contained in:
@@ -18,12 +18,6 @@ func (rp *ResponseParser) Parse(response *Response) *tsdb.QueryResult {
|
||||
rp.parseResult(result.Series, queryRes)
|
||||
}
|
||||
|
||||
/*
|
||||
for _, serie := range queryRes.Series {
|
||||
glog.Debug("result", "name", serie.Name, "points", serie.Points)
|
||||
}
|
||||
*/
|
||||
|
||||
return queryRes
|
||||
}
|
||||
|
||||
|
||||
@@ -3,8 +3,6 @@ package tsdb
|
||||
import (
|
||||
"fmt"
|
||||
"time"
|
||||
|
||||
"github.com/grafana/grafana/pkg/log"
|
||||
)
|
||||
|
||||
var (
|
||||
@@ -17,8 +15,6 @@ var (
|
||||
func CalculateInterval(timerange *TimeRange) string {
|
||||
interval := time.Duration((timerange.MustGetTo().UnixNano() - timerange.MustGetFrom().UnixNano()) / defaultRes)
|
||||
|
||||
log.Info2("res", "resinMs", time.Duration(interval).String())
|
||||
|
||||
if interval < minInterval {
|
||||
return formatDuration(minInterval)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user