Ruby Agent version 4.x
editRuby Agent version 4.x
edit4.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