We use Grafana 9.5, although I don’t see this in the documentation for 10.x either, and I was looking to get evaluation timing of alert rules for a few different use cases. One such use case is to monitor the evaluatin time of alert rules to ensure they are under a certain threshold.
You can see this in the Alerting UI within Grafana, and typically looks like " Evaluation time 9s" but I could not find a way to get this through the API. Looking at the open api definition in the repo, there is a model called “AlertingRule” that appears to have a property named “evaluationTime” however I do not see “AlertingRule” as a schema for anything returned by the API. I think most things have moved to a provisioned alerting rule.
Is there any way to programmatically get this data from Grafana?
[0] https://raw.githubusercontent.com/grafana/grafana/main/public/openapi3.json