Publish all descriptions through Describe().

This commit is contained in:
Ed Schouten 2017-01-09 10:14:08 +01:00
parent e42e8700d0
commit 1da4c902c9
1 changed files with 3 additions and 0 deletions

View File

@ -339,6 +339,9 @@ func NewUnboundExporter(host string, ca string, cert string, key string) (*Unbou
func (e *UnboundExporter) Describe(ch chan<- *prometheus.Desc) {
ch <- unboundUpDesc
for _, metric := range unboundMetrics {
ch <- metric.desc
}
}
func (e *UnboundExporter) Collect(ch chan<- prometheus.Metric) {