apache

package
v0.0.0-...-8ebd337 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2016 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Apache

type Apache struct{}

Apache plugin struct which gathers plugin specific data

func (Apache) CollectMetrics

func (a Apache) CollectMetrics(mts []plugin.Metric) ([]plugin.Metric, error)

CollectMetrics returns list of requested metric values It returns error in case retrieval was not successful

func (Apache) GetConfigPolicy

func (a Apache) GetConfigPolicy() (plugin.ConfigPolicy, error)

GetConfigPolicy returns config policy It returns error in case retrieval was not successful

func (Apache) GetMetricTypes

func (a Apache) GetMetricTypes(cfg plugin.Config) ([]plugin.Metric, error)

GetMetricTypes returns list of available metric types It returns error in case retrieval was not successful

type Status

type Status interface {
	ReturnDesignatedMetrics(mts []plugin.Metric) ([]plugin.Metric, error)
}

Status allows for the deserializtion of metrics and the matching of requested metrics

func NewStatus

func NewStatus(metricMap map[string][]string) (Status, error)

NewStatus returns a new http status object

Jump to

Keyboard shortcuts

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