Skip to content

Commit bbbf58a

Browse files
Merge pull request #3458 from newrelic/hybrid-agent-changelog
Add hybrid agent changelog entry
2 parents 9954488 + 1f6008a commit bbbf58a

File tree

2 files changed

+20
-7
lines changed

2 files changed

+20
-7
lines changed

CHANGELOG.md

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,20 @@
22

33
## dev
44

5-
- **Feature: Add configation option error_collector.backtrace_truncate_location**
5+
- **Feature: Introduce Hybrid Agent for OpenTelemetry Tracing Support**
6+
7+
OpenTelemetry Tracing APIs can now be translated into New Relic telemetry with the New Relic Ruby agent's new Hybrid Agent features. This allows the `newrelic_rpm` gem to behave similarly to an OpenTelemetry SDK, accepting OpenTelemetry API calls and turning them into New Relic Transactions and Segments with familiar attributes and names.
8+
9+
The following configuration options relate to Hybrid Agent features:
10+
11+
| Configuration name | Default | Behavior |
12+
| ------------------ | ------- |----------|
13+
| opentelemetry.enabled | `false` | A global configuration option for disabling all OpenTelemetry signals sent through New Relic. |
14+
| opentelemetry.traces.enabled | `true` | Enables the creation of Transaction Trace segments and timeslice metrics from OpenTelemetry Spans |
15+
| opentelemetry.traces.include | `''` | A comma-delimited list of OpenTelemetry Tracers, represented as a string (e.g. "AppTracer1,OpenTelemetry::Instrumentation::Bunny::Instrumentation"), that **will** have their trace signals sent to New Relic.|
16+
| opentelemetry.traces.exclude | `''` | A comma-delimited list of OpenTelemetry Tracers, represented as a string (e.g. "AppTracer1,OpenTelemetry::Instrumentation::Bunny::Instrumentation"), that will **not** have their trace signals sent to New Relic. All known tracers for instrumentation that conflicts with New Relic instrumentation are excluded by default. |
17+
18+
- **Feature: Add configuration option error_collector.backtrace_truncate_location**
619

720
A new configuration option has been added, `error_collector.backtrace_truncate_location`, which allows the user to specify where in the backtrace to truncate when the number of frames exceeds `error_collector.max_backtrace_frames`. Options are `'top'` (removes frames from the beginning), `'middle'` (removes frames from the middle, preserving the beginning and end), or `'end'` (removes frames from the end). The default is `'middle'`. [PR#3424](https://github.com/newrelic/newrelic-ruby-agent/pull/3424)
821

@@ -28,9 +41,9 @@
2841

2942
The agent now properly initializes health check loops after forking, ensuring each process generates its own health check file. This fix also has the effect of correctly including `entity.guid` values in the health check files. [PR#3409](https://github.com/newrelic/newrelic-ruby-agent/pull/3409) [Issue#3408](https://github.com/newrelic/newrelic-ruby-agent/issues/3408)
3043

31-
- **Bugfix: Fix `sidekiq.ignore_retry_errors`**
44+
- **Bugfix: Fix `sidekiq.ignore_retry_errors`**
3245

33-
The configuration option `sidekiq.ignore_retry_errors: true` was continuing to report retry errors. The agent now correctly ignores retry errors and only reports when jobs permanently fail. [PR#3399](https://github.com/newrelic/newrelic-ruby-agent/pull/3399)
46+
The configuration option `sidekiq.ignore_retry_errors: true` was continuing to report retry errors. The agent now correctly ignores retry errors and only reports when jobs permanently fail. [PR#3399](https://github.com/newrelic/newrelic-ruby-agent/pull/3399)
3447

3548
## v10.0.0
3649

lib/new_relic/agent/configuration/default_source.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2482,22 +2482,22 @@ def self.convert_to_constant_list(string_array)
24822482
:public => true,
24832483
:type => Boolean,
24842484
:allowed_from_server => false,
2485-
:description => 'Enables the creation of Transaction Trace segments and timeslice metrics from OpenTelemetry Spans. This will help drive New Relic UI experience for opentelemetry spans.'
2485+
:description => 'Enables the creation of Transaction Trace segments and timeslice metrics from OpenTelemetry Spans. This will help drive New Relic UI experience for OpenTelemetry spans.'
24862486
},
24872487
:'opentelemetry.traces.include' => {
24882488
:default => '',
24892489
:public => true,
24902490
:type => String,
24912491
:allowed_from_server => false,
2492-
:description => 'A comma-delimited list of OpenTelemetry Tracers, represented as a string (e.g. "AppTracer1,OpenTelemetry::Instrumentation::Bunny::Instrumentation"), that **will** have their trace signals sent to New Relic.'
2492+
:description => 'A comma-delimited list of OpenTelemetry Tracers, represented as a string (e.g. "AppTracer1,OpenTelemetry::Instrumentation::Bunny::Instrumentation"), that **will** have their traces sent to New Relic.'
24932493
},
24942494
:'opentelemetry.traces.exclude' => {
24952495
:default => '',
2496-
:documentation_default => NewRelic::Agent::OpenTelemetryBridge::DEFAULT_EXCLUDED_TRACERS.join(','),
2496+
:documentation_default => "#{NewRelic::Agent::OpenTelemetryBridge::DEFAULT_EXCLUDED_TRACERS.join(',')}",
24972497
:public => true,
24982498
:type => String,
24992499
:allowed_from_server => false,
2500-
:description => 'A comma-delimited list of OpenTelemetry Tracers, represented as a string (e.g. "AppTracer1,OpenTelemetry::Instrumentation::Bunny::Instrumentation"), that will **not** have their trace signals sent to New Relic.'
2500+
:description => 'A comma-delimited list of OpenTelemetry Tracers, represented as a string (e.g. "AppTracer1,OpenTelemetry::Instrumentation::Bunny::Instrumentation"), that will **not** have their traces sent to New Relic.'
25012501
},
25022502
:force_reconnect => {
25032503
:default => false,

0 commit comments

Comments
 (0)