We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b6e7a8c + fc9a0c6 commit 8613c76Copy full SHA for 8613c76
collectors/monitoring_collector.go
@@ -156,8 +156,8 @@ func (c *MonitoringCollector) reportMonitoringMetrics(ch chan<- prometheus.Metri
156
157
errChannel := make(chan error, len(page.MetricDescriptors))
158
159
- startTime := time.Now().UTC().Add(c.metricsInterval * -1).Add(c.metricsOffset * -1)
160
endTime := time.Now().UTC().Add(c.metricsOffset * -1)
+ startTime := endTime.Add(c.metricsInterval * -1)
161
162
for _, metricDescriptor := range page.MetricDescriptors {
163
wg.Add(1)
0 commit comments