Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlertInput ¶
type AlertInput struct { Alert *model.Alert AlertLink string AlertValue float64 Group string GroupValue string ProjectName string SessionInput *SessionInput ErrorInput *ErrorInput LogInput *LogInput TraceInput *TraceInput MetricInput *MetricInput WorkspaceID int }
specific to alert notifications
type ErrorInput ¶
type MetricInput ¶
type MetricInput struct {
DashboardLink string
}
type NotificationInput ¶
type NotificationInput struct { NotificationType NotificationType WorkspaceID int AlertUpsertInput *AlertUpsertInput }
type NotificationType ¶
type NotificationType string
const ( NotificationTypeAlertCreated NotificationType = "alert_created" NotificationTypeAlertUpdated NotificationType = "alert_updated" )
type SessionInput ¶
Click to show internal directories.
Click to hide internal directories.