Describe returns all descriptions of the collector.
(ch chan<- *Desc)
| 67 | |
| 68 | // Describe returns all descriptions of the collector. |
| 69 | func (c *goCollector) Describe(ch chan<- *Desc) { |
| 70 | c.base.Describe(ch) |
| 71 | for _, i := range c.msMetrics { |
| 72 | ch <- i.desc |
| 73 | } |
| 74 | } |
| 75 | |
| 76 | // Collect returns the current state of all metrics of the collector. |
| 77 | func (c *goCollector) Collect(ch chan<- Metric) { |