mprackstats

package
v0.41.1 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2017 License: Apache-2.0 Imports: 13 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 RackStatsPlugin

type RackStatsPlugin struct {
	Address   string
	Path      string
	MetricKey string
}

RackStatsPlugin mackerel plugin for Rack servers

func (RackStatsPlugin) FetchMetrics

func (u RackStatsPlugin) FetchMetrics() (stats map[string]interface{}, err error)

FetchMetrics interface for mackerelplugin

func (RackStatsPlugin) GraphDefinition

func (u RackStatsPlugin) 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