Collector is the interface a collector has to implement.
| 99 | |
| 100 | // Collector is the interface a collector has to implement. |
| 101 | type Collector interface { |
| 102 | // Get new metrics and expose them via prometheus Registry. |
| 103 | Update(ch chan<- prometheus.Metric) error |
| 104 | } |
| 105 | |
| 106 | type typedDesc struct { |
| 107 | desc *prometheus.Desc |
no outgoing calls
no test coverage detected