mpgraphite

package
v0.42.0 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2018 License: Apache-2.0 Imports: 11 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 GraphitePlugin

type GraphitePlugin struct {
	Host        string
	WebHost     string
	WebPort     string
	Type        string
	Instance    string
	LabelPrefix string
	URL         string
}

GraphitePlugin is plugin for Graphite

func (GraphitePlugin) FetchMetrics

func (p GraphitePlugin) FetchMetrics() (map[string]interface{}, error)

FetchMetrics interface for mackerelplugin But, don't use this

func (GraphitePlugin) GraphDefinition

func (p GraphitePlugin) 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