You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| Eventy Type | The type of the event. It's possible values are: <divclass="nice-list"><ul><li> `Warning On`: the monitoring entity is experiencing slight changes that might lead to a drift.</li><li> `Warning Off`: the monitoring entity has returned to the reference distribution. </li><li> `Drift On`: the monitoring entity has drifted from the reference distribution.</li><li> `Drift Off`: the monitoring entity has returned to the reference distribution.</li> </ul></div> |
10
+
| Severity | The severity of the event. It's provided only for drift events and it can be `Low`, `Medium`, or `High`. |
11
+
| Monitoring Target | The [Monitoring Target](index.md#monitoring-metrics) being monitored. |
12
+
| Monitoring Metric | The [Monitoring Metric](index.md#monitoring-metrics) being monitored. |
13
+
| Model Name | The name of the model that raised the event. It's present only if the event is related to a model. |
14
+
| Model Version | The version of the model that raised the event. It's present only if the event is related to a model. |
15
+
| Insert datetime | The time when the event was raised. |
16
+
| Sample timestamp | The timestamp of the sample that triggered the event. |
17
+
| Sample customer ID | The id of the sample that triggered the event. |
18
+
| User feedback | The feedback provided by the user on whether the event was expected or not. |
19
+
25
20
26
21
## Retrieve Detection Events
27
22
28
23
You can access the detection events generated by the Platform in two ways:
29
24
30
25
-**SDK**: it can be used to retrieve all detection events for a specific task programmatically.
31
-
-**WebApp**: navigate to the **`Detection`** section located in the task page's sidebar. Here, all detection events are displayed in a table,
26
+
-**WebApp**: navigate to the `Detection` section located in the task page's sidebar. Here, all detection events are displayed in a table,
32
27
with multiple filtering options available for useful event management. Additionally, the latest detection events identified are shown in the Task homepage,
33
28
in the section named "Latest Detection Events".
34
29
30
+
??? code-block "SDK Example"
31
+
32
+
The following code demonstrates how to retrieve all detection events for a specific task.
Copy file name to clipboardExpand all lines: md-docs/user_guide/monitoring/detection_event_rules.md
+22-19Lines changed: 22 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,46 +2,49 @@
2
2
3
3
This section outlines how to configure automation to receive notifications or start retraining after a [Detection Event] occurs.
4
4
5
-
When a detection event is produced, the ML cube Platform reviews all the detection event rules you have set
5
+
When a Detection Event is produced, the ML cube Platform reviews all the Detection Event Rules you have set
6
6
and triggers those matching the event.
7
7
8
8
Rules are specific to a task and are characterized by the following attributes:
9
9
10
-
-`Name`: a descriptive label of the rule.
11
-
-`Detection Event Type`: the type of event that triggers the rule.
12
-
-`Severity`: the severity of the event that triggers the rule. It is only applicable to drift events. If not specified, the rule will be triggered by drift events of any severity.
13
-
-`Monitoring Target`: the [Monitoring Target](index.md#monitoring-targets) whose event should trigger the rule.
14
-
-`Monitoring Metric`: the [Monitoring Metric](index.md#monitoring-metrics) whose event should trigger the rule.
15
-
-`Model name`: the name of the model to which the rule applies. This is only required when the monitoring target is related to a model
16
-
(such as `ERROR` or `PREDICTION`).
17
-
-`Actions`: A list of actions to be executed sequentially when the rule is triggered.
| Detection Event Type | The type of event that triggers the rule. |
14
+
| Severity | The severity of the event that triggers the rule. It is only applicable to drift events. If not specified, the rule will be triggered by drift events of any severity. |
15
+
| Monitoring Target | The [Monitoring Target](index.md#monitoring-targets) whose event should trigger the rule. |
16
+
| Monitoring Metric | The [Monitoring Metric](index.md#monitoring-metrics) whose event should trigger the rule. |
17
+
| Model name | The name of the model to which the rule applies. This is only required when the monitoring target is related to a model (such as `ERROR` or `PREDICTION`). |
18
+
| Actions | A list of actions to be executed sequentially when the rule is triggered. |
18
19
19
20
## Detection Event Actions
20
21
Three types of actions are currently supported: notification, plot configuration and retrain.
21
22
22
23
### Notifications
23
24
24
-
These actions send notifications to external services when a detection event is triggered. The following notification actions are available:
25
+
These actions send notifications to external services when a detection event is triggered. The following notification options are available:
25
26
26
-
-`Slack Notification`: sends a notification to a Slack channel via webhook.
27
-
-`Discord Notification`: sends a notification to a Discord channel via webhook.
28
-
-`Email Notification`: sends an email to the provided email address.
29
-
-`Teams Notification`: sends a notification to Microsoft Teams via webhook.
30
-
-`Mqtt Notification`: sends a notification to an MQTT broker.
0 commit comments