Notifications for Insights are enabled for Gitlab Deployment Frequency KPI. The average deployment frequency is calculated based on a given date range, and the number of deployments that have occurred within that date range. Apply strategic criteria within the KPI Settings, where they define the success and failure goals. Strategic Criteria, Tags, Deployment Stage, and Date filter are what will contribute to the trigger of a notification.
How to Configure:
Info |
---|
Before enabling notifications, here are some prerequisites to follow:
|
...
Once the GitLab Deployment Frequency KPI has been added to the Dashboard, click the gear icon to configure KPI Settings.
...
Settings
Provide any Tags created as a part of prerequisite #2 and select a Deployment Stage from the drop-down. Provide a Date Range. To apply Settings, click Save.
...
Data Point Settings
Navigate to the Data Point Settings tab to configure.
...
Based on requirementrequirements, apply Strategic Criteria for success Success, warning Warning and/or failure cases Failure Criteria, and Save.
...
Dashboard Notifications
Navigate to the Dashboard Notifications tab.
...
Once completed, click Save and Close.
How to View Notifications:
Once KPI Settings have been applied and a new pipeline runs, the platform will calculate the deployment frequency for the provided filters and date range. This will send a notification if either of the thresholds have been breached.
Example Screenshot of Notifications
...