Ruby Agent version 2.x

edit

2.12.0 (2019-10-01)

edit
Changed
edit
  • disabled_spies renamed to disabled_instrumentations with fallback #539
  • Rename set_tag to set_label and deprecate set_tag #543
  • Allow non-String label values #543
Fixed
edit
  • Handles a case where stacktrace frames are empty #538
Deprecated
edit
  • Deprecate set_tag #543

2.11.0 (2019-09-23)

edit
Added
edit
  • Add Rails module with #start method to run Rails setup explicitly #522
  • Support for log/trace correlation #527
Changed
edit
  • Split dot-separated span.type into .type, .subtype and .action (auto-upgrades dot style) #531

2.10.1

edit
Fixed
edit
  • Fixed loading options from a config file specified by ELASTIC_APM_CONFIG_FILE #518
  • Fixed an issue with CentralConfig polling not starting #525
Added
edit
  • Support for chained exceptions #488

2.10.0

edit
Added
edit
  • Add Ruby specific metrics #437
  • Support for APM Agent Configuration via Kibana #464
  • Change span name format and add command to context’s db.statement for MongoSpy #488
Changed
edit
  • ElasticAPM.report and ElasticAPM.report_message return the string ID of the generated Error objects #507

2.9.1 (2019-06-28)

edit
Fixed
edit
  • Use system CA certificate if none is specified #460

2.9.0 (2019-06-25)

edit
Security
edit
  • NB: If you are using a custom CA cert via server_ca_cert, versions of the agent prior to 2.9.0 may not have validated the certificate of APM Server correctly.
Added
edit
  • Add transaction.type to errors #434
  • Add cookies to request.cookies #448
Fixed
edit
  • Fix support for older versions of Http.rb #438
  • Strip Cookie and Set-Cookie from headers #448
  • Fix disabling SSL verification #449

2.8.1 (2019-05-29)

edit
Fixed
edit
  • Database statements are properly truncated #431

2.8.0 (2019-05-20)

edit
Added
edit
  • The option stack_trace_limit #424
Changed
edit
  • Use standardized User-Agent #419
Fixed
edit
  • error.culprit is properly truncated to 1024 characters #418
  • Force convert transaction.context.response.status_code to integer #423

2.7.0 (2019-05-07)

edit
Added
edit
  • Added disable_start_message for those wanting complete silence on boot #397
Changed
edit
  • Attempt to strip secrets from request.env #410
Fixed
edit
  • Rewritten most of the internal transport code, streaming events to APM Server #372
  • Re-added default_tags #395
  • A bug in the Faraday spy when disabling the Net::HTTP spy #396
  • Fix disabling the ActionDispatch spy #399

2.6.1 (2019-03-28)

edit
Fixed
edit
  • Setting config_file via ELASTIC_APM_CONFIG_FILE #363
  • Stopping the Metrics collector when it is disabled #357
  • HTTP proxy settings can now be set by ENV variable #367

2.6.0 (2019-03-19)

edit
Deprecated
edit
  • ElasticAPM.build_context now takes two keyword arguments instead of a single, normal argument. Docs.
  • The option capture_body has a string value instead of boolean. Docs.

Both APIs are backwards compatible with fallbacks and deprecation warnings, scheduled for removal in next major release.

Added
edit
  • Configuration options to use an HTTP proxy #352
Changed
edit
  • Errors get their own contexts, perhaps leading to slightly different (but more correct) results. #335
  • The agent no longer starts automatically inside Rails' console #343
Fixed
edit
  • Fixed reading available memory on older Linux kernels #351
  • Don’t apply filters to original response headers #354

2.5.0 (2019-03-01)

edit
Added
edit
  • Added the option active that will prevent the agent from starting if set to false #338
Fixed
edit
  • Fix error with capture_body and nested request bodies #339

2.4.0 (2019-02-27)

edit
Added
edit
  • Added option to specify a custom server CA certificate #315
Changed
edit
  • NB: Default value of option capture_body flipped to false to align with other agents. Set capture_body: true in your configuration to get them back. #324
Fixed
edit
  • Reading CPU stats from /proc/stat on RHEL #312
  • Change TraceContext to differentiate between id and parent_id #326
  • capture_body will now force encode text bodies to utf-8 when possible #332

2.3.1 (2019-01-31)

edit
Added
edit
  • Read container info from Docker or Kupernetes #303
Fixed
edit
  • Fix logging exceptions when booting via Railtie #306

2.3.0 (2019-01-29)

edit
Added
edit
  • Support for Metrics #276

2.2.0 (2019-01-22)

edit
Added
edit
Changed
edit
  • Rename Traceparent object to TraceContext #271
Fixed
edit
  • An issue where Spans would not get Stacktraces attached #282
  • Skip caller unless needed #287

2.1.2 (2018-12-07)

edit
Fixed
edit
  • Fix truncation of transaction.request.url values #267
  • Fix Faraday calls with url_prefix #263
  • Force span.context.http.status_code to be an integer

2.1.1 (2018-12-04)

edit
Fixed
edit
  • Set traceparent span.id to transaction id when span is missing #261

2.1.0 (2018-12-04)

edit
Added
edit
  • Support for Faraday #249
Fixed
edit
  • Truncate keyword fields to 1024 chars #240
  • Lazy boot worker threads on first event. Fixes apps using Puma’s preload_app! #239
  • Fix missing disable_send implementation #257
  • Add warnings for invalid config options #254

2.0.1 (2018-11-15)

edit
Fixed
edit
  • Stop sending span.start #234

2.0.0 (2018-11-14)

edit

Version adds support for APM Server 6.5 and needs at least that.

Added
edit
  • Support for APM Server 6.5 (Intake v2)
  • Support for Distributed Tracing (beta)
  • Support for RUM Agent correlation (Distributed Tracing)
  • Support for HTTP.rb (Instrumentation + Distributed Tracing)
Changed
edit
  • Custom instrumentation APIs #209
  • Tag keys will convert disallowed chars to _
  • Default log level changed to info
  • Laxed version requirement of concurrent-ruby
  • Change log_level to only concern agent log
Deprecated
edit

APIs:

  • ElasticAPM.transaction
  • ElasticAPM.span

Options:

  • compression_level
  • compression_minimum_size
  • debug_http
  • debug_transactions
  • flush_interval
  • http_open_timeout
  • http_read_timeout
  • enabled_environments
  • disable_environment_warning

Some options that used to take a certain unit for granted now expects explicit units – but will fall back to old default.

Removed
edit
  • Support for APM Server versions prior to 6.5.
  • Support for Ruby 2.2 (eol)