Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MEXPrometheusUserAlertsT = `` /* 552-byte string literal not displayed */
Functions ¶
func GetAlertRules ¶
func GetCloudletAlertRules ¶
func GetCloudletAlertRules(ctx context.Context, appInst *edgeproto.AppInst, alerts []edgeproto.AlertPolicy) *prommgmt.RuleGroup
Get a set of cloudlet prometheus alerts for user-defined alerts on a given appInst
Types ¶
type AlertArgs ¶
type AlertArgs struct {
ClusterAlerts []*PrometheusClusterAlert
}
type PrometheusClusterAlert ¶
alert definition for prometheus cluster
Click to show internal directories.
Click to hide internal directories.