Is there anyway to retrieve all status of newly defined alert rules in the 9.X grafana API?
From the legacy http alert endpoint
curl -s https://127.0.0.1/api/alerts | jq -r ‘.|{“state”:.state}’
{
“state”: “ok”
}
{
“state”: “ok”
}
{
“state”: “ok”
}
{
“state”: “ok”
}
{
“state”: “alerting”
}
{
“state”: “ok”
}
{
“state”: “ok”
}
{
“state”: “ok”
}
{
“state”: “ok”
}
{
“state”: “ok”
}
{
“state”: “ok”
}