VictoriaMetrics Integration
Last updated
Last updated
(c) 2011 - 2024 ilert GmbH
VictoriaMetrics is a high-performance, scalable time series database that is designed for monitoring large-scale environments and efficiently storing and querying large volumes of metrics data.
Go to Alert sources -> Alert sources and click Create new alert source.
Search for VictoriaMetrics in the search field, click the VictoriaMetrics tile, and then Next.
Give your alert source a name, optionally assign teams, and click Next.
Select an escalation policy by creating a new one or assigning an existing one.
Select your Alert grouping preference and click Continue setup. You may click Do not group alerts for now and change it later.
The next page shows additional settings, such as customer alert templates or notification priority. Click Finish setup for now.
On the final page, an API key and/or webhook URL will be generated. You will need it later.
In order to be able to use VictoriaMetrics alerts and receive notifications, you need first configure and start alertmanager
Install Prometheus Alertmanager in any way that suits your needs. For more information about the alertmanager installation process please visit https://prometheus.io/docs/alerting/latest/alertmanager/
Configure Alertmanager receivers in order to inform ilert every time there's an alert. In the example below replace the previously created VictoriaMetrics URL:
You could also split alert to high and low priority by creating two alert sources accordingly
Configure the vmalert
alert rules in order to trigger alerts regarding the rule expression. For example:
Configure vmalert
:
Will alerts in ilert be resolved automatically?
Yes, as soon as the Alertmanager sends a "RESOLVE" event, the associated alert is automatically resolved in ilert.