meteringp

command module
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 21, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

README

meteringp

GoDoc Widget Build Status Go Report Card license

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.

Installation

Installation on Mac OSX
brew tap oleewere/repo
brew install meteringp
Installation on Linux

Using wget:

METERINGP_VERSION=0.2.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 meteringp

Using curl:

METERINGP_VERSION=0.2.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 meteringp

Usage

Examples

meteringp --config sample/meteringp.conf

Using with docker:

docker build -t oleewere/meteringp .
docker run --rm oleewere/meteringp --config /sample/meteringp.conf

See sample folder to check the configuration options.

Documentation

Overview

Copyright 2019 Oliver Szabo

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL