Integration with VictoriaMetrics

To configure the storage of object metrics in VictoriaMetrics, you should perform the following steps:

Step 1: Install VictoriaMetrics

Using the command below, you can download the latest available VictoriaMetrics image and run it on port 8428, while storing the resulting data in the victoria-metrics-data subfolder of the current folder:

git clone && cd VictoriaMetrics
docker pull victoriametrics/victoria-metrics:latest
docker run -it --rm -v `pwd`/victoria-metrics-data:/victoria-metrics-data -p 8428:8428 victoriametrics/victoria-metrics:latest
For correct operation, VictoriaMetrics must be launched with open port 8428.

Step 2: Setting up the server configuration

To configure the server configuration, you need to add the tsdb_extensions section, which is an array of configurations of additional time series databases to the server configuration file (/etc/saymon/saymon-server.conf):

  "tsdb_extensions": [
      "name": "victoria",
      "enabled": true,
      "config": {
        "promAddr": "http://<victoriametrcis_host>:8428"

Description of parameters:

  • name - database name (you must use victoria);

  • enabled - enabled/disabled;

  • config - configuration for connecting to the database with the promAddr parameter up to and including the port.

If other connections are specified in the tsdb_extensions section, then you must set enabled: false for them.