Documentation ¶
Index ¶
Constants ¶
View Source
const ( CounterAlarmsAcknowledged = "alarms_acknowledged" CounterAlarmsCanceled = "alarms_canceled" CounterAlarmsCreated = "alarms_created" CounterAlarmsResolved = "alarms_resolved" CounterFlappingPeriods = "flapping_periods" )
Counter names
View Source
const ( DurationAckTime = "ack_time" DurationResolveTime = "resolve_time" )
Duration names
View Source
const (
StateIntervalTimeInState = "time_in_state"
)
State intervals names
Variables ¶
This section is empty.
Functions ¶
func NewService ¶
func NewService(pubChannel libamqp.Channel, pubExchangeName, pubQueueName string, jsonEncoder encoding.Encoder, statsStore serviceweather.StatsStore, logger zerolog.Logger) *service
Types ¶
Click to show internal directories.
Click to hide internal directories.