Prometheus is not a general-purpose database. You cannot populate data using PromQL - there is no "insert" statement equivalent.
In fact, you cannot populate data into Prometheus' internal time series database (TSDB) in any way at all, except by having Prometheus scrape the data from an exporter. You cannot backfill historical data, for instance. You *can* get Prometheus to write data to a remote storage system, and read it back again. There are some integrations here <https://prometheus.io/docs/operating/integrations/#remote-endpoints-and-storage>. I don't see mongodb listed, so you might end up having to write that yourself. It could be that some other system will suit your needs better - TimescaleDB, InfluxDB, VictoriaMetrics etc. -- 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/6140b571-42c1-46ce-8a89-4754f3f65c42o%40googlegroups.com.

