Ask questionsIs it possible for VictoriaMetrics to substitue Prometheus+Pushgateway?
Im currently using Prometheus with a pushgateway where I have some batch jobs and other scripts that push stats/data to push gateway, which gets propagated to prometheus (prometheus pulls data from here). Im exploring VictoriaMetrics as it provides additional promQL operations that pure prometheus doesn't and my setup is following: script/batchjob -> pushgateway <- prometheus -> VictoriaMetrics
Im wondering if its possible to just get rid of both pushgateway and prometheus and have my batchjob/script directly interface with VictoriaMetrics?
Answer questions ledmonster
@hagen1778 Hi!! I was not aware that pushgateway protocol is defined as prometheus text-based format.
In my case, my services can reach VM directly, so I adopted direct access approach. I succeeded to convert text protocol to remote_write one. Also, I added additional labels ("instance" and "job"), because I want to make data pushgateway compatible. It would be nice if
/api/v1/import/prometheus supports additional labels. Thank you!!