A simple InfluxDB client.
Add to your deps
deps do
[
...
{:flex, "~> 0.1"}
...
]
end
And to your applications (pre Elixir 1.4)
def application do
[
applications: [
...
:flex,
...
],
...
]
end
You'll need Influx serving locally on port 8086 (see config/config.exs
):
docker pull influxdb && \
docker run -d -p 8086:8086 -v influxdb:/var/lib/influxdb influxdb
Then go for a mix test
.