judos commented on Mar 29
Can anyone explain why the node exporter does not support timestamps for custom metrics? So what else should I do for metrics that are not updated as often as the node_exporter is called ?
You can't use timestamps in that case anyway as you'd end up with duplicate metric errors when scraping.
You just set the metrics via the textfile collector. It doesn't
matter how frequently the node exporter is scraped.
If you want to know the time a certain less frequent process
happened use a gauge where the value is a unix timestamp.