mph2o

package
v0.70.1 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2021 License: Apache-2.0 Imports: 9 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Do

func Do()

Do the plugin

Types

type H2OPlugin

type H2OPlugin struct {
	Prefix string
	URI    string
	Header stringSlice
}

H2OPlugin mackerel plugin for H2O

func (H2OPlugin) FetchMetrics

func (h2o H2OPlugin) FetchMetrics() (map[string]float64, error)

FetchMetrics interface for mackerelplugin

func (H2OPlugin) GraphDefinition

func (h2o H2OPlugin) GraphDefinition() map[string]mp.Graphs

GraphDefinition interface for mackerelplugin

func (H2OPlugin) MetricKeyPrefix

func (h2o H2OPlugin) MetricKeyPrefix() string

MetricKeyPrefix interface for mackerelplugin

Jump to

Keyboard shortcuts

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