通知ポリシー¶
DataRobot supports Notification Policies system that allows system admins to configure Notification Channels and Policies to subscribe to notifications when certain events happen in the system.
This functionality is Generally Available now and should be enabled for the cluster if you want to start using it.
To configure these options, refer to the Tuning Datarobot Environment Variables section of this guide.
設定¶
We have a service called notifications-broker-app-* that is deployed to the cluster to process notifications.
We have configuration variable ENABLE_NOTIFICATION_SERVICE that controls if Notification Policies functionality should be enabled for the install. It is set to true in by default in the datarobot-modeling-envvars configmap.
There are additional settings that can be used to configure Notification Policies functionality:
- ENABLE_NOTIFICATION_SERVICE (default: False): Enable Notification Service
- NOTIFICATIONS_RETRY_DELAY (default: 30): Delay between notification webhook retries in seconds. Multiplied to retry number.
- NOTIFICATIONS_MAX_RETRY_COUNT (default: 3): Max retry count for notification webhooks.
- NOTIFICATIONS_WEBHOOK_REQUEST_TIMEOUT_SECONDS (default: 5): Notification webhook request timeout in seconds.
例:
# helm chart values snippet
core:
config_env_vars:
ENABLE_NOTIFICATION_SERVICE: true
NOTIFICATIONS_RETRY_DELAY: 60
NOTIFICATIONS_MAX_RETRY_COUNT: 6
使用状況¶
Only admin users can setup Notification Channels and Policies. They should have "Enable Notification Policies" (ENABLE_NOTIFICATION_POLICIES) feature flag enabled to set up Policies and Channels. See DataRobot Documentation for guidance on how to set up and use Notification Policies.