diff --git a/cmd/query/influx.go b/cmd/query/influx.go index 9f6f712..b4464ab 100644 --- a/cmd/query/influx.go +++ b/cmd/query/influx.go @@ -183,7 +183,7 @@ func QueryResultToPoints(rows []QueryResult) map[string][]Point { timeserieses[row.GroupKey] = make([]Point, 0) } - point := Point{row.WindowStart.UnixMilli(), row.Hits, row.Bytes} + point := Point{row.WindowStart.Unix(), row.Hits, row.Bytes} timeserieses[row.GroupKey] = append(timeserieses[row.GroupKey], point) }