Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Rule ¶
type Rule struct { Version string Namespace string Name string Database string Interval time.Duration Query string AutoMitigateAfter time.Duration Destination string // Criteria is a map of key-value pairs that are used to determine where an alert can execute. Criteria map[string][]string // Management queries (starts with a dot) have to call a different // query API in the Kusto Go SDK. IsMgmtQuery bool // Stmt specifies the underlayEtcdPeersQuery to execute. Stmt kusto.Stmt }
Rule is analogous to a kusto-to-metric configuration, containing definitions and using the parlance found in the k2m UI.
Click to show internal directories.
Click to hide internal directories.