Metric groups

Overview

This topic explains what metric groups are and when to use them. A metric group is a reusable list of metrics you can use to standardize metrics across multiple flags or experiments.

For example, if you have a standard user sign-up flow, you could create four metrics that track customers clicking the sign up button, entering their personal information, adding payment information, and clicking the submit button. By combining these four metrics into a funnel metric group, you can then attach that group to all of your sign-up funnel experiments, ensuring you’re tracking the correct metrics for each step within each funnel.

You can view your metric groups from the Metrics list on the Metric groups tab:

The Metric groups list.

The Metric groups list.

To learn how to create and manage metric groups, read Creating and managing metric groups.

Metric group types

There are two types of metric groups: standard metric groups and funnel metric groups.

Metric groups cannot include warehouse-native metrics

You cannot include warehouse-native metrics in either a standard metric group or in a funnel metric group.

Standard metric groups

A standard metric group is an unordered collection of two or more metrics. You can use standard metric groups with both feature change experiments and guarded rollouts. To learn more, read Creating feature change experiments and Guarded rollouts.

You can also use the REST API: List metric groups

Funnel metric groups

A funnel metric group is an ordered collection of two or more metrics specifically for use with funnel optimization experiments. A “funnel” is a marketing model that describes a customer’s journey through your purchasing or conversion cycle, typically from the awareness stage to the purchasing stage. LaunchDarkly’s funnel optimization experiments use multiple metrics to track the performance of each of the steps in your funnel over time.

When you create a funnel metric group, ensure that each metric measures a required step in the user journey. If end users skip a step, the results may be incomplete or misleading and will skew your experiment results. Funnel experiments treat the final metric in the funnel metric group as the primary metric for determining the result of the experiment.

To learn more, read Creating funnel experiments.

To include a metric in a funnel metric group, the metric must:

You cannot include custom numeric metrics or custom conversion count metrics in a funnel metric group, and you cannot include any metrics that use the “Count” or “Value/size” measurement method in a funnel metric group.

You cannot use funnel metric groups in feature change experiments. Instead, use a standard metric group.

View a metric group

To view a metric group’s details page, click on the metric group’s name from the Metric groups list. The metric group details page displays all of the metrics in the group.

The “Metric group connections” section includes information on any experiments or flags the metric group is connected to:

A metric group details page.

A metric group details page.

You can also use the REST API: Get metric group