esl / flex

A simple Elixir InfluxDB client.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flex

A simple InfluxDB client.

Installation

Add to your deps

deps do
  [
    ...
    {:flex, "~> 0.1"}
    ...
  ]
end

And to your applications (pre Elixir 1.4)

def application do
  [
    applications: [
      ...
      :flex,
      ...
    ],
    ...
  ]
end

Test

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.

About

A simple Elixir InfluxDB client.

License:Apache License 2.0


Languages

Language:Elixir 100.0%