Ruby Agent version 3.xedit

3.7.0 (2020-05-14)edit

Changededit
  • Make config values dynamic so they can be changed via the remote config #747
  • Log the updated options from central config in addition to cumulative modifications #758
Fixededit
  • Ensure that the log level is updated for the config’s logger when value is changed #755
  • Set config false values to false, not nil #761
  • Ensure that the previously running agent’s config is used in ElasticAPM.restart #763
  • Handle the Resque spy’s payload class value being a String or Class and update docs #768
  • Add finalizer on ProxyPipe::Write so Zlib::GzipWriter is properly closed #787
Addededit
  • Add enabled config option, replacing active #669
  • Add recording config option #765
  • Add support for SuckerPunch #775
  • Support forking: Detect forking and restart agent tasks and background threads #783

3.6.0 (2020-03-10)edit

Addededit
  • Support for gRPC using the grpc gem (Experimental) #669
  • GraphQL support (experimental) #721
  • Add span.context.destination.address and span.context.destination.port when available. #722
  • Add support for Resque. #729
Changededit
  • The new SQL parser is used by default #730

3.5.0 (2020-02-12)edit

Addededit
  • Pass along tracestate headers and add prefixless Traceparent header #694
  • Add sanitize_field_names to replace custom_key_filters #708
  • Add rows_affected to database related spans (Sequel only for now) #668
Changededit
  • Rename disabled_instrumentations to disable_instrumentations #695
Fixededit
  • Fix thread race condition in metrics collection (JRuby) #669

3.4.0 (2020-01-10)edit

Addededit
  • Add span.context.destination fields #647
  • Add more precise (experimental) SQL summarizer #640
  • Add support for Shoryuken (AWS SQS) #674
  • Add support for Sneakers (Experimental) #676
  • Add option api_key (experimental) to specify an Api key to use with the apm server #655
Changededit
  • Allow action dispatch spy to be disabled via disabled_instrumentations #657
Fixededit
  • Fix Rails Console detection when top-level Console constant defined #664
  • Fix Ruby 2.7 related deprecation warnings #667
  • Fix HTTP response header values not being converted to strings #675

3.3.0 (2019-12-05)edit

Addededit
  • Add option disable_metrics #625
Fixededit
  • Make Filters thread-safe #624
  • Omit passwords in outgoing urls #629
  • Add missing mutex to Counter metrics #636
  • Correct span context collection name for Mongo getMore commands #637

3.2.0 (2019-11-19)edit

Addededit
  • Add Grape support. #562
  • Add Breakdown Metrics #526
Changesedit
  • Set remote_addr to immediate socket #615
Fixededit
  • Fixed pulling config from Kibana #594
  • Fixed a bug where the agent would alter the original cookies hash #616

3.1.0 (2019-10-21)edit

Addededit
  • Add ElasticAPM::Sinatra.start API. #566
Changesedit
  • Log 404s from CentralConfig on debug level #553
Fixededit
  • Fix Central Config url path #578

3.0.0 (2019-10-08)edit

Breaking Changesedit

The following changes are breaking, as they may change the way data is grouped or shown in Kibana or how your app defines agent settings.

  • Decrease stack_trace_limit to 50 #515
  • Errors' message no longer include their type #323
  • External request spans now have type external.http.{library} #514
  • Durations are measured using monotonic time #550
  • Rename set_tag to set_label #543
  • Rename disabled_spies to disabled_instrumentations #539