mpawscloudfront

package
v0.42.0 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2018 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 CloudFrontPlugin

type CloudFrontPlugin struct {
	AccessKeyID     string
	SecretAccessKey string
	CloudWatch      *cloudwatch.CloudWatch
	Name            string
	Prefix          string
}

CloudFrontPlugin mackerel plugin for cloudfront

func (CloudFrontPlugin) FetchMetrics

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

FetchMetrics fetch the metrics

func (CloudFrontPlugin) GraphDefinition

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

GraphDefinition of CloudFrontPlugin

func (CloudFrontPlugin) MetricKeyPrefix added in v0.38.0

func (p CloudFrontPlugin) MetricKeyPrefix() string

MetricKeyPrefix interface for PluginWithPrefix

Jump to

Keyboard shortcuts

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