You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: rpc_server.rb
    path of file: ./repos/kontena/server/app/services
    
    the code of the file until where you have to start completion: require_relative 'rpc/container_handler'
require_relative 'rpc/container_exec_handler'
require_relative 'rpc/node_handler'
require_relative 'rpc/node_service_pod_handler'

class RpcServer
  include Celluloid
  include Logging

  QUEUE_SIZE = 1000
  QUEUE_WATCH_PERIOD = 60 # once in a minut
    
  def watch_queue
    every(QUEUE_WATCH_PERIOD) do
      queue_size = self.queue.size
      msg_dropped = self.class.read_and_clear_msg_dropped
      msg_counter = self.read_and_clear_msg_counter

      warn "#{queue_size} messages in queue" if queue_size  > QUEUE_DROP_NOTIFICATIONS_LIMIT
      warn "#{msg_dropped} dropped notifications" if msg_dropped > 0
      info "#{msg_counter / QUEUE_WATCH_PERIOD} messages per second"
    end
  end