playing with Erlang, influxdb and sparkcore