mpmcrouter

package
v0.86.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2024 License: Apache-2.0 Imports: 9 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Do

func Do()

Do the plugin

Types

type McrouterPlugin

type McrouterPlugin struct {
	Prefix    string
	StatsFile string
}

McrouterPlugin mackerel plugin

func (McrouterPlugin) FetchMetrics

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

FetchMetrics interface for mackerelplugin

func (McrouterPlugin) GraphDefinition

func (p McrouterPlugin) GraphDefinition() map[string]mp.Graphs

GraphDefinition interface for mackerelplugin

func (McrouterPlugin) MetricKeyPrefix

func (p McrouterPlugin) MetricKeyPrefix() string

MetricKeyPrefix interface for mackerelplugin

Jump to

Keyboard shortcuts

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