Skip to content

Commit

Permalink
make function type of properties consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
rochdev committed Feb 13, 2025
1 parent 4029666 commit 5e7bcdb
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions packages/dd-trace/src/runtime_metrics/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@
let runtimeMetrics

const noop = runtimeMetrics = {
start () {},
stop () {},
track () {},
boolean () {},
histogram () {},
count () {},
gauge () {},
increment () {},
decrement () {}
start: () => {},
stop: () => {},
track: () => {},
boolean: () => {},
histogram: () => {},
count: () => {},
gauge: () => {},
increment: () => {},
decrement: () => {}
}

module.exports = {
start (config) {
start: (config) => {
if (!config?.runtimeMetrics) return

runtimeMetrics = require('./runtime_metrics')
Expand Down

0 comments on commit 5e7bcdb

Please sign in to comment.