【问题标题】:how to setup newrelic in angular?如何在角度设置newrelic?
【发布时间】: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


    【解决方案1】:
    猜你喜欢
    • 1970-01-01
    • 2015-05-03
    • 2018-09-30
    • 2022-01-04
    • 1970-01-01
    • 1970-01-01
    • 2020-02-22
    • 1970-01-01
    • 2018-02-22
    相关资源
    最近更新 更多