metrics

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2016 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package metrics fetches CloudWatch metrics for a function.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Metric

type Metric struct {
	Name  string
	Value []*cloudwatch.Datapoint
}

Metric represents a CloudWatch metric with a given name and value.

type MetricCollector

type MetricCollector struct {
	Metrics      []string
	Collected    int
	FunctionName string
	Service      cloudwatchiface.CloudWatchAPI
	StartDate    time.Time
	EndDate      time.Time
}

MetricCollector a wrapper all metrics for a specific function.

func (*MetricCollector) Collect

func (mc *MetricCollector) Collect() <-chan Metric

Collect builds the collector pipeline

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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