Display the same metric for Prometheus but with different timestamps

Asked

Viewed 35 times

0

I want to expose several metrics with their respective timestamps for Prometheus, for example:

test5{job_name="test05"} 15 1512982800000
test5{job_name="test05"} 10 1512986400000
test5{job_name="test05"} 6 1512990000000
test5{job_name="test05"} 20 1512990840000
test5{job_name="test05"} 25 1512993000000


test6{job_name="test06"} 2 1512987840000
test6{job_name="test06"} 3 1512991500000
test6{job_name="test06"} 4 1512991800000
test6{job_name="test06"} 5 1512991920000
test6{job_name="test06"} 6 1512992220000
test6{job_name="test06"} 6 1512996000000
test6{job_name="test06"} 7 1512996240000


test7{job_name="test07"} 1 1512909840000


test8{job_name="test08"} 2 1510317840000

But Prometheus only ingests metrics that have a timestamp corresponding to 1 hour before the current time, why?

  • David, please use English, this is Stackoverflow EN.

  • I’m sorry, I’ve changed, if you can help me I’d really appreciate it

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.