Update reporter.go
This commit is contained in:
parent
da4159513e
commit
09fdd3c121
@ -7,7 +7,7 @@ type Tags map[string]string
|
|||||||
|
|
||||||
// Reporter is the standard metrics interface:
|
// Reporter is the standard metrics interface:
|
||||||
type Reporter interface {
|
type Reporter interface {
|
||||||
Count(metricName string, value int64, tags Tags) error
|
Count(id string, value int64, tags Tags) error
|
||||||
Gauge(metricName string, value float64, tags Tags) error
|
Gauge(id string, value float64, tags Tags) error
|
||||||
Timing(metricName string, value time.Duration, tags Tags) error
|
Timing(id string, value time.Duration, tags Tags) error
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user