module HTTPX::Plugins::InternalTelemetry::PoolMethods

  1. lib/httpx/plugins/internal_telemetry.rb

Methods

Public Class

  1. included

Public Instance

  1. checkin_connection

Public Class methods

included(klass)
[show source]
   # File lib/httpx/plugins/internal_telemetry.rb
92 def self.included(klass)
93   klass.prepend Loggable
94   klass.prepend TrackTimeMethods
95   super
96 end

Public Instance methods

checkin_connection(connection)
[show source]
    # File lib/httpx/plugins/internal_telemetry.rb
 98 def checkin_connection(connection)
 99   super.tap do
100     meter_elapsed_time("Pool##{object_id}: checked in connection for Connection##{connection.object_id}[#{connection.origin}]}")
101   end
102 end