handler

package
v0.0.0-...-cb03ccd Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const KeptnSuffix = "keptn"

Variables

This section is empty.

Functions

func CreateSplunkAlerts

func CreateSplunkAlerts(client *splunk.SplunkClient, k *keptnv2.Keptn, eventData keptnv2.ConfigureMonitoringTriggeredEventData, stage keptnv2.Stage, envConfig utils.EnvConfig) (bool, error)

Creates the splunk alerts of a particular stage if slo.yaml and remediation.yaml files are defined

func CreateSplunkAlertsForEachStage

func CreateSplunkAlertsForEachStage(client *splunk.SplunkClient, k *keptnv2.Keptn, eventData keptnv2.ConfigureMonitoringTriggeredEventData, envConfig utils.EnvConfig) (bool, error)

Creates alerts for each stage defined in the shipyard file after removing potential ancient alerts of the service

func HandleConfigureMonitoringTriggeredEvent

func HandleConfigureMonitoringTriggeredEvent(ddKeptn *keptnv2.Keptn, incomingEvent cloudevents.Event, data *keptnv2.ConfigureMonitoringTriggeredEventData, envConfig utils.EnvConfig, client *splunk.SplunkClient, pollingSystemHasBeenStarted bool) error

Handles configure monitoring event

func HandleGetSliTriggeredEvent

func HandleGetSliTriggeredEvent(ddKeptn *keptnv2.Keptn, incomingEvent cloudevents.Event, data *keptnv2.GetSLITriggeredEventData, client *splunk.SplunkClient) error

HandleGetSliTriggeredEvent handles get-sli.triggered events if SLIProvider == splunk

Types

This section is empty.

Jump to

Keyboard shortcuts

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