command

package
v0.14.3 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2015 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Prepare added in v0.8.0

func Prepare(conf *config.Config) (*mackerel.API, *mackerel.Host, error)

Prepare sets up API and registers the host data to the Mackerel server. Use returned values to call Run().

func Run

func Run(conf *config.Config, api *mackerel.API, host *mackerel.Host, termCh chan struct{}) int

Run starts the main metric collecting logic and this function will never return.

func UpdateHostSpecs added in v0.8.0

func UpdateHostSpecs(conf *config.Config, api *mackerel.API, host *mackerel.Host)

UpdateHostSpecs updates the host information that is already registered on Mackerel.

Types

This section is empty.

Jump to

Keyboard shortcuts

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