Skip to content

Commit

Permalink
[BUG] Addition of stdDev metric support has broken custom metric repo…
Browse files Browse the repository at this point in the history
  • Loading branch information
MSNev committed Dec 6, 2021
1 parent 8b9a4de commit 8941045
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ export function MetricEnvelopeCreator(logger: IDiagnosticLogger, telemetryItem:
if (!isNullOrUndefined(customUndefinedValue)) {
_convertPropsUndefinedToCustomDefinedValue(props, customUndefinedValue);
}
const baseMetricData = new Metric(logger, baseData.name, baseData.average, baseData.sampleCount, baseData.min, baseData.max, props, measurements);
const baseMetricData = new Metric(logger, baseData.name, baseData.average, baseData.sampleCount, baseData.min, baseData.max, baseData.stdDev, props, measurements);
const data = new Data<Metric>(Metric.dataType, baseMetricData);
return _createEnvelope<Metric>(logger, Metric.envelopeType, telemetryItem, data);
}
Expand Down

0 comments on commit 8941045

Please sign in to comment.