initial commit

This commit is contained in:
louis
2015-12-11 15:22:25 +01:00
commit 37b0428070
10 changed files with 651 additions and 0 deletions

8
collector/collector.go Normal file
View 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
}