Cleanup metric type docs (#9244)

This commit is contained in:
Thomas Casteleyn 2021-05-20 22:34:07 +02:00 committed by GitHub
parent 8c73370e50
commit 468e7e1650
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -57,9 +57,7 @@ type Metric interface {
Time() time.Time
// Type returns a general type for the entire metric that describes how you
// might interpret, aggregate the values.
//
// This method may be removed in the future and its use is discouraged.
// might interpret, aggregate the values. Used by prometheus and statsd.
Type() ValueType
// SetName sets the metric name.