Overview
Monitoring services or “alert providers” enable companies to monitor their systems and trigger alerts when an unusual situation requires human attention. The ScaleOut Digital Twins™ service integrates with some of the most popular monitoring services, such as Splunk On-Call, PagerDuty, and Slack. This allows you to configure your real-time digital twins to automatically send notifications to the monitoring service of your choice. Whether you are creating a code-based model (.NET or Java) or a Rules Engine model, the service offers a simple mechanism to craft an alert message and send it to an alert provider.
Configuring Your Alert Provider
If you are creating a code-based model in Java, you can configure your alert provider directly in the model’s model.json deployment file. (Package the Model for more details on the deployment file.)
Code-based models targeting .NET Core (or .NET 6 and higher) specify their alert providers in the standard .NET Core appsettings.json configuration file.
If you are creating a Rules Engine model, the alert provider is configured in the model definition file and can be specified using the ScaleOut Model Development Tool.
In all cases, the format of the JSON specification for the alerting provider settings is the same.
Sending Alerts
For a code-based model, you can use the SendAlert method of the ProcessingContext class. For Rules Engine models, you can use either one of the SEND_ALERT or SEND_ALERT_WITH_DATA functions.
The following sections have more details about how to send alerts.