Ruby Agent version 4.xedit

4.2.0edit

Addededit
  • Add support for AWS Storage Table/CosmosDB #999
Fixededit
  • Align HTTP span types/subtypes with spec #1014
  • Passing a full URL as a path to Net::HTTP #1029
  • Fix growing number of open file descriptors #1033

4.1.0edit

Addededit
  • Azure App Services instance metadata #1007
Changededit
  • hostname is now reported split by configured_hostname and detected_hostname #1009
Fixededit
  • service_node_name is now correctly reported as service.node.configured_name #1009
  • Fix JSON parsing when using yajl-ruby #1012
  • Fix SpanHelpers when methods take blocks #1013
  • Fix missing environment param when fetching from Central Config #1014

4.0.0edit

Upgradingedit

Be 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.

Removededit
  • Removed support for Ruby 2.3 and JRuby 9.1 #901
  • Config option active, see enabled #900
  • Config option custom_key_filters, see sanitize_field_names #900
  • Config option default_tags, see global_labels #900
  • Config option default_labels, see global_labels #900
  • Config option ignore_url_patterns, see transaction_ignore_urls #900
  • Config option use_legacy_sql_parser, legacy parser no longer included #900
Changededit
  • Integrations (Spies) use Module#prepend over class_eval #890
  • The secrets filter no longer filters based on values, see sanitize_field_names #900
  • The secrets filter is aligned with other agents, see sanitize_field_names #900
Addededit
  • Added set_service API #1006
Fixededit
  • AWS S3 spy accepts symbol bucket names #998
  • AWS S3 spy passing on blocks #998
  • SQL scanner now recognizes CQL style comments #1004