cloudwatch

package
v1.1.6 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudWatch

type CloudWatch struct {
	// contains filtered or unexported fields
}

func New

func New(duration int, queriesStr string, timeout int) (CloudWatch, error)

func (*CloudWatch) GetMetricValues

func (c *CloudWatch) GetMetricValues(now time.Time) ([]float64, error)

func (CloudWatch) LatestValue

func (c CloudWatch) LatestValue() (metricName string, value float64, timestamp time.Time)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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