Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New( usageLister azureusageprom.AzureUsageLister, queryTarget azureusageprom.QueryTarget, ) prometheus.Collector
New creates a prometheus collector.
Types ¶
type PrometheusCollector ¶
type PrometheusCollector struct {
// contains filtered or unexported fields
}
PrometheusCollector implements the prometheus collector.
func (*PrometheusCollector) Collect ¶
func (p *PrometheusCollector) Collect(ch chan<- prometheus.Metric)
Collect - implements prometheus.Collector.
func (*PrometheusCollector) Describe ¶
func (p *PrometheusCollector) Describe(ch chan<- *prometheus.Desc)
Describe - implements prometheus.Describe.
Click to show internal directories.
Click to hide internal directories.