slackV2

package
v0.0.0-...-fd9d407 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 17, 2025 License: Apache-2.0 Imports: 16 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL