Documentation ¶
Index ¶
Constants ¶
View Source
const (
CollectorName = "instances-collector"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collector ¶
type Collector struct { Projects []string `long:"project" description:"Count instances that belong to selected project"` Zones []string `long:"zone" description:"Count instances that belong to selected zone"` MatchTags []string `long:"match-tag" description:"Count instances that are matching selected tag"` // contains filtered or unexported fields }
func NewCollector ¶
func NewCollector() *Collector
func (*Collector) Collect ¶
func (ic *Collector) Collect(ch chan<- prometheus.Metric)
func (*Collector) Describe ¶
func (ic *Collector) Describe(ch chan<- *prometheus.Desc)
Click to show internal directories.
Click to hide internal directories.