Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type JSONPlugin ¶
type JSONPlugin struct {
Target string
Tempfile string
URL string
Prefix string
InsecureSkipVerify bool
ShowOnlyNum bool
ExcludeExp *regexp.Regexp
IncludeExp *regexp.Regexp
}
JSONPlugin plugin for JSON
func (JSONPlugin) FetchMetrics ¶
func (p JSONPlugin) FetchMetrics() (map[string]float64, error)
FetchMetrics interface for mackerel-plugin
Click to show internal directories.
Click to hide internal directories.