destinationsV2

package
v0.0.0-...-0e0eee1 Latest Latest
Warning

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

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

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 AlertUpsertInput

type AlertUpsertInput struct {
	Alert *model.Alert
	Admin *model.Admin
}

type ErrorInput

type ErrorInput struct {
	Event             string
	State             modelInputs.ErrorState
	Stacktrace        string
	ErrorLink         string
	ProjectName       string
	ServiceName       string
	SessionSecureID   string
	SessionIdentifier string
	SessionLink       string
	SessionExcluded   bool
}

type LogInput

type LogInput struct {
	LogsLink  string
	StartDate time.Time
	EndDate   time.Time
}

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

type SessionInput struct {
	SecureID         string
	Identifier       string
	SessionLink      string
	MoreSessionsLink string
}

type TraceInput

type TraceInput struct {
	TracesLink string
	StartDate  time.Time
	EndDate    time.Time
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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