Skip to content

KKBOX/mogilefs-exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MogileFS Exporter

Prometheus Exporter for MogileFS

Prerequisites

  • Modern Ruby (Ruby MRI >= 2.4.0 tested.)
  • Build environment

Installation

git clone https://github.com/KKBOX/mogilefs-exporter.git
cd mogilefs-exporter
gem install bundler
bundle install

Running

export MOGILEFS_HOSTS="HOST:PORT[[,HOST:PORT]...]"
puma -p 9413

Using Docker

docker run -d -p 9413:9413 -e MOGILEFS_HOSTS=HOST:PORT[[,HOST:PORT]...] kkbox/mogilefs-exporter