ebs

package
v0.0.0-...-c59b76b Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2021 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 EBSExporter

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

EBSExporter is a struct that holds an instance of EC2 client and the job details required to scrape EBS metrics

func New

func New(j *config.Job, log *logrus.Logger, m *metrics.Set, rc *aws.Config, sess *session.Session) *EBSExporter

New returns a new instance of EBSExporter

func (*EBSExporter) Collect

func (e *EBSExporter) Collect() error

Collect calls methods to collect metrics from AWS

Jump to

Keyboard shortcuts

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