Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GCP ¶
type GCP struct {
// contains filtered or unexported fields
}
func New ¶
New is responsible for parsing out a configuration file and setting up the associated services that could be required. We instantiate services to avoid repeating common services that may be shared across many collectors. In the future we can push collector specific services further down.
func (*GCP) Collect ¶
func (g *GCP) Collect(ch chan<- prometheus.Metric)
Collect implements the prometheus.Collector interface and will iterate over all the collectors instantiated during New and collect their metrics.
func (*GCP) Describe ¶
func (g *GCP) Describe(ch chan<- *prometheus.Desc)
Describe implements the prometheus.Collector interface and will iterate over all the collectors instantiated during New and describe their metrics.
Click to show internal directories.
Click to hide internal directories.