You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When `true`, the agent captures HTTP request parameters and attaches them to transaction traces, traced errors, and [`TransactionError` events](/attribute-dictionary?attribute_name=&events_tids%5B%5D=8241).
462
462
463
-
<Callout variant="caution">
464
-
When using the `capture_params` setting, the Ruby agent will not attempt to filter secret information. `Recommendation:` To filter secret information from request parameters, use the [`attributes.include` setting](/docs/agents/ruby-agent/attributes/enable-disable-attributes-ruby) instead. For more information, see the <a href="/docs/agents/ruby-agent/attributes/ruby-attribute-examples#ex_req_params">Ruby attribute examples</a>.
465
-
</Callout>
463
+
<Callout variant="caution">
464
+
When using the `capture_params` setting, the Ruby agent will not attempt to filter secret information. `Recommendation:` To filter secret information from request parameters, use the [`attributes.include` setting](/docs/agents/ruby-agent/attributes/enable-disable-attributes-ruby) instead. For more information, see the <a href="/docs/agents/ruby-agent/attributes/ruby-attribute-examples#ex_req_params">Ruby attribute examples</a>.
A map of error classes to a list of messages. When an error of one of the classes specified here occurs, if its error message contains one of the strings corresponding to it here, that error will be treated as expected.
739
-
740
-
<Callout variant="caution">
741
-
This option can't be set via environment variable.
742
-
</Callout>
738
+
<Callout variant="caution">
739
+
This option can't be set via environment variable.
A map of error classes to a list of messages. When an error of one of the classes specified here occurs, if its error message contains one of the strings corresponding to it here, that error will be ignored.
775
-
776
-
<Callout variant="caution">
777
-
This option can't be set via environment variable.
778
-
</Callout>
772
+
<Callout variant="caution">
773
+
This option can't be set via environment variable.
For example, setting this value to "debug" will forward all log events to New Relic. Setting this value to "error" will only forward log events with the levels "error", "fatal", and "unknown".
# Keep the extra two-space indent before the second bullet to appease translation tool
1243
1239
:description=><<~DESC
1244
-
* Specify a maximum number of custom events to buffer in memory at a time.
1245
-
* When configuring the agent for [AI monitoring](/docs/ai-monitoring/intro-to-ai-monitoring), \
1240
+
- Specify a maximum number of custom events to buffer in memory at a time.
1241
+
- When configuring the agent for [AI monitoring](/docs/ai-monitoring/intro-to-ai-monitoring), \
1246
1242
set to max value `100000`. This ensures the agent captures the maximum amount of LLM events.
1247
1243
DESC
1248
1244
},
@@ -1384,9 +1380,9 @@ def self.notify
1384
1380
:description=><<~DESCRIPTION
1385
1381
If `true`, the agent won't wrap third-party middlewares in instrumentation (regardless of whether they are installed via `Rack::Builder` or Rails).
1386
1382
1387
-
<Callout variant="important">
1388
-
When middleware instrumentation is disabled, if an application is using middleware that could alter the response code, the HTTP status code reported on the transaction may not reflect the altered value.
1389
-
</Callout>
1383
+
<Callout variant="important">
1384
+
When middleware instrumentation is disabled, if an application is using middleware that could alter the response code, the HTTP status code reported on the transaction may not reflect the altered value.
1385
+
</Callout>
1390
1386
DESCRIPTION
1391
1387
},
1392
1388
:disable_samplers=>{
@@ -1425,20 +1421,18 @@ def self.notify
1425
1421
:description=><<~DESCRIPTION
1426
1422
If `true`, disables agent middleware for Sinatra. This middleware is responsible for advanced feature support such as [cross application tracing](/docs/apm/transactions/cross-application-traces/cross-application-tracing), [page load timing](/docs/browser/new-relic-browser/getting-started/new-relic-browser), and [error collection](/docs/apm/applications-menu/events/view-apm-error-analytics).
1427
1423
1428
-
<Callout variant="important">
1429
-
Cross application tracing is deprecated in favor of [distributed tracing](/docs/apm/distributed-tracing/getting-started/introduction-distributed-tracing). Distributed tracing is on by default for Ruby agent versions 8.0.0 and above. Middlewares are not required to support distributed tracing.
1424
+
<Callout variant="important">
1425
+
Cross application tracing is deprecated in favor of [distributed tracing](/docs/apm/distributed-tracing/getting-started/introduction-distributed-tracing). Distributed tracing is on by default for Ruby agent versions 8.0.0 and above. Middlewares are not required to support distributed tracing.
1430
1426
1431
-
To continue using cross application tracing, update the following options in your `newrelic.yml` configuration file:
1427
+
To continue using cross application tracing, update the following options in your `newrelic.yml` configuration file:
1432
1428
1433
-
```yaml
1434
-
# newrelic.yml
1435
-
1436
-
cross_application_tracer:
1437
-
enabled: true
1438
-
distributed_tracing:
1439
-
enabled: false
1440
-
```
1441
-
</Callout>
1429
+
```yaml
1430
+
cross_application_tracer:
1431
+
enabled: true
1432
+
distributed_tracing:
1433
+
enabled: false
1434
+
```
1435
+
</Callout>
1442
1436
DESCRIPTION
1443
1437
},
1444
1438
:disable_view_instrumentation=>{
@@ -2052,7 +2046,7 @@ def self.notify
2052
2046
If `true`, when the agent is in an application using Ruby on Rails, it will start after `config/initializers` run.
2053
2047
2054
2048
<Callout variant="caution">
2055
-
This option may only be set by environment variable.
2049
+
This option may only be set by environment variable.
2056
2050
</Callout>
2057
2051
DESCRIPTION
2058
2052
},
@@ -2190,8 +2184,8 @@ def self.notify
2190
2184
:allowed_from_server=>true,
2191
2185
# Keep the extra two-space indent before the second bullet to appease translation tool
2192
2186
:description=><<~DESC
2193
-
* Defines the maximum number of span events reported from a single harvest. Any Integer between `1` and `10000` is valid.'
2194
-
* When configuring the agent for [AI monitoring](/docs/ai-monitoring/intro-to-ai-monitoring), set to max value `10000`.\
2187
+
- Defines the maximum number of span events reported from a single harvest. Any Integer between `1` and `10000` is valid.'
2188
+
- When configuring the agent for [AI monitoring](/docs/ai-monitoring/intro-to-ai-monitoring), set to max value `10000`.\
2195
2189
This ensures the agent captures the maximum amount of distributed traces.
2196
2190
DESC
2197
2191
},
@@ -2534,11 +2528,9 @@ def self.notify
2534
2528
:allowlist=>%i[nonelowmediumhigh],
2535
2529
:external=>:infinite_tracing,
2536
2530
:description=><<~DESC
2537
-
Configure the compression level for data sent to the trace observer.
2538
-
2539
-
May be one of: `:none`, `:low`, `:medium`, `:high`.
2540
-
2541
-
Set the level to `:none` to disable compression.
2531
+
Configure the compression level for data sent to the trace observer. \
2532
+
May be one of: `:none`, `:low`, `:medium`, `:high`. \
0 commit comments