Grafana Cloud

Review and apply recommendations

Manage your rules using the UI, API, or Terraform. This topic focuses on how to manage your rules using the Grafana UI.

On the Rules page in Adaptive Metrics, you can view all rules and recommended actions.

On the Overview page, you can see the current status and when rules were last updated.

To manage rules using the API or Terraform, refer to Adaptive Metrics HTTP API or Adaptive Metrics Terraform provider.

Manage rules using the UI

You can add, keep, remove, or update recommended rules.

  1. Navigate to Adaptive Metrics.

  2. Navigate to the Rules page.

    A list of rules and recommended actions appears.

Filter rules

Use the following controls to narrow down the rules list:

  • Segment: Filter rules by segment.
  • Filter: Search rules by metric name.
  • Recommendation type: Filter by recommended action: Add a new rule, Keep an existing rule, Remove an existing rule, or Update an existing rule. The rules list updates based on the type you select.
  • Show selected: Toggle to display only the rules you have selected.

Rules table

For each rule, the table shows the following columns:

  • Metric: The metric name. Click the metric name or the chevron icon to open the rule details drawer.
  • Received series: The number of active series received for this metric.
  • Current rule impact: The active series impact of the currently applied rule.
  • Recommendation impact: The expected active series impact of the recommended action.
  • Actions: Apply the recommended action or view rule details.

View rule details

Click a metric name or the chevron icon in the Actions column to open the rule details drawer. The drawer shows:

  • Active series stats: Received Active Series, Removed Active Series, Stored Active Series, and the percentage Reduction.
  • Rule information: Aggregations, labels (drop or keep), series change impact, and managed-by information. For drop rules, the drawer indicates that the entire metric is dropped.
  • Metric usage stats: How many alerting and recording rules, dashboards, and queries use this metric.

From the drawer, you can:

  • Apply the recommended action by clicking the action button (Add, Remove, or Update). A confirmation dialog box opens.
  • Edit the rule by clicking Edit rule to modify aggregations, labels, or rule type.
  • Copy the rule as JSON using the Copy JSON dropdown, which lets you copy the recommended rule or the applied rule to your clipboard.

Apply rules

  1. Select which rules you want to apply or select Apply all recommendations.

    A confirmation dialog box showing your updates opens. This dialog box displays the total expected series impact, which is useful for understanding the combined effect of all pending changes, including all recommendation types.

  2. To confirm your rule updates, click Apply.

Download rules

Click the download button on the Rules page to export rules. You can choose:

  • Recommendations or Applied rules
  • All or Selected (only the rules you have selected)
  • Verbose or Non-verbose format

Remove rules in bulk

To remove multiple applied rules at once, select the rules using the checkboxes and click Batch remove rules.