Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type S3RequestsPlugin ¶
type S3RequestsPlugin struct { BucketName string FilterID string KeyPrefix string LabelPrefix string AccessKeyID string SecretAccessKey string Region string CloudWatch *cloudwatch.CloudWatch }
S3RequestsPlugin is mackerel plugin for aws s3 with metric configuration
func (S3RequestsPlugin) FetchMetrics ¶
func (p S3RequestsPlugin) FetchMetrics() (map[string]float64, error)
FetchMetrics fetch the metrics
func (S3RequestsPlugin) GraphDefinition ¶
func (p S3RequestsPlugin) GraphDefinition() map[string]mp.Graphs
GraphDefinition of S3RequestsPlugin
func (S3RequestsPlugin) MetricKeyPrefix ¶
func (p S3RequestsPlugin) MetricKeyPrefix() string
MetricKeyPrefix interface for PluginWithPrefix
func (S3RequestsPlugin) MetricLabelPrefix ¶
func (p S3RequestsPlugin) MetricLabelPrefix() string
MetricLabelPrefix ...
Click to show internal directories.
Click to hide internal directories.