class ElasticAPM::ServiceInfo
def runtime
def runtime case RUBY_ENGINE when 'ruby' { name: RUBY_ENGINE, version: RUBY_VERSION } when 'jruby' { name: RUBY_ENGINE, version: ENV['JRUBY_VERSION'] } end end
def runtime case RUBY_ENGINE when 'ruby' { name: RUBY_ENGINE, version: RUBY_VERSION } when 'jruby' { name: RUBY_ENGINE, version: ENV['JRUBY_VERSION'] } end end