I am putting together simple samples for various database tools and software (only official docker images at this time). Does anyone have enough experience with InfluxDB to provide a simple pipeline that is able to start and ping an InfluxDB database service, using the official InfluxDB Docker images? Ideally something similar to this Postgres example:
In most cases you don’t really interact with InfluxDB using CLI client, rather http API. One might be:
curl -G “http://localhost:8086/query” --data-urlencode “q=show databases” Mon Nov 19 16:15:20 2018
{“results”:[{“statement_id”:0,“series”:[{“name”:“databases”,“columns”:[“name”],“values”:[["_internal"]]}]}]}
or simple ping
curl -sl -I http://localhost:8086/ping
Mon Nov 19 16:17:22 2018
HTTP/1.1 404 Not Found
Content-Type: text/plain; charset=utf-8
X-Content-Type-Options: nosniff
X-Influxdb-Build: OSS
X-Influxdb-Version: 1.7.1
Date: Mon, 19 Nov 2018 15:17:22 GMT
Content-Length: 19