mpgostats

package
v0.53.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2018 License: Apache-2.0 Imports: 8 Imported by: 14

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