v1

latestOpenAPI 3.0.32026-07-14314472448.6 KB
convert_prometheus

Converts a Prometheus rule group into a Grafana rule group and creates or updates it within the specified namespace.

If the group already exists and was not imported from a Prometheus-compatible source initially, it will not be replaced and an error will be returned.

post/convert/api/prom/rules/{NamespaceTitle}

Path parameters

NamespaceTitlestring required

Headers

x-grafana-alerting-datasource-uidstring
x-grafana-alerting-recording-rules-pausedboolean
x-grafana-alerting-alert-rules-pausedboolean
x-grafana-alerting-target-datasource-uidstring
x-grafana-alerting-folder-uidstring
x-grafana-alerting-notification-settingsstring

Response

ConvertPrometheusResponse

errorstring
errorTypestring
statusstring