VictoriaMetrics metrics data can be both ‘pushed’ to the server and ‘pulled’ by the server. When setting up services, you can decide which mode to use.
The ‘push’ mode is now default for newly-added services. (In PMM 2.12.0 the default mode was ‘pull’.)
The mode (push/pull) is controlled by the
--metrics-mode flag for the
pmm-admin config and
pmm-admin add commands.
If you need to change the metrics mode for an existing Service, you must remove it and re-add it with the same name and the required flags. (You cannot update a service.)
Remapped targets for direct Prometheus paths¶
Direct Prometheus paths return structured information directly from Prometheus, bypassing the PMM application.
They are accessed by requesting a URL of the form
<PMM SERVER URL>/prometheus/<PATH>.
As a result of the move to VictoriaMetrics some direct Prometheus paths are no longer available.
|Prometheus path||VictoriaMetrics equivalent|
||No equivalent, but there is some information at
||Some information at
PMM predefines certain flags that allow users to set all other VictoriaMetrics parameters as environment variables:
The environment variable must be prepended with
To set downsampling, use the
downsampling.period parameter as follows:
This instructs VictoriaMetrics to deduplicate samples older than 20 days with 10 mins intervals and samples older than 120 days with two-hour intervals.
To troubleshoot issues, see the VictoriaMetrics troubleshooting documentation.
You can also contact the VictoriaMetrics team via: