Publish all descriptions through Describe().
This commit is contained in:
parent
e42e8700d0
commit
1da4c902c9
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue