Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MaskCacheMap ¶
MaskCacheMap 给alarm用,判断告警事件是否被屏蔽 key是'${metric}#${endpoint},value是list, 每一条是屏蔽策略中配置的tags,比如service=x,module=y
var MaskCache *MaskCacheMap
func NewMaskCache ¶
func NewMaskCache() *MaskCacheMap
func (*MaskCacheMap) SetAll ¶
func (mc *MaskCacheMap) SetAll(m map[string][]string)
type StraCacheMap ¶
StraCacheMap 给alarm用
var StraCache *StraCacheMap
func NewStraCache ¶
func NewStraCache() *StraCacheMap
Click to show internal directories.
Click to hide internal directories.