Module: HTTPX::Plugins::InternalTelemetry::PoolMethods
- Defined in:
- lib/httpx/plugins/internal_telemetry.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(klass) ⇒ Object
92 93 94 95 96 |
# File 'lib/httpx/plugins/internal_telemetry.rb', line 92 def self.included(klass) klass.prepend Loggable klass.prepend TrackTimeMethods super end |
Instance Method Details
#checkin_connection(connection) ⇒ Object
98 99 100 101 102 |
# File 'lib/httpx/plugins/internal_telemetry.rb', line 98 def checkin_connection(connection) super.tap do meter_elapsed_time("Pool##{object_id}: checked in connection for Connection##{connection.object_id}[#{connection.origin}]}") end end |