    :insecure false})
 
 (defn write-batch-point
-  "Write to influxdb the `batch-point` using the `connection`"
+  "Write to InfluxDB the `batch-point` using the `connection`."
   [^InfluxDB connection batch-point]
   (.write connection batch-point))
 

  them to InfluxDB as a batch of measurement points. For performance, you should
  wrap this stream with `batch` or an asynchronous queue.

  Support InfluxdbDB 0.9 and higher.

  ```clojure
  (influxdb {:host \"influxdb.example.com\"
             :db \"my_db\"
             :user \"riemann\"
             :password \"secret\"})
  ```


    (.build builder)))

(defn get-time-unit
  "Returns a value from the TimeUnit enum depending of the `precision` parameters.

  The `precision` parameter is a keyword whose possible values are `:seconds`, `:milliseconds` and `:microseconds`.

  Returns `TimeUnit/SECONDS` by default."
  [precision]
  (cond
    (= precision :milliseconds) TimeUnit/MILLISECONDS
