Skip to content

Commit 8bc754d

Browse files
Revert "fix(aci): Multiply release data values by 100 (#103981)"
This reverts commit 7dfbf74. Co-authored-by: scttcper <[email protected]>
1 parent a1b0f5e commit 8bc754d

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

static/app/views/detectors/datasetConfig/utils/releasesSeries.tsx

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,10 @@ export function transformMetricsResponseToSeries(
3030
data: data.intervals.map((interval: string, index: number) => {
3131
return {
3232
name: new Date(interval).getTime(),
33-
// Releases metrics API returns rate values between 0-1, multiply by 100 for percentage display
34-
value:
35-
data.groups.reduce((acc: number, group) => {
36-
const value = group.series?.[field]?.[index] ?? 0;
37-
return acc + value;
38-
}, 0) * 100,
33+
value: data.groups.reduce((acc: number, group) => {
34+
const value = group.series?.[field]?.[index] ?? 0;
35+
return acc + value;
36+
}, 0),
3937
};
4038
}),
4139
};

0 commit comments

Comments
 (0)