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
titlestringThe title for the alert
severitystringThe severity of the alert
messagestringThe content of the alert
optionalInstancePropertiesDictionary<string, string>Optional property bag to add to the alert