A simple driver for InfluxDB. Currently it only supports querying InfluxDB, hence the name Efflux.
If available in Hex, the package can be installed as:
- Add
efflux
to your list of dependencies inmix.exs
:
```elixir
def deps do
[{:efflux, "~> 0.1.0"}]
end
```
- Ensure
efflux
is started before your application:
```elixir
def application do
[applications: [:efflux]]
end
```
To run a query:
Enum.into(Efflux.execute("show series", host: "localhost", database: "stuff"), [])