Gather calls the Collect method of the registered Collectors and then gathers the collected metrics into a lexicographically sorted slice of uniquely named MetricFamily protobufs. Gather ensures that the returned slice is valid and self-consistent so that it can be used for valid exposition. As an e
()
| 158 | // expose an incomplete result and instead disregard the returned |
| 159 | // MetricFamily protobufs in case the returned error is non-nil. |
| 160 | Gather() ([]*dto.MetricFamily, error) |
| 161 | } |
| 162 | |
| 163 | // Register registers the provided Collector with the DefaultRegisterer. |
no outgoing calls