mpsquid

package
v0.68.0 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2021 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 SquidPlugin

type SquidPlugin struct {
	Target   string
	Tempfile string
}

SquidPlugin mackerel plugin for squid

func (SquidPlugin) FetchMetrics

func (m SquidPlugin) FetchMetrics() (map[string]interface{}, error)

FetchMetrics interface for mackerelplugin

func (SquidPlugin) GraphDefinition

func (m SquidPlugin) GraphDefinition() map[string]mp.Graphs

GraphDefinition interface for mackerelplugin

func (SquidPlugin) ParseMgrInfo added in v0.54.0

func (m SquidPlugin) ParseMgrInfo(info io.Reader) (map[string]interface{}, error)

ParseMgrInfo parser for squid mgr:info

Jump to

Keyboard shortcuts

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