redpesk redis binding

This part is only useful if you plan to build and install the package from source.

1. Using a distribution package manager

If you aren’t planing to build it from source, add the redpesk repository to your package manager.
Here is the url for redpesk and Fedora:
Then, to install the package and all its dependencies, install the package redis-tsdb-binding

2. Building from source

We advise you to use the local builder for building the binding sources. The local builder comes with everything setup to build redpesk projects.

a. Tools

Install the building tools:

  • gcc
  • g++
  • make
  • cmake
  • afb-cmake-modules

Install the dependencies:

  • json-c
  • afb-binding
  • afb-libhelpers
  • afb-libcontroller
  • libhiredis


dnf install gcc-c++ make cmake afb-cmake-modules json-c-devel afb-binding-devel afb-libhelpers-devel afb-libcontroller-devel libhiredis-devel lua-devel


apt install gcc g++ make cmake afb-cmake-modules-bin libsystemd-dev libjson-c-dev afb-binding-dev afb-libhelpers-dev afb-libcontroller-dev libhiredis-dev liblua5.3-dev

b. Build

git clone
cd redis-tsdb-binding
mkdir build
cd build
cmake ..
make install

From then on, you have set up your environment to run the redis binding. Go to the usage section to see how to use it.