This documentation contains work-in-progress information for future Elastic Stack and Cloud releases. Use the version selector to view supported release docs. It also contains some Elastic Cloud serverless information. Check out our serverless docs for more details.
Ruby Agent version 4.x
editRuby Agent version 4.x
edit[[release-notes-4.7.3] ==== 4.7.3
Fixed
edit-
Address a bug where if
capture_headers
is false,ContextBuilder
will raise"undefined method 'has_key?' for nil:NilClass"
#1449
[[release-notes-4.7.2] ==== 4.7.2
Fixed
edit- Address machineType not being returned in GCP metadata #1435
[[release-notes-4.7.1] ==== 4.7.1
Fixed
edit- Skip capturing cookie header when it’s set separately #1405
- Changes/fixes to metadata.cloud.* fields collected for GCP #1415
- Pin version of bigdecimal for ruby 2.4 #1417
- Use response method on Faraday error for older versions of the library #1419
- Fix ActionDispatchSpy#render_exception for Rails 7.1 #1423
- Use graphql < 2.1 when Ruby < 2.7 #1425
- Guard against various Faraday exception response formats #1428
4.6.0
editAdded
edit- Added transaction_name to reported error to allow grouping by transaction name #1267
- Added ability to query server for version (useful in the future) #1278
- Added instrumentation for https://github.com/zendesk/racecar/ Racecar Kafka library #1284
Changed
edit- Expanded filtering to sanitize any key that contains the string auth #1266
-
Rename
log_ecs_formatting
option tolog_ecs_reformatting
, deprecate old option name #1248 -
When the configuration value for
log_path
is set, override thelogger
to point to that path instead of using e.g. Rails logger #1247 - Only send tracestate header for distributed tracing when it has content #1277
- Use the hostname as the Kubernetes pod name in the Container Info metadata if the pod id is parsed from cgroup #1314
4.5.1
editChanged
edit- Update elasticsearch spy to use new transport gem name #1257
- Standardize placeholder for phone numbers as [PHONENUMBER] per https://github.com/elastic/apm/blob/main/specs/agents/tracing-instrumentation-aws.md #1246
4.1.0
editAdded
edit- Azure App Services instance metadata #1007
Changed
edit-
hostname
is now reported split byconfigured_hostname
anddetected_hostname
#1009
Fixed
edit4.0.0
editUpgrading
editBe aware that this release changes the agent’s general approach to instrumenting third
party libraries.
It now uses Module#prepend
over alias method chaining.
This doesn’t necessarily impact your application but it could if you are using other gems that use the old approach to patch the same method. Mixing the two approaches can lead to infinite recursion.
Removed
edit- Removed support for Ruby 2.3 and JRuby 9.1 #901
-
Config option
active
, seeenabled
#900 -
Config option
custom_key_filters
, seesanitize_field_names
#900 -
Config option
default_tags
, seeglobal_labels
#900 -
Config option
default_labels
, seeglobal_labels
#900 -
Config option
ignore_url_patterns
, seetransaction_ignore_urls
#900 -
Config option
use_legacy_sql_parser
, legacy parser no longer included #900
Changed
editAdded
edit-
Added
set_service
API #1006