如何在kibana中安装newrelic

我试图为我的kibana实例安装newrelic。 我得到的数据在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.

我以为这是“应用程序的主要模块”,但显然不是。 我应该在哪里require('newrelic'); 在kibana代码来让它正常工作?

要放置的正确位置require('newrelic'); 是由kibana运行脚本调用的cli / index.js文件。 警告消息在新的用户界面中消失了一段时间。