I'm trying to add my own timestamp instead of Prometheus's timestamp.

for ex:

node_value{endpoint="https",instance="xx.xx.xx.xx",job="prometheus,node="node1"}

489846 @1610014796.199

489933 @1610014826.199

Requirement: node_value(above) is a metric with two values and
timestamp(Scrape timestamp added by prometheus), Instead of scrape
timestamp I want to add my own timestamp which I'm fetching from
third-party. Do we have the provision for that?

How can I send my own timestamp with metric?


Note: I'm using a golang prometheus client.

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/CAOrgXNJKtTVS_dkK-GbqSncNuDr%3DGTrAQgR%3DrwyPNbnqLY0wpQ%40mail.gmail.com.

Reply via email to