Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultQueueSize = 1000 DefaultWorkerCount = 5 QueueFullTimeout = 100 * time.Millisecond )
Variables ¶
This section is empty.
Functions ¶
func EnqueueManual ¶
func EnqueueManual(alertFields *schema.AlertFields, tenantID string) bool
EnqueueManual adds an alert to the processing queue (from the HTTP API).
Types ¶
type AlertQueue ¶
type AlertQueue struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.