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
Click to show internal directories.
Click to hide internal directories.