From ca5554e88d942e71b200707cc13fcd748a8a8cf6 Mon Sep 17 00:00:00 2001 From: "grafana-delivery-bot[bot]" <132647405+grafana-delivery-bot[bot]@users.noreply.github.com> Date: Tue, 20 Aug 2024 00:36:30 +0200 Subject: [PATCH] =?UTF-8?q?[v11.1.x]=20Alerting=20docs:=20include=20`Grafa?= =?UTF-8?q?na=20Alerting=20API`=20as=20one=20option=20to=20manage=E2=80=A6?= =?UTF-8?q?=20(#92100)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Alerting docs: include `Grafana Alerting API` as one option to manage… (#91593) Alerting docs: include `Grafana Alerting API` as one option to manage Data sources-mangaged resources (cherry picked from commit a0e1028ae6f5b06bc76cb5ca9faf32f6d65a2594) Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com> --- docs/sources/shared/alerts/alerting_provisioning.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/sources/shared/alerts/alerting_provisioning.md b/docs/sources/shared/alerts/alerting_provisioning.md index b516880b53a..6146a1cf369 100644 --- a/docs/sources/shared/alerts/alerting_provisioning.md +++ b/docs/sources/shared/alerts/alerting_provisioning.md @@ -390,6 +390,10 @@ The Alerting Provisioning HTTP API can only be used to manage Grafana-managed al - [cortex-tools](https://github.com/grafana/cortex-tools#cortextool): to interact with the Cortex alertmanager and ruler configuration. - [lokitool](https://grafana.com/docs/loki//alert/#lokitool): to configure the Loki Ruler. +Alternatively, the [Grafana Alerting API](https://editor.swagger.io/?url=https://raw.githubusercontent.com/grafana/grafana/main/pkg/services/ngalert/api/tooling/post.json) can be used to access data from data source-managed alerts. This API is primarily intended for internal usage, with the exception of the `/api/v1/provisioning/` endpoints. It's important to note that internal APIs may undergo changes without prior notice and are not officially supported for user consumption. + +For Prometheus, `amtool` can also be used to interact with the [AlertManager API](https://petstore.swagger.io/?url=https://raw.githubusercontent.com/prometheus/alertmanager/main/api/v2/openapi.yaml#/). + ## Paths ### Delete a specific alert rule by UID. (_RouteDeleteAlertRule_)