Docs
Launch GraphOS Studio

Performance alerts from GraphOS

Receive notifications whenever metrics exceed defined thresholds


NOTE

This feature is only available with a paid plan.

This feature is experimental. Your questions and feedback are highly valueddon't hesitate to get in touch with your Apollo contact or on the official Apollo GraphQL Discord.

can notify your team's Slack workspace or PagerDuty instance whenever a particular metric (such as error rate) for a particular exceeds a defined threshold. This is useful for detecting anomalies, especially following a release.

Performance alert

Supported metrics

You can configure performance alerts to trigger for any of the following metrics:

  • Request rate: requests per minute
  • Request duration: p50/p95/p99 service time
  • Error rate: errors per minute
  • Error percentage: the number of requests with errors, divided by total requests

Each performance alert you define can apply to either a specific operation or any operation. If you define an alert that applies to a specific , the "any operation" alerts for the same metric no longer apply to that operation (that is, the more specific alert takes precedence).

Setup

  1. Go to your 's Settings page in GraphOS Studio.
  2. Select the Reporting tab.
  3. Find the Performance Alerts card and click Add a new alert.
Add new alert button
  1. Configure the alert's Operation Name, Trigger, and Trigger Value to suit your needs.
  2. Select a Channel to send alerts to. You can select New Channel from the dropdown if you haven't yet configured the Slack channel or PagerDuty instance you want to use.
  3. Click Create.

Threshold window

Thresholds are measured against a rolling five-minute window. For example, let's say you configure an alert to trigger when an 's error rate exceeds 5%. If 6 out of 100 executions of that operation result in an error during a five-minute period, the alert will trigger with an error rate of 6%. When the error rate falls back below 5%, your notification will resolve.

Previous
Schema changes
Next
Build status
Edit on GitHubEditForumsDiscord

© 2024 Apollo Graph Inc.

Privacy Policy

Company