Open dm03514 opened 5 years ago
I tried to disable mongo probe data on a super simple web app but noticed mongo probe data was still being surfaced:
appmetrics.disable('mongo'); monitoring.on('mongo', (data) => { console.log('mongo'); console.log(data); }); app.get('/', (req, res) => { db.collection('test1').find({}, (err, result) => { res.send('Hello World!'); }); });
Updating the disable to mongodb works as expected. I was wondering if this was the case across versions?
mongodb
I tried to disable mongo probe data on a super simple web app but noticed mongo probe data was still being surfaced:
Updating the disable to
mongodb
works as expected. I was wondering if this was the case across versions?