mpapache2

package
v0.39.0 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2017 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Do

func Do()

Do the plugin

Types

type Apache2Plugin

type Apache2Plugin struct {
	Host        string
	Port        uint16
	Path        string
	Header      []string
	Tempfile    string
	Prefix      string
	LabelPrefix string
}

Apache2Plugin for fetching metrics

func (Apache2Plugin) FetchMetrics

func (c Apache2Plugin) FetchMetrics() (map[string]interface{}, error)

FetchMetrics fetch the metrics

func (Apache2Plugin) GraphDefinition

func (c Apache2Plugin) GraphDefinition() map[string]mp.Graphs

GraphDefinition Graph definition

func (Apache2Plugin) MetricKeyPrefix

func (c Apache2Plugin) MetricKeyPrefix() string

MetricKeyPrefix interface for PluginWithPrefix

Jump to

Keyboard shortcuts

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