mpgostats

package
v0.47.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2018 License: Apache-2.0 Imports: 8 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 GostatsPlugin

type GostatsPlugin struct {
	URI    string
	Prefix string
}

GostatsPlugin mackerel plugin for go server

func (GostatsPlugin) FetchMetrics

func (m GostatsPlugin) FetchMetrics() (map[string]float64, error)

FetchMetrics interface for mackerelplugin

func (GostatsPlugin) GraphDefinition

func (m GostatsPlugin) 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