Influxdb doesn't recognize databases after restart. This is the test case. Yo need a working docker installation to run it.
-
cd into the directory where you cloned this gist.
-
run ./start-and-fill-influx.sh
-
run ./restart-and-query-influx.sh
The data from step 2 seems not to be there.
- run ./restart-and-query-influx-with-prompt.sh
There it is! Adding one data point revives it.