Our next-gen architecture is built to help you make sense of your ever-growing data Watch a 4-min demo video!

Back to All Docs

Metric Alerts Metric Alerts

Last Updated: Mar. 13, 2023

Define your metric-driven alerts with the highest levels of sophistication and precision.


  • Metrics can be sent to Coralogix using various agents, such as Prometheus or Cloudwatch.
  • Create PromQL alerts for standard metrics, such as Prometheus metrics, or metrics hidden within your logs, using Logs2Metrics.
  • Metrics sent can satisfy different use cases:
    • Infrastructure (Host-Based) Metrics. Comprised of usage or performance statistics of an operating system or hardware.
    • Application Metrics. Determine whether an application is functioning correctly and efficiently.
    • Network and Connectivity Metrics. Monitor the availability and responsiveness of both internal and external services.
    • Server Pool Metrics. Provide a summary of the health of collections of servers to show the capabilities of one’s system to handle load and respond to changes.
    • External Dependency Metrics. Add visibility related to external dependencies.

New! Enjoy greater flexibility and control over your alert notifications using our updated Group By feature, explained below.

Create an Alert

STEP 1. Navigate to Alerts tab in your navigation bar. Click ADD NEW ALERT.

STEP 2. Set alert details: Name, Description, and Severity.

Metric Alerts Coralogix

STEP 3. Select Alert Type.

Metric Alerts Coralogix

STEP 4. Choose the PromQL tab and add the query that you would like to trigger the alert.

Metric Alerts Coralogix


  • Aggregate using the value of your choice: app name, subsystem, machine id, or otherwise.
  • As you type your query, you will immediately get auto-complete suggestions.
Metric Alerts Coralogix

STEP 5. Set the Conditions for triggering the alert.

Metric Alerts Coralogix
  • Group By. You have the option of grouping alerts by one or more labels using the Group By feature.
    • Group alerts by one or more labels that are aggregated into a histogram. An alert is triggered whenever the condition threshold is met for a specific aggregated label within the specified timeframe.
    • If using 2 labels for Group By, matching metrics will first be aggregated by the parent label (ie. region), then by the child label (ie. pod_name). An alert will fire when the threshold meets the unique combination of both parent and child. Only metrics that include the Group By labels will be included in the count.

STEP 6. Define Notification settings.

Metric Alerts Coralogix
  • Aggregated Notification. By default, a single notification, aggregating all values matching an alert query and conditions, will be sent to your Coralogix Insights screen.
  • Individual Notification Groups. New! Multiple individual notifications for each of the values of the Group By field may be sent when query conditions are met. Select one or more Keys – consisting of a subset of the fields selected in the alert conditions – in the drop down menu. A separate notification will be sent for each Key selected.
    • Notes:
      • Input Group By labels here as free text.
      • The number of Group By permutations is limited to 1000. If there are more permutations, then only the first 1000 are tracked.
      • Individual notifications for each of the values of the Group By field will not appear on the Insights screen and must be sent directly to notification recipients**.**
  • Both notification types allow you to choose the the parameters of your notification:
    • Notify Every. Sets the alert cadence. After an alert is triggered and a notification is sent, the alert will continue to work, but notifications will be suppressed for the duration of the suppression period.
    • Notify when resolved. Activate to receive an automatic update once an alert has ceased.
    • Define additional alert recipient(s) and notification channels by clicking + ADD WEBHOOK.

STEP 7. View your triggered alerts.

View your triggered alerts by clicking on the Insights tab in your navigation bar. View the name of the alert, the query used, the graph to represent the alert, and the aggregation you have chosen.

Metric Alerts Coralogix


Need help?

Our world-class customer success team is available 24/7 to walk you through your setup and answer any questions that may come up.

Feel free to reach out to us via our in-app chat or by sending us an email at [email protected].

On this page