/matomo-to-influx

📯Push Matomo stats to influxDB. Can optionally run in Docker.

Primary LanguageRuby

matomo-to-influx

A quickly written ruby script, pushing matomo stats to influxDB, running in Docker.

Build and run with Docker

  1. Clone this repo and cd into it.
  2. Create a file called env with the required variables (see env.example).
  3. docker build -t matomo-to-influx -f ./Dockerfile .
  4. docker run -d --env-file=./env matomo-to-influx

Usage without Docker

bundle install

# export the variables in your shell session

ruby app.rb