diff --git a/packages/opentelemetry-node/lib/.eslintrc.json b/packages/opentelemetry-node/lib/.eslintrc.json new file mode 100644 index 00000000..64792178 --- /dev/null +++ b/packages/opentelemetry-node/lib/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "no-console": "warn" + } +} diff --git a/packages/opentelemetry-node/lib/metrics/host.js b/packages/opentelemetry-node/lib/metrics/host.js index 3b869f98..738c2114 100644 --- a/packages/opentelemetry-node/lib/metrics/host.js +++ b/packages/opentelemetry-node/lib/metrics/host.js @@ -172,9 +172,6 @@ class SystemCpuUtilizationAggregator { accumulationByAttributes, endTime ) { - console.log('toMetricdata'); - console.dir(accumulationByAttributes, {depth: 5}); - // We cannot sum up the utilization of all the states since `os.cpus()` is // not returning all of the possible states but limited to: user, nice, sys, idle, irq // https://nodejs.org/api/all.html#all_os_oscpus