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
…rting from #1680 #1729 (#1730)
  • Loading branch information
MSNev authored Dec 7, 2021
1 parent 917ce0c commit 1789620
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 1789620

Please sign in to comment.