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 2.x
editRuby Agent version 2.x
edit2.12.0 (2019-10-01)
editChanged
editFixed
edit- Handles a case where stacktrace frames are empty #538
Deprecated
edit-
Deprecate
set_tag
#543
2.11.0 (2019-09-23)
editAdded
editChanged
edit-
Split dot-separated
span.type
into.type
,.subtype
and.action
(auto-upgrades dot style) #531
2.10.0
editAdded
editChanged
edit-
ElasticAPM.report
andElasticAPM.report_message
return the string ID of the generatedError
objects #507
2.9.0 (2019-06-25)
editSecurity
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
editFixed
edit2.8.0 (2019-05-20)
editAdded
edit-
The option
stack_trace_limit
#424
Changed
edit- Use standardized User-Agent #419
Fixed
edit2.7.0 (2019-05-07)
editAdded
edit-
Added
disable_start_message
for those wanting complete silence on boot #397
Changed
edit-
Attempt to strip secrets from
request.env
#410
Fixed
edit2.6.0 (2019-03-19)
editDeprecated
editBoth 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
editFixed
edit2.5.0 (2019-03-01)
editAdded
edit-
Added the option
active
that will prevent the agent from starting if set tofalse
#338
Fixed
edit-
Fix error with
capture_body
and nested request bodies #339
2.4.0 (2019-02-27)
editAdded
edit- Added option to specify a custom server CA certificate #315
Changed
edit-
NB: Default value of option
capture_body
flipped tofalse
to align with other agents. Setcapture_body: true
in your configuration to get them back. #324
Fixed
edit2.3.1 (2019-01-31)
editAdded
edit- Read container info from Docker or Kupernetes #303
Fixed
edit- Fix logging exceptions when booting via Railtie #306
2.2.0 (2019-01-22)
editAdded
edit- Support for OpenTracing #273
- Add capture\_\* options #279
- Evaluate the config file as ERB #288
Changed
edit-
Rename
Traceparent
object toTraceContext
#271
Fixed
edit2.1.1 (2018-12-04)
editFixed
edit- Set traceparent span.id to transaction id when span is missing #261
2.0.0 (2018-11-14)
editVersion 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
editAPIs:
-
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)