桑葚什么季节成熟| 亏空是什么意思| 思的五行属性是什么| 中暑吃什么药见效快| 大理寺是什么机构| 治疗白斑最有效的方法是什么| 吃什么发胖最快| 俄罗斯信奉的是什么教| 乳腺发炎吃什么消炎药| 雪燕是什么| 南无是什么意思| emerson是什么牌子| 什么品牌奶粉好消化| 射精出血吃什么药最好| 激素高是什么原因| 为什么头出汗特别多| 性病有什么症状| 血小板压积偏低是什么原因| 公务员是什么职业| 鸡精和鸡粉有什么区别| 得性病有什么症状| 女人戴什么手串辟邪| 好高什么远| 心脏病吃什么好| 天灾人祸什么意思| 锁骨上有痣代表什么| 火鸡是什么鸡| 饿了么什么时候成立的| 腰椎间盘突出看什么科| 流鼻血是什么病的前兆| 十点是什么时辰| 什么叫疱疹| 腿上长痣代表什么| 高铁上什么东西不能带| 93是什么意思| 舅舅和外甥女是什么关系| 希特勒为什么要杀犹太人| 晗字五行属什么| 丑拒是什么意思| 梦见母亲去世预示什么| 望闻问切的闻是什么意思| 拉垮什么意思| 医技是什么专业| 梦见鞋丢了是什么意思| 言过其实是什么意思| 吃什么补维生素b6| 橘子什么时候成熟| 什么是知青| 稷读什么| 金字旁的有什么字| 冰心的原名是什么| 100元人民币什么时候发行的| 6月份是什么星座的| 尖嘴是什么生肖| 外人是什么意思| 32周做什么检查| 迁坟需要准备什么东西| 168红包代表什么意思| 细水长流是什么生肖| 致电是什么意思| 机器学习是什么| 前列腺炎用什么药| 死后是什么感觉| 腹透是什么意思| 碳13和碳14有什么区别| 腱鞘炎吃什么药| 心跳过快是什么原因引起的| 优点是什么意思| 夏天脚开裂是什么原因| 大人退烧吃什么药| 小儿病毒性感冒吃什么药效果好| 孙悟空被压在什么山下| 人彘是什么| 本色出演是什么意思| 女人吃火龙果有什么好处| 办理无犯罪记录证明需要什么材料| 为什么叫黄牛| 什么茶解酒效果比较好| 魁拔4什么时候上映| 静脉曲张有什么表现| 晚上吃什么水果减肥效果最好| 手腕发麻是什么原因| 娇小是什么意思| 拐子是什么鱼| 猪蹄子炖什么好吃| 诸葛亮姓什么| 杀手锏是什么意思| 外泌体是什么| 化疗期间不能吃什么| 右耳朵痒是什么预兆| 什么样的手相最有福气| 蜜獾为什么什么都不怕| ppd是什么检查| 青光眼是什么原因引起的| 红顶商人是什么意思| 龟头瘙痒用什么药膏| 改编是什么意思| 金牛后面是什么星座| 牛犇是什么意思| 备孕做什么检查| 结婚登记需要什么材料| 柠檬和什么一起泡减肥| 桑黄是什么| 媞是什么意思| 清水是什么意思| 尿素高吃什么药| 促狭一笑是什么意思| 打喷嚏代表什么| 复试是什么意思| 雷诺氏病是一种什么病| 熬夜对心脏有什么影响| 耿耿于怀什么意思| 山茱萸的功效与作用是什么| 无以言表是什么意思| 博文是什么意思| 苯丙酮尿症是什么| 肿瘤患者吃什么药可以抑制肿瘤| 手到擒来是什么意思| 眩晕症是什么病| 射是什么意思| 发烧应该吃什么药| 焦虑症应该挂什么科室| prp治疗是什么意思| green是什么颜色| 64岁属什么| 频繁是什么意思| it是什么牌子的衣服| 屎壳郎长什么样子| 手经常抖是什么原因| 田七配什么煲汤最好| 什么方法减肥最快| 脂蛋白高说明什么问题| 半夜醒来睡不着是什么原因| 什么是鬼压床| 世界上最大的鱼是什么| 三心二意是指什么生肖| 女性下面长什么样| 奥特莱斯是什么| 粉刺是什么| 炖鸡放什么材料| 肺癌不能吃什么水果| 低钾血症有什么症状| 荷里活什么意思| 尿分叉吃什么药能治好| 执业药师什么时候考试| 馥是什么意思| 春梦是什么意思啊| 谷草谷丙比值偏高代表什么| 小仓鼠吃什么| 幽门螺旋杆菌是什么症状| 蜱虫最怕什么药| 帕罗西汀是什么药| 草字头加西读什么| 子宫息肉是什么| 什么是心衰| 吃什么养肝护肝效果最好| 吃什么死的比较舒服| 什么是有意义的东西| 耳膜穿孔有什么症状| 小孩子上户口需要什么证件| 尿液检查能查出什么病| 垂线是什么| 前列腺炎有些什么症状| 10月1日什么星座| opt是什么意思| 微创手术是什么意思| 什么是交感神经| jimmychoo是什么牌子| 男生被口什么感觉| 甲钴胺不能和什么药一起服用| 电解质水是什么水| 血糖高吃什么主食最好| 牙龈发炎吃什么消炎药| 乔丹是什么品牌| 净身是什么意思| 子宫内膜3mm意味着什么| 眼睛痒用什么滴眼液| 肺结节手术后吃什么好| is是什么组织| 粥样动脉硬化是什么意思| 吃什么补血最好最快| 什么的冬瓜| 加拿大签证需要什么材料| 多囊是什么病| 同好是什么意思| 甲状腺五类是什么意思| 失眠吃什么药| 保肝护肝吃什么药好| 加应子是什么水果| 自然周是什么意思| 长期吃避孕药有什么副作用| 湿热吃什么食物好得快| 老年人出现幻觉是什么原因| 小孩子肚子痛吃什么药| 什么药治便秘| 灰指甲用什么药好| 秋字五行属什么| 梦见初恋男友是什么意思| 阴道炎吃什么消炎药| 什么药治肝最好最安全| 胃酸是什么颜色| 喉咙发炎用什么药| 洗衣机单漂洗是什么意思| 七夕什么时候| 岁月如梭是什么意思| 一物降一物前面一句是什么| 暗合是什么意思| aldo是什么牌子| 去年属什么生肖| 无可奈何是什么生肖| 扁平足是什么样的| 麦冬什么时候种植| 冠心病是什么| 枕头太低有什么影响| 奉天为什么改名沈阳| 党参有什么功效| 女人大腿内侧黑是什么原因引起的| 什么是掌跖脓疱病| 腿部肿胀是什么原因引起的| 宝宝眼屎多是什么原因| 过敏用什么药膏| 痛风吃什么药治疗最有效| 林格液又叫什么| 银耳为什么助湿气| 什么疾什么快| 鱼油不能和什么一起吃| 什么是证件照| 全身无力吃什么药| 乳酸菌可以制作什么| 预谋什么意思| 喝绿茶有什么好处| 左肺下叶钙化灶是什么意思| 女性盆腔炎什么症状| 黑枣是什么枣| 考药师证需要什么条件| 曙光什么意思| 为什么打呼噜| 易激惹是什么意思| 宁静什么意思| 很什么很什么| 一什么商店| 晚餐吃什么健康又营养| 办银行卡需要什么证件| 现充什么意思| 牙疳是什么意思| 化疗后吃什么增强免疫力| 腱鞘囊肿看什么科| 接亲是什么意思| 什么是排卵期| 吃什么可以解决便秘| 为什么叫印度阿三| 青红皂白的皂是什么颜色| 美国为什么打越南| 乳头痒用什么药| 查染色体挂什么科| 开火车是什么意思| 鼻子冒热气是什么原因| 口腔炎吃什么药| nsfw是什么意思| 裸眼视力是什么意思| 怀孕第一天有什么症状| 夏季喝什么茶| 什么品牌的笔记本好| 阴囊两侧瘙痒是什么原因| 百度
  • /
  • EnglishEspa?olFran?ais日本語???Português
  • Log inStart now

我省是台风、暴雨等自然灾害频发省份,每年山...

百度 将以上这三点集于一身,而且还不能太贵,以常规认识来看,这简直是不存在的全能神车!随着一款自主品三擎四驱牌双模插电混动SUV的上市,这种常规被打破了,我们一一来看。

You can tailor the Node.js agent to your app's requirements by editing your newrelic.js config file or by setting an environment variable. The config file resides in the root directory of your app. You can also configure a few options from New Relic, or use the Node.js agent API.

Get started

You'll be able to configure our Node.js agent to suit your environment after you create a New Relic account (it's free, forever) and install the Node.js agent.

The license_key setting is required. Also, we highly recommend setting the app_name so that your app has a meaningful name instead of the default My Application.

Configuration methods and precedence

The primary method to configure the Node.js agent is the agent configuration file (newrelic.js). You can also configure most settings with environment variables. You can also adjust some settings with server-side configuration.

The Node.js agent uses this order of precedence for configuration methods:

Node.js agent configuration precedence

Node.js configuration hierarchy: Server-side configuration settings override environment variables. Environment variables override the agent config file. The config file overrides the agent defaults.

Here are detailed descriptions of each configuration method:

Exports variables

This section defines the Node.js agent variables in the order they typically appear in the exports.config = { section of your app's newrelic.js configuration file.

Logging variables

This section defines the Node.js agent variables in the order they typically appear in the logging: { section of your app's newrelic.js configuration file.

AI monitoring

This section includes Node.js agent configurations for setting up AI monitoring.

Important

You must enable distributed tracing to capture AI data. It's turned on by default in Node.js agents 8.3.0 and higher. If you've enabled high security mode, AI monitoring will not work.

Important

When enabled, AI Monitoring will record a streaming copy of inputs and outputs sent to and from the models you choose to monitor, including any personal information contained therein. When using AI Monitoring, you are responsible for obtaining consent from your model users that their interactions may be recorded by a third party (New Relic) for the purpose of providing the AI Monitoring feature.

Cloud variables

This section defines the Node.js agent variables to create a relationship between cloud providers and APM applications.

Audit logging

This section defines the Node.js agent variables in the order they typically appear in the audit_log: { section of your app's newrelic.js configuration file.

API configuration

This section allows you to choose which API methods are enabled. Each configuration option allows you to modularly enable API methods that are responsible for sending custom information to New Relic.

Important

All of these are set to false when the agent is in high-security mode.

Attributes

This section defines the variables for Node.js agent attributes in the order they typically appear in the attributes: { section of your app's newrelic.js configuration file.

Caution

Any header-related include/exclude rules must be in camelCase form to be filtered.

Error collector variables

You can manage how error are handled in New Relic. This section defines the Node.js agent variables in the order they typically appear in the error_collector: { section of your app's newrelic.js configuration file.

Transaction tracer variables

The agent groups your requests into transactions, which are used to:

  • Visualize where your app spends its time (in transaction breakdowns).
  • Identify slow requests.
  • Group metrics.
  • Isolate other issues, such as slow database performance.

This section defines the Node.js agent variables in the order they typically appear in the transaction_tracer: { section of your app's newrelic.js configuration file.

Important

Do not use brackets [suffix] at the end of your transaction name. New Relic automatically strips brackets from the name. Instead, use parentheses (suffix) or other symbols if needed.

Rules variables

This section defines the Node.js agent variables in the order they typically appear in the rules: { section of your app's newrelic.js configuration file.

Transaction events variables

This section defines the Node.js agent variables in the order they typically appear in the transaction_events: { section of your app's newrelic.js configuration file.

Browser monitoring variables

This section defines the Node.js agent variables in the order they typically appear in the browser_monitoring: { section of your app's newrelic.js configuration file.

Custom events variables

This section defines the Node.js agent variables in the order they typically appear in the custom_insights_events: { section of your app's newrelic.js configuration file.

Slow queries variables

This section defines the Node.js agent variables in the order they typically appear in the slow_sql: { section of your app's newrelic.js configuration file. These options control behavior for slow queries, but do not affect SQL nodes in transaction traces.

Custom hostname variables

This section defines the Node.js agent variables in the order they typically appear in the process_host: { section of your app's newrelic.js configuration file. These options control behavior regarding the host display name in the APM UI.

Datastore tracer variables

This section defines the Node.js agent variables in the order they typically appear in the datastore_tracer section of your app's newrelic.js configuration file. These options control behavior for collecting datastore instance metrics.

Cross application tracing (DEPRECATED)

The Node.js agent variables that control cross application tracing typically appear in the cross_application_tracer section of your app's newrelic.js configuration file:

Important

Cross application tracing has been deprecated in favor of Distributed tracing and will be removed in a future agent version.

Important

Cross application tracing (CAT) has been deprecated and will be removed in a future major release. For cross-service visibility, we recommend using distributed tracing, which is enabled by default as of agent version 8.3.0. Before enabling, read the transition guide.

Error message redaction variables

The Node.js agent variables that control error message redaction appear in the strip_exception_messages section of your app's newrelic.js configuration file:

Distributed tracing

Distributed tracing lets you see the path that a request takes as it travels through a distributed system. When configuring via the config file, place the following option in the distributed_tracing section. It is turned on by default in Node.js agents 8.3.0 and higher.

Important

Enabling distributed tracing disables cross application tracing, and has effects on other APM features. Before enabling, read the transition guide. Requires Node.js agent version 4.7.0 or higher.

For more information about setting up distributed tracing, see Enable distributed tracing for your Node.js applications.

gRPC server instrumentation

The grpc section controls the behavior of how the gRPC server is instrumented.

Span events

Span data is reported for distributed tracing. Distributed tracing must be enabled to report spans. Set span configuration in the span_events section. Options include:

Infinite Tracing

To turn on Infinite Tracing, add the settings below. Set Infinite Tracing configuration in the infinite_tracing section. Additionally, distributed tracing must be enabled. Note that distributed tracing is enabled by default for Node.js APM agent versions 8.3.0 and greater.

Application logging

The application logging configuration settings require Node.JS agent version 8.11.0 or higher.

For tips on configuring logs for the Node.js agent, see Configure Node.js logs in context.

Code level metrics

The code-level metrics configuration settings require Node.JS agent version 9.7.5 or higher.

For more details, see our code-level metrics docs.

Errors inbox configuration

Setting one of the following tags will help you identify which versions of your software are producing the errors.

  • NEW_RELIC_METADATA_SERVICE_VERSION will create tags.service.version on event data containing the version of your code that is deployed, in many cases a semantic version such as 1.2.3, but not always.
  • NEW_RELIC_METADATA_RELEASE_TAG will create tags.releaseTag on event data containing the release tag (such as v0.1.209 or release-209).
  • NEW_RELIC_METADATA_COMMIT will create tags.commit on event data containing the commit sha. The entire sha can be used or just the first seven characters (e.g., 734713b).

An upcoming release of errors inbox will automatically track which versions of your software are producing errors. Any version data will also be displayed in CodeStream.

Url obfuscation

The url obfuscation configuration settings require Node.js agent version 9.9.0 or higher.

For a configuration example, see our documentation for the node agent url obfuscation.

Security Agent

New Relic Security agent interactive applications security testing(IAST) tests your applications for any exploitable vulnerability by replaying the generated HTTP request with vulnerable payloads.

Caution

Run IAST with non-production deployments only to avoid exposing vulnerabilities on your production software.

Important

The security agent configuration settings require Node.js agent version 10.3.0 or higher.

Heroku

Worker Threads

In agent versions prior to 11.0.0, the agent ran in both main and worker threads. In version 11.0.0 the agent stopped running in worker threads due to its incompatibility with our async context propagation. The ability to run in worker threads was restored in version 11.3.0 but you must set worker_threads.enabled to true. The behavior of running in the worker threads varies and we do not officially support it. Some things like metrics generation, and self contained transaction traces may work but this is a use at your own risk capability.

Environment variable overrides

This section defines two configuration options only available with environment variables. These overrides are not used in most configurations.

Environment variable type reference guide

This section describes how to properly format the complex data types.

Copyright ? 2025 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

杜蕾斯是什么 低血压是什么原因 脾虚气滞吃什么中成药 什么的积雪 仙人是什么生肖
指甲变黑是什么原因 做不好的梦预示着什么 石见念什么 218号是什么星座 运动不出汗是什么原因
感冒嗓子哑了吃什么药 眼睛红红的是什么原因 仙人掌煎鸡蛋治什么病 6个月宝宝可以吃什么辅食 鸡蛋不能和什么一起吃
肝功能不全是什么意思 检查抑郁症挂什么科 上四休二是什么意思 什么是阴虚火旺 总是爱出汗是什么原因
如果是什么意思hcv8jop1ns3r.cn 2006年属什么生肖hcv8jop8ns0r.cn 拉不出尿是什么原因hcv9jop1ns6r.cn 命运多折 什么生肖zhiyanzhang.com 全血粘度低切偏高是什么意思aiwuzhiyu.com
流年是什么hcv9jop1ns3r.cn 甘油是什么东西1949doufunao.com 医学是什么hcv8jop3ns3r.cn 做完胃肠镜后可以吃什么hcv8jop9ns5r.cn 麒麟到了北极会变成什么hcv8jop0ns3r.cn
改姓需要什么手续xinjiangjialails.com 钮祜禄氏是什么旗1949doufunao.com 癸未日五行属什么0297y7.com 见龙在田什么意思hcv8jop4ns1r.cn 脑动脉瘤是什么原因引起的hcv9jop1ns6r.cn
什么生水hcv9jop1ns4r.cn 默契是什么意思hcv8jop2ns2r.cn 平时血压高突然变低什么原因1949doufunao.com 室早三联律是什么意思hcv7jop9ns1r.cn 屁股痛是什么引起的hcv7jop5ns2r.cn
百度