diff --git a/metrics/reporter.go b/metrics/reporter.go index 7c342447..1b011d3e 100644 --- a/metrics/reporter.go +++ b/metrics/reporter.go @@ -1,3 +1,4 @@ +// Package metrics is for instrumentation and debugging package metrics import "time" @@ -5,7 +6,7 @@ import "time" // Tags is a map of fields to add to a metric: type Tags map[string]string -// Reporter is the standard metrics interface: +// Reporter is an interface for collecting and instrumenting metrics type Reporter interface { Count(id string, value int64, tags Tags) error Gauge(id string, value float64, tags Tags) error