prometheus-exporter monitor: Don't set timestamp
Let it be unset so it represents the 'latest available'.
@@ -142,10 +142,6 @@ func (m *Monitor) Configure(conf *Config) error {
return
}
- now := time.Now()
- for i := range dps {
- dps[i].Timestamp = now
- }
m.Output.SendDatapoints(dps...)
}, time.Duration(conf.IntervalSeconds)*time.Second)
