mpnomad

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Do

func Do()

Do the plugin

Types

type NomadPlugin

type NomadPlugin struct {
	Client *api.Client
}

NomadPlugin plugin

func (*NomadPlugin) FetchMetrics

func (np *NomadPlugin) FetchMetrics() (map[string]float64, error)

FetchMetrics interface for mackerelplugin

func (*NomadPlugin) GraphDefinition

func (np *NomadPlugin) GraphDefinition() map[string]mp.Graphs

GraphDefinition interface for mackerelplugin

Jump to

Keyboard shortcuts

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