2017-07-28 58 views
1

我正在嘗試爲我的kibana實例安裝newrelic。我在獲得NewRelic的數據,但收到以下警告:如何在kibana中安裝newrelic

Some modules were uninstrumented during the current time window: bluebird, hapi. Make sure require('newrelic'); is the first line of the application's main module.

我以爲this是「應用程序的主模塊」,但顯然不是。在哪裏可以將require('newrelic');放在kibana代碼中以使其正常工作?

回答

1

正確的放置位置require('newrelic');是由kibana運行腳本調用的cli/index.js文件。警告消息在新的用戶界面中消失了一段時間。