# File lib/influxdb/config.rb, line 30
    def initialize(opts = {})
      extract_http_options!(opts)
      extract_ssl_options!(opts)
      extract_database_options!(opts)
      extract_writer_options!(opts)
      extract_query_options!(opts)

      configure_retry! opts.fetch(:retry, nil)
      configure_hosts! opts[:hosts] || opts[:host] || "localhost".freeze
    end