mphaproxy

package
v0.70.5 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2022 License: Apache-2.0 Imports: 12 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 HAProxyPlugin

type HAProxyPlugin struct {
	URI      string
	Username string
	Password string
	Socket   string
}

HAProxyPlugin mackerel plugin for haproxy

func (HAProxyPlugin) FetchMetrics

func (p HAProxyPlugin) FetchMetrics() (map[string]float64, error)

FetchMetrics interface for mackerelplugin

func (HAProxyPlugin) GraphDefinition

func (p HAProxyPlugin) 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