mpawselasticsearch

package
v0.51.0 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2018 License: Apache-2.0 Imports: 9 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 ESPlugin

type ESPlugin struct {
	Region          string
	AccessKeyID     string
	SecretAccessKey string
	Domain          string
	ClientID        string
	CloudWatch      *cloudwatch.CloudWatch
	KeyPrefix       string
	LabelPrefix     string
}

ESPlugin mackerel plugin for aws elasticsearch

func (ESPlugin) FetchMetrics

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

FetchMetrics interface for mackerelplugin

func (ESPlugin) GraphDefinition

func (p ESPlugin) GraphDefinition() map[string]mp.Graphs

GraphDefinition interface for mackerelplugin

func (ESPlugin) MetricKeyPrefix added in v0.44.0

func (p ESPlugin) MetricKeyPrefix() string

MetricKeyPrefix interface for PluginWithPrefix

func (ESPlugin) MetricLabelPrefix added in v0.44.0

func (p ESPlugin) MetricLabelPrefix() string

MetricLabelPrefix ...

Jump to

Keyboard shortcuts

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