Skip to content

Commit

Permalink
feat(RPM): add rounding to average response time send
Browse files Browse the repository at this point in the history
  • Loading branch information
peteyycz authored and gergelyke committed Nov 17, 2015
1 parent 76c123a commit 49fff85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/providers/httpTransaction/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ HttpTransaction.prototype._sendRpm = function () {
var dataBag = {
requests: cloneDeep(this.rpmMetrics),
timestamp: new Date().toISOString(),
avgResponseTime: this.avgResponseTime
avgResponseTime: Math.floor(this.avgResponseTime)
};

this.eventBus.emit(this.eventBus.RPM_METRICS, dataBag);
Expand Down

0 comments on commit 49fff85

Please sign in to comment.