Table of Contents

Class AlertProvider

Namespace
Scaleout.Modules.Abstractions
Assembly
Scaleout.Modules.Abstractions.dll

Base class for Alert Providers

public abstract class AlertProvider
Inheritance
AlertProvider
Inherited Members

Methods

SendAlertAsync(string, string, string, Dictionary<string, string>)

Send an alert message to a 3rd party monitoring system (Splunk, PagerDuty, Slack)

public abstract Task SendAlertAsync(string title, string severity, string message, Dictionary<string, string> optionalInstanceProperties)

Parameters

title string

The title for the alert

severity string

The severity of the alert

message string

The content of the alert

optionalInstanceProperties Dictionary<string, string>

Optional property bag to add to the alert

Returns

Task