user_agent_header

in lib/elastic/transport/transport/base.rb [455:464]


        def user_agent_header(_client)
          @user_agent ||= begin
            meta = ["RUBY_VERSION: #{RUBY_VERSION}"]
            if RbConfig::CONFIG && RbConfig::CONFIG['host_os']
              meta << "#{RbConfig::CONFIG['host_os'].split('_').first[/[a-z]+/i].downcase} #{RbConfig::CONFIG['target_cpu']}"
            end
            "elastic-transport-ruby/#{VERSION} (#{meta.join('; ')})"
          end
        end