initial commit
This commit is contained in:
8
collector/collector.go
Normal file
8
collector/collector.go
Normal file
@ -0,0 +1,8 @@
|
||||
package collector
|
||||
|
||||
import "github.com/prometheus/client_golang/prometheus"
|
||||
|
||||
// Collector defines the interface for collecting all metrics for Prometheus.
|
||||
type Collector interface {
|
||||
Collect(out chan<- prometheus.Metric) error
|
||||
}
|
Reference in New Issue
Block a user