Ask questionsSupport timestamp option on prometheus import API
Is your feature request related to a problem? Please describe.
When I push metrics to
/api/v1/import/prometheus, I want to specify a timestamp.
Describe the solution you'd like
Describe alternatives you've considered
add timestamps on prom file one by one
IoT devices --> gateway --> pubsub --> worker --> VictoriaMetrics
IoT devices post prom formatted metrics (without timestamp) to gateway, and we push it to VictoriaMetrics through pubsub. Since there exist some latency on this path, I want to specify metrics timestamp by myself, instead of using current timestamp in VM import API layer.
Answer questions ledmonster
Thank you for quick implementation. I'll check the behavior hopefully on this weekend.