A small tool to get started with metrics and InfluxDB in Elixir.
$ mix deps.get
$ mix release
-
Install and start InfluxDB on your local machine.
-
Create a Database
-
Alter config/exit.conf accordingly
-
Execute
$ rel/exit/bin/exit console
A metric called "my_counter" should appear in your InfluxDB database. This counter in incremented every second and resetted randomly within 60 seconds. The counter can be visualized with e.g. Grafana.