Skip to content

Commit

Permalink
scenario trends - expose item id (#210)
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeknovy authored Feb 27, 2023
1 parent ca77cf0 commit 365e0d8
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ export const getScenarioTrendsController = async (req: IGetUserAuthInfoRequest,
const scenarioSettings = await db.oneOrNone(getUserScenarioSettings(projectName, scenarioName, req.user.userId))

const labelTrends = labelData.map(data => data.stats.map(value => ({
percentile90: [data.startDate, value.n0],
errorRate: [data.startDate, value.errorRate],
throughput: [data.startDate, value.throughput],
percentile90: [data.startDate, value.n0, data.id],
errorRate: [data.startDate, value.errorRate, data.id],
throughput: [data.startDate, value.throughput, data.id],
label: value.label,
})))

Expand Down

0 comments on commit 365e0d8

Please sign in to comment.