lib/bm/instrumentations/puma/collector.rb
# Updates Puma metrics in the registry
Updates Puma metrics in the registry
Updates Puma metrics in the registry
def update
          metrics_collection.update_stats(launcher.stats)
          return unless tcp_info.available?
          launcher.binder.ios.each_with_index do |io, index|
            metrics_collection.update_backlog(listener: index, backlog: tcp_info.of(io))
          end
        end
def update metrics_collection . update_stats ( launcher . stats ) return unless tcp_info . available? launcher . binder . ios . each_with_index do | io , index | metrics_collection . update_backlog ( listener : index , backlog : tcp_info . of ( io ) ) end end
Updates Puma metrics in the registry
Updates Puma metrics in the registry