MCPcopy Create free account
hub / github.com/feiyu563/PrometheusAlert / AlertRouterQuery

Struct AlertRouterQuery

models/AlertRouter.go:20–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18}
19
20type AlertRouterQuery struct {
21 Name string
22 Webhook string
23}
24
25func AddAlertRouter(id int, tplid int, name, rules, url_or_phone, at_some_one string, at_some_one_rr bool, sendResolved bool) error {
26 tpl, _ := GetTpl(tplid)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected