Victoriametrics: How can I directly push data to VictoriaMetrics instead of promtheus

Created on 11 Sep 2020  路  5Comments  路  Source: VictoriaMetrics/VictoriaMetrics

hi
I want to directly push the data of Prometheus structure to VictoriaMetrics instead of remote_write_api, what should I do?

question

Most helpful comment

@valyala thank you very much ! i got it

All 5 comments

Hi @jinlongwang! Have you checked https://github.com/VictoriaMetrics/VictoriaMetrics#how-to-import-data-in-prometheus-exposition-format ?

hi
I am using the cluster version of vm
image

and I want to design my architecture like this, I want to ask you if this is OK? thx
image

@jinlongwang , Prometheus exposition format data should be pushed to /insert/<accountID>/prometheus/api/v1/import/prometheus in VictoriaMetrics cluster - see https://victoriametrics.github.io/Cluster-VictoriaMetrics.html#url-format .

The proposed architecture looks OK. Note that the data adapter may be unnecessary if push mode monitor agent already can push data to VictoriaMetrics via supported protocols:

  • Influx line protocol
  • Graphite protocol
  • OpentTSDB protocol
  • CSV
  • JSON line
  • Prometheus text exposition format

@valyala thank you very much ! i got it

Closing the question as answered. @jinlongwang , feel free re-opening it if you have additional questions related to this one.

Was this page helpful?
0 / 5 - 0 ratings