Get information for a single metric from the specific project.
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 metricFor example, expand=experiments includes the experiments field in the response.
A human-friendly name for the metric
For custom and trace 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.
Timestamp of most recent data for this metric, at one-hour fidelity
Not yet implemented - The start of the measurement window, in milliseconds relative to the unit’s first exposure to a flag variation
Not yet implemented - The end of the measurement window, in milliseconds relative to the unit’s first exposure to a flag variation
Lower winsorization percentile, expressed as a percent in the open interval (0, 100). When both bounds are set, defines a two-sided clamp range. Otherwise lower-only winsorization.
Upper winsorization percentile, expressed as a percent in the open interval (0, 100). When both bounds are set, must be greater than winsorLowerPercentile.
Deprecated, use analysisUnits instead.
A comma-separated list of properties that can reveal additional information in the response. Supported fields are experiments, experimentCount, metricGroups, metricGroupCount, eventSources, guardedRollouts, guardedRolloutCount, lastUsedInExperiment, and lastUsedInGuardedRollout.