Update reporter.go

This commit is contained in:
Asim Aslam 2020-08-18 08:29:26 +01:00 committed by GitHub
parent da4159513e
commit 09fdd3c121
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,7 @@ type Tags map[string]string
// Reporter is the standard metrics interface:
type Reporter interface {
Count(metricName string, value int64, tags Tags) error
Gauge(metricName string, value float64, tags Tags) error
Timing(metricName string, value time.Duration, tags Tags) error
Count(id string, value int64, tags Tags) error
Gauge(id string, value float64, tags Tags) error
Timing(id string, value time.Duration, tags Tags) error
}