Alerting: Foundations of historian app. (#114463)

We have two historians in alerting - alert state and notification. The intention
of this app is to provide query capabilities for both.

In this initial commit, the existing /history API is simply cloned to the new
app. It is identical except that it will send Kubernetes-style error responses
instead of Grafana-style.

This approach was taken to implement the new app more iteratively - ideally we
would define a new API, but this requires quite a significant overhaul of the
backend code.
This commit is contained in:
Steve Simpson
2025-11-28 11:51:56 +01:00
committed by GitHub
parent 725df38dad
commit eafc8ab1cd
31 changed files with 1782 additions and 4 deletions
@@ -0,0 +1,9 @@
package config
import (
"github.com/grafana/grafana-app-sdk/simple"
)
type RuntimeConfig struct {
GetAlertStateHistoryHandler simple.AppCustomRouteHandler
}