Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( StaticLogger = metrics.MustStaticLogger([]metrics.DimensionSet{ { "AnalysisType", "Severity", }, { "AnalysisType", "AnalysisID", }, { "AnalysisType", }, }, []metrics.Metric{ { Name: "AlertsCreated", Unit: metrics.UnitCount, }, }) AnalysisTypeDimension = metrics.Dimension{ Name: "AnalysisType", Value: "Rule", } )
Functions ¶
This section is empty.
Types ¶
type Handler ¶ added in v1.6.0
type Handler struct { SqsClient sqsiface.SQSAPI Cache RuleCache DdbClient dynamodbiface.DynamoDBAPI AlertTable string AlertingQueueURL string MetricsLogger metrics.Logger }
func (*Handler) Do ¶ added in v1.6.0
func (h *Handler) Do(oldAlertDedupEvent, newAlertDedupEvent *alertApiModels.AlertDedupEvent) (err error)
Click to show internal directories.
Click to hide internal directories.