Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collector ¶
type Collector struct {
// contains filtered or unexported fields
}
Collector is a prometheus.Collector that retrieves metrics for a Snowflake account.
func NewCollector ¶
NewCollector creates a new collector from a given config. The config is assumed to be valid.
func (*Collector) Collect ¶
func (c *Collector) Collect(metrics chan<- prometheus.Metric)
Collect collects all metrics for this collector, and emits them through the provided channel. It implements prometheus.Collector.
func (*Collector) Describe ¶
func (c *Collector) Describe(descs chan<- *prometheus.Desc)
Describe returns all metric descriptions of the collector by emitting them down the provided channel. It implements prometheus.Collector.
Click to show internal directories.
Click to hide internal directories.