I have historic data(y axis volume ,x axis historic time stamp) to add on Prometheus and grafana .I made my custome exporter to do that …how to add custome timestamp on x axis ?is there anyway to do that?
I tried doing
t=historic time
Add_metrices(value,timestamp=t.timestamp())
but it’s not working
Also I tried
t=now-timedelta(minutes=60)
Add_metrices(value,timestamp=t.timestamp())
By doing this I am only able to reach max 1 hour back …even after increasing minutes and using hour=n