Skip to content

Commit 49fff85

Browse files
peteyyczgergelyke
authored andcommitted
feat(RPM): add rounding to average response time send
1 parent 76c123a commit 49fff85

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/providers/httpTransaction/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ HttpTransaction.prototype._sendRpm = function () {
221221
var dataBag = {
222222
requests: cloneDeep(this.rpmMetrics),
223223
timestamp: new Date().toISOString(),
224-
avgResponseTime: this.avgResponseTime
224+
avgResponseTime: Math.floor(this.avgResponseTime)
225225
};
226226

227227
this.eventBus.emit(this.eventBus.RPM_METRICS, dataBag);

0 commit comments

Comments
 (0)