Permalink
e4ce359 Jul 28, 2015
@paulasmuth @plehatron
38 lines (23 sloc) 1.14 KB

Installing FnordMetric

FnordMetric is written in C++. You can either install a binary release or compile from source. Fnordmetric will install two binaries into your system: fnordmetric-cli and fnordmetric-server.

Compile from source

You need cmake and a modern c++ compiler. Optional dependencies are libmysqlclient. You can find the complete source code on Github

To compile fnordmetric

$ git clone https://github.com/paulasmuth/fnordmetric.git && cd fnordmetric/fnordmetric-core
$ make
$ sudo make install

To run the tests

$ make test

Run via Docker

To run FnordMetric Server using docker:

$ sudo mkdir -p /var/lib/fnordmetric-data
$ sudo docker run -p 8080:8080 -p 8125:8125/udp -v /var/lib/fnordmetric-data:/data/fnordmetric -t fnordmetric/fnordmetric-server

To build a Docker Image for FnordMetric Server, use the included dockerfile:

$ git clone https://github.com/paulasmuth/fnordmetric.git && cd fnordmetric
$ sudo docker build -t myrepo/fnordmetric-server .

Binary Releases

The first binary release will be published 2014-12-01