> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://mezmo.ferndocs.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://mezmo.ferndocs.com/_mcp/server.

# High Error Rate

This is an example of an alert that is triggered when a high rate of errors is detected. This example assumes there is a [Filter Processor](https://docs.mezmo.com/2.8/telemetry-pipelines/filter-processor) or [Route Processor](https://docs.mezmo.com/2.8/telemetry-pipelines/route-processor) that allows only Metric events, specifically `HTTP Status-5xx` errors. Check out the [Tutorial: Route Data](https://docs.mezmo.com/2.8/practioner-guide-data-optimization/pipeline-module--route) topic for an example with `HTTP Status-200` messages.

## General Configuration

| Field       | Value                                             |
| ----------- | ------------------------------------------------- |
| Name        | High rate of 5xx errors                           |
| Description | Detects high number of 5xx errors per application |

## Evaluation and Condition Configuration

| Field                     | Value                                       |
| ------------------------- | ------------------------------------------- |
| Alert Type                | Threshold Alert                             |
| Event Type                | Metric                                      |
| Group by Field Paths      | `.app`                                      |
| Operation                 | Sum                                         |
| Window Type               | Tumbling                                    |
| Window Duration (minutes) | 15                                          |
| Conditional Statement     | `if (.value.value greater_or_equal` 60)\`\` |

## Payload Configuration

| Field         | Value                     |
| ------------- | ------------------------- |
| Severity      | Error                     |
| Message Style | Static                    |
| Subject       | High number of 5xx errors |