stdout

command
v0.0.0-...-f82f096 Latest Latest
Warning

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

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

README

Printer plugin for DC/OS Metrics

This plugin simply prints all metrics available on a node to stdout.

It is intended as an example of how to write a metrics plugin. You should not run it in production.

Usage

Build this plugin (requires a Golang environment)
  1. go get github.com/dcos/dcos-metrics
  2. cd $(go env GOPATH)/src/github.com/dcos/dcos-metrics
  3. make && make plugins

Plugin is available in the build directory:

 tree build
build
├── collector
│   └── dcos-metrics-collector-1.0.0-rc7
└── plugins
    └── dcos-metrics-stdout-plugin-1.0.0-rc7

Upload the plugin to your node via scp or similar, then simply run

./dcos-metrics-stdout-plugin --dcos-role=agent

The plugin will log every message it receives to stdout.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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