You can create a metric, monitor, and measure impact in six steps:
- Define your metric name and meta information
- Define your metric definition
- Create an alert policy
- Manage alerts
- Review metrics impact during a review period
- Analyze metric impact details and trends over time
Step 1: Set your metric name and information
Once you are sending us event data, to create your first metric, click on the metrics icon in the left navigation and click the Create metric button. Enter your metric name. We recommend describing what you intend to measure with a unique and recognizable name. Similar to feature flags, you can easily specify meta information for your new metric such as name, description, owners, and tags. This information can help you and your team manage your metrics. Learn more about creating a metric.
Step 2: Define your metric definition
When defining the metric definition, determine the winning direction. If increasing this metric is good for your business and customer experience, select increase. If not, select decrease. The traffic type applies to the event type associated with the metric. Select traffic type user. To get started, select count of events per user and select an event you sent. Learn more about defining your metric.
Step 3: Create an alert policy
An alert policy allows you to configure a degradation threshold for your metric. If the feature flag causes the metric to go below or above that threshold you are alerted by your configured notification channel. Learn more about creating an alert policy.
Step 4: Manage alerts
Any alerts which are triggered are displayed both on the Targeting and Alerts tab on the feature flag page. When you receive an alert, you can quickly rollback the feature flag by clicking kill or dismiss the alert. Learn more about managing alerts.
Step 5: Review metric impact during a review period
The review periods are preset using the admin settings. You can access your metric impact by searching for the feature flag you want to see the impact for and navigating to the metrics impact tab. Once here, you see the impact on your organization’s metrics, first ordered by key metrics and then ordered by the additional organizational metrics which reached statistical significance. Learn more about review periods and filtering your metrics.
Step 6: Analyze metric impact details and trends over time
Information such as the impact % , p-value, and error margin are surfaced on the metric card. You can click on the metric card to access additional information. This additional information includes how the impact changed over time, the metric dispersion, and the sample size used to calculate the metric value. Learn more about metric details and trends.