Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cortexproject/cortex
/ GetAlert
Method
GetAlert
pkg/ruler/rulespb/rules.pb.go:197–202 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
195
}
196
197
func
(m *RuleDesc) GetAlert() string {
198
if
m != nil {
199
return
m.Alert
200
}
201
return
""
202
}
203
204
func
(m *RuleDesc) GetFor() time.Duration {
205
if
m != nil {
Callers
3
ruleGroupListToGroupStateDesc
Method · 0.80
PrometheusRules
Method · 0.80
FromProto
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected