Metric alerts allow Coralogix users to be notified directly to any predefined or custom webhook on their metric data. Metrics can be sent to Coralogix in various ways (Prometheus, MetricBeat, Cloudwatch, and more) and be used for different use cases, such as:
After adding Lucene syntax support for metric alerts, Coralogix now adds full PromQL as a second syntax in Metric alerts.
Metric Alerts can be created both to your Prometheus metrics and metrics generated from log data using Logs2Metrics, this means that for the first time, you can create PromQL alerts on metrics hidden within your logs.
Metric alerts with PromQL are available to all users under an open Beta, here’s a quick guide on how to use them.
2. Choose Metric Alert.
3. Choose the PromQL tab and add the query that you would like to trigger the alert on.
You can use aggregation by anything that you like from your logs. For instance, the app name, subsystem, machine id, or anything of your preference.
Note that as soon as you start typing your query, you will immediately get auto-complete suggestions.
4. Condition – In this section you choose your alert condition.
After an alert is triggered, it will send a webhook to your defined destination, and appear under the Insights Tab – the name of the alert, the query you used, the graph to represent the alert, and the aggregation you have chosen.
If you need assistance configuring this Alert please do not hesitate to contact Corlaogix support through our in-app chat or by sending us an email to [email protected].