Get metric
Get information for a single metric from the specific project.
Expanding the metric response
LaunchDarkly supports four fields for expanding the “Get metric” response. By default, these fields are not included in the response.
To expand the response, append the expand
query parameter and add a comma-separated list with any of the following fields:
experiments
includes all experiments from the specific project that use the metricexperimentCount
includes the number of experiments from the specific project that use the metricmetricGroups
includes all metric groups from the specific project that use the metricmetricGroupCount
includes the number of metric groups from the specific project that use the metric
For example, expand=experiments
includes the experiments
field in the response.
Path parameters
Headers
Query parameters
A comma-separated list of properties that can reveal additional information in the response.
Response
A human-friendly name for the metric
For custom metrics, whether to track numeric changes in value against a baseline (true
) or to track a conversion when an end user takes an action (false
).
The percentile for the analysis method. An integer denoting the target percentile between 0 and 100. Required when analysisType
is percentile
.