Ask questionsSupport additional labels on prometheus import API
Is your feature request related to a problem? Please describe.
When I try to substitute VictoriaMetrics for Prometheus+Pushgateway, lack of additional labels feature on prometheus import API (
/api/v1/import/prometheus) makes work harder. Pushgateway does support additional labels on API, and I want to use it in the import API, too.
Describe the solution you'd like
One idea is to support same API as Pushgateway.
or some query strings (e.g.
labels) may also work.
Describe alternatives you've considered
Now I'm using
remote_write API instead. I parse Prometheus exposition format to
WriteRequest and post it to the API with following code.
Answer questions ledmonster
@valyala I'll try it later, thank you!!