Skip to content

Commit 0d3acf0

Browse files
committed
fix(custom-metrics): add noop functions
1 parent 36e9f38 commit 0d3acf0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/trace.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ var traceNoop = {
77
report: function () {},
88
reportError: function () {},
99
getTransactionId: function () {},
10-
sendMemorySnapshot: function () {}
10+
sendMemorySnapshot: function () {},
11+
recordMetric: function () {},
12+
incrementMetric: function () {}
1113
}
1214

1315
function Trace (config) {

0 commit comments

Comments
 (0)