collector

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRINormalizedUnitCollector

func NewRINormalizedUnitCollector(aws aws.Cloud, normalizedUnitConverter nu.Converter, logger log.Logger) *riNormalizedUnitCollector

Types

type Collector

type Collector interface {
	// Get new metrics and expose them via prometheus registry.
	Update(context.Context, chan<- prometheus.Metric) error
}

Collector is the interface a collector has to implement.

func NewRDSCollector

func NewRDSCollector(aws aws.Cloud, nuConverter nu.Converter, logger log.Logger) Collector

Jump to

Keyboard shortcuts

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