Skip to content

Commit

Permalink
fix(custom-metrics): add noop functions
Browse files Browse the repository at this point in the history
  • Loading branch information
gergelyke committed Sep 19, 2016
1 parent 36e9f38 commit 0d3acf0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/trace.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ var traceNoop = {
report: function () {},
reportError: function () {},
getTransactionId: function () {},
sendMemorySnapshot: function () {}
sendMemorySnapshot: function () {},
recordMetric: function () {},
incrementMetric: function () {}
}

function Trace (config) {
Expand Down

0 comments on commit 0d3acf0

Please sign in to comment.