For convenience a point can be represented by a hash-map: {:measurement "cpu" :tags {:host "serverA" :region "us_west"} :fields {:value 0.64 :count 3} :time 1434067467000000000}
Just like for inserts and using the Line Protocol only measurement and at least one field is mandatory: https://docs.influxdata.com/influxdb/v1.7/write_protocols/line_protocol_reference/
For convenience a point can be represented by a hash-map:
{:measurement "cpu"
:tags {:host "serverA" :region "us_west"}
:fields {:value 0.64 :count 3}
:time 1434067467000000000}
Just like for inserts and using the Line Protocol only measurement and at
least one field is mandatory:
https://docs.influxdata.com/influxdb/v1.7/write_protocols/line_protocol_reference/When interacting with the InfluxDB HTTP API a "connection" needs to be provided. A connection is a hash-map describing how to connect to InfluxDB and could look like the following: {:url "http://localhost:8086" :username "root" :password "root"} Only the :url is mandatory.
When interacting with the InfluxDB HTTP API a "connection" needs to be
provided. A connection is a hash-map describing how to connect to InfluxDB and
could look like the following:
{:url "http://localhost:8086"
:username "root"
:password "root"}
Only the :url is mandatory.No vars found in this namespace.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |