This won't work. Most importantly, Prometheus itself does not allow ingestion of historical metrics in any form. Furthermore, pushgateway is not intended to store history of a metric, just the most recent value.
You may want to look at another project. For example, VictoriaMetrics has a Prometheus-compatible query API, but also allows "push" and back-filling of historical data. -- 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/718e8985-6378-4c15-8b9a-02bb0ea38558o%40googlegroups.com.

