feat: add grafana create, update and delete alert rules #3873
Open
WashingtonKK wants to merge 19 commits intosuperplanehq:mainfrom
Open
feat: add grafana create, update and delete alert rules #3873WashingtonKK wants to merge 19 commits intosuperplanehq:mainfrom
WashingtonKK wants to merge 19 commits intosuperplanehq:mainfrom
Conversation
|
👋 Commands for maintainers:
|
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
bc9e1fa to
f3c0555
Compare
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
Contributor
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
Collaborator
Author
Screencast.from.2026-04-03.10-48-59.webmScreencast.from.2026-04-03.10-54-32.webm |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Implements: #3850
This expands the Grafana Integration by adding three components:
grafana.CreateAlertRulegrafana.UpdateAlertRulegrafana.DeleteAlertRulegrafana.ListAlertRulesgrafana.GetAlertRuleDemo Video
Screencast.from.2026-04-01.12-37-35.webm
Note
Medium Risk
Adds new Grafana provisioning API capabilities (create/update/delete/get/list alert rules) and changes webhook provisioning behavior/concurrency, which could affect alerting setup and rule management flows if payload merging or permissions differ across Grafana versions.
Overview
Expands the Grafana integration to manage Grafana-managed alert rules via the Alerting Provisioning API, adding new workflow components for
create,get,list,update(partial merge), anddeletealert rules, plus embedded example outputs and docs updates.Updates the Grafana client to support alert rule/folder listing and alert rule CRUD calls, extends integration resource selectors to include
folder,alert-rule,contact-point, and derivedrule-group, and introduces a shared alert-rule payload builder/merger with validation (including provenance checks and notification receiver clearing).Tightens webhook provisioning by serializing notification policy tree updates/removals and by failing fast when the Grafana client is unavailable or contact-point provisioning is non-retryable (instead of silently falling back), and adjusts
Query Data Sourcetime range inputs to accept relative/RFC3339/local datetime strings.Written by Cursor Bugbot for commit c596e73. This will update automatically on new commits. Configure here.