metrics

package
v0.0.0-...-1289288 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2018 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Disk

type Disk struct{}

Disk metric entity

func (Disk) Collect

func (d Disk) Collect(instanceID string, c CloudWatchService, namespace string)

Collect Disk used & free space

type Docker

type Docker struct{}

Docker metric entity

func (Docker) Collect

func (d Docker) Collect(instanceID string, c CloudWatchService, namespace string)

Collect CPU & Memory usage per Docker Container

type Memory

type Memory struct{}

Memory metric entity

func (Memory) Collect

func (m Memory) Collect(instanceID string, c CloudWatchService, namespace string)

Collect Memory utilization

type Metric

type Metric interface {
	Collect(string, CloudWatchService, string)
}

Metric entity

type Network

type Network struct{}

Network metric entity

func (Network) Collect

func (n Network) Collect(instanceID string, c CloudWatchService, namespace string)

Collect Network Traffic metrics

type Swap

type Swap struct{}

Swap metric entity

func (Swap) Collect

func (d Swap) Collect(instanceID string, c CloudWatchService, namespace string)

Collect Swap usage

Jump to

Keyboard shortcuts

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