Tool for generating metering JSON events to stdout or files. These outputs can be processed by other tools like fluentd in order to parse and send to an external service.
brew tap oleewere/repo
brew install meteringpUsing wget:
METERINGP_VERSION=0.3.0
wget -qO- "https://github.com/oleewere/meteringp/releases/download/v${METERINGP_VERSION}/meteringp_${METERINGP_VERSION}_linux_64-bit.tar.gz" | tar -C /usr/bin -zxv meteringpUsing curl:
METERINGP_VERSION=0.3.0
curl -L -s "https://github.com/oleewere/meteringp/releases/download/v${METERINGP_VERSION}/meteringp_${METERINGP_VERSION}_linux_64-bit.tar.gz" | tar -C /usr/bin -xzv meteringpmeteringp --config sample/meteringp.confUsing with docker:
docker build -t oleewere/meteringp .
docker run --rm -v $(pwd)/sample:/sample oleewere/meteringp --config /sample/meteringp.confSee sample folder to check the configuration options.