From 7a6669d19904a81c1265f1de51afd29d49aa89f5 Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Tue, 18 Aug 2020 08:30:29 +0100 Subject: [PATCH] Update reporter.go --- metrics/reporter.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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