MCPcopy 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
197func (m *RuleDesc) GetAlert() string {
198 if m != nil {
199 return m.Alert
200 }
201 return ""
202}
203
204func (m *RuleDesc) GetFor() time.Duration {
205 if m != nil {

Callers 3

PrometheusRulesMethod · 0.80
FromProtoFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected