我正在尝试为我的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.
我以为this是“应用程序的主要模块”,但显然不是。我应该把require('newrelic');放在kibana代码中的什么地方才能让它正常工作?
发布于 2017-08-01 22:29:21
放置require('newrelic');的正确位置是cli/index.js文件,该文件由kibana运行脚本调用。在newrelic UI中,警告消息需要一段时间才会消失。
https://stackoverflow.com/questions/45383195
复制相似问题