Skip to content

Add alert commands (metric alerts phase 1) - #61

Open
acoshift wants to merge 1 commit into
masterfrom
feat/metric-alerts
Open

Add alert commands (metric alerts phase 1)#61
acoshift wants to merge 1 commit into
masterfrom
feat/metric-alerts

Conversation

@acoshift

Copy link
Copy Markdown
Member

Summary

deploys alert create/update/get/list/delete/events for metric alert rules (SPEC-metric-alerts.md Phase 1; api: deploys-app/api#133).

  • Flags: -project -name -location -deployment -metric cpu|memory|requests|egress -op '>='|'<=' -threshold -for -renotify -disabled
  • update merges: omitted flags preserve the current rule's values (seeded via alert.get, same idiom as other resources)
  • events renders the transition history via the contract's Table()
  • Re-pins api to the alert-contract commit

Testing

No PR CI in this repo — verified locally: go build/vet/test ./... green; built binary help paths for all subcommands render correctly.

Merge after deploys-app/api#133 (re-pin to the merged commit).

deploys alert create/update/get/list/delete/events for the metric alert
rules feature (SPEC-metric-alerts.md Phase 1). Update merges: omitted
flags preserve the current rule's values.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant