Section 2 · Enable auto-apply

Choose the UI, the API, or Terraform to enable auto-apply, and find the values that select Coverage-first or Cost-first in the API and Terraform.

Estimated time: 1 min

Choose the UI, the API, or Terraform

You can enable auto-apply in the UI, with the API, or with Terraform. The steps for each are on Enable auto-apply.

MethodWhen you use itHow you set the mode
UIIt’s your first setup, or you’re a smaller organization. The UI is the recommended way for both.Select Coverage-first or Cost-first in Auto-apply mode.
APIYou automate setup, keep it in version control, or manage many teams.Set auto_apply.gate.policy to unbounded for Coverage-first or no-increase for Cost-first. If you leave it out, auto-apply uses Coverage-first.
TerraformYou already manage your infrastructure as code.Use grafana-adaptive-metrics_recommendations_config for the Default segment and grafana-adaptive-metrics_segment for named segments. Set auto_apply.gate.policy to the same values as the API.