Documentation ¶
Index ¶
- Constants
- func CreateSplunkAlerts(client *splunk.SplunkClient, k *keptnv2.Keptn, ...) (bool, error)
- func CreateSplunkAlertsForEachStage(client *splunk.SplunkClient, k *keptnv2.Keptn, ...) (bool, error)
- func HandleConfigureMonitoringTriggeredEvent(ddKeptn *keptnv2.Keptn, incomingEvent cloudevents.Event, ...) error
- func HandleGetSliTriggeredEvent(ddKeptn *keptnv2.Keptn, incomingEvent cloudevents.Event, ...) error
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.
Click to show internal directories.
Click to hide internal directories.