[prometheus-users] Re: Cannot save metrics with timestamp

2020-05-25 Thread Brian Candler
Aside: if your metrics are only updated every 5 minutes from a batch job, then node_exporter's textfile collector is the simplest way to do this. The recommended way to expose the time when a metric was updated is to have a separate metric with the timestamp. The textfile collector does this au

[prometheus-users] Re: Cannot save metrics with timestamp

2020-05-25 Thread shimpeko
Resolved. Precision of timestamp must be millisecond but I've had put second. On Tuesday, May 26, 2020 at 1:30:39 AM UTC+9, shimpeko wrote: > > Hello, > > Metrics are not saved when I put a timestamps with metrics. > I've got through github issue and some of prometheus codes but not yet > gettin