Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BLUE_ALERT = "#1e40af" // metrics
View Source
var ERROR_STACKTRACE_FILE_NAME_LENGTH_LIMIT = 75
View Source
var GREEN_ALERT = "#2eb886" // sessions
View Source
var ORANGE_ALERT = "#f2994a" // traces
View Source
var PURPLE_ALERT = "#7e5bef" // events
View Source
var RED_ALERT = "#961e13" // errors
View Source
var YELLOW_ALERT = "#f2c94c" // logs
Functions ¶
func SendAlerts ¶
func SendAlerts(ctx context.Context, slackAccessToken *string, alertInput *destinationsV2.AlertInput, destinations []model.AlertDestination)
func SendNotifications ¶
func SendNotifications(ctx context.Context, slackAccessToken *string, notificationInput destinationsV2.NotificationInput, destinations []model.AlertDestination)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.