【发布时间】:2021-06-14 21:44:16
【问题描述】:
我正在尝试使用 angular6 在我的应用程序中设置 newrelic,但出现以下错误
“找不到名称‘newrelic’”。 我将 newrelic js 文件包含到 index.html 中,并在 app.component.ts 文件中调用了 'newrelic.setCustomAttribute('useId',this.userId)
它无法识别 angular 中的 newrelic。请帮助我在哪里可以包含此 newrelic 文件或设置步骤
【问题讨论】:
标签: angular angular-ui-router newrelic newrelic-synthetics