Public Class methods
included(klass)
[show source]
# File lib/httpx/plugins/internal_telemetry.rb 116 def self.included(klass) 117 klass.prepend TrackTimeMethods 118 super 119 end
Public Instance methods
checkin_connection(connection)
[show source]
# File lib/httpx/plugins/internal_telemetry.rb 127 def checkin_connection(connection) 128 super.tap do 129 meter_elapsed_time("Pool##{object_id}: checked in connection for Connection##{connection.object_id}[#{connection.origin}]}") 130 end 131 end
checkout_connection(request_uri, options)
[show source]
# File lib/httpx/plugins/internal_telemetry.rb 121 def checkout_connection(request_uri, options) 122 super.tap do |connection| 123 meter_elapsed_time("Pool##{object_id}: checked out connection for Connection##{connection.object_id}[#{connection.origin}]}") 124 end 125 end