diff --git a/pkg/services/ngalert/state/historian/core.go b/pkg/services/ngalert/state/historian/core.go index c84d18b2a7d..cf6c3e5cc78 100644 --- a/pkg/services/ngalert/state/historian/core.go +++ b/pkg/services/ngalert/state/historian/core.go @@ -74,6 +74,18 @@ func parsePanelKey(rule history_model.RuleMeta, logger log.Logger) *PanelKey { return nil } +func (p PanelKey) OrgID() int64 { + return p.orgID +} + +func (p PanelKey) DashUID() string { + return p.dashUID +} + +func (p PanelKey) PanelID() int64 { + return p.panelID +} + func mergeLabels(base, into data.Labels) data.Labels { for k, v := range into { base[k] = v