aws

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWS

type AWS struct {
	Config *Config
	// contains filtered or unexported fields
}

func New

func New(config *Config) (*AWS, error)

func (*AWS) Collect

func (a *AWS) Collect(ch chan<- prometheus.Metric)

func (*AWS) Describe

func (a *AWS) Describe(ch chan<- *prometheus.Desc)

func (*AWS) RegisterCollectors

func (a *AWS) RegisterCollectors(registry provider.Registry) error

type Config

type Config struct {
	Services       []string
	Region         string
	Profile        string
	ScrapeInterval time.Duration
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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