Permalink
Browse files

metrics: remove aggregate and event types

pmdammv doesn't support them, see #4
  • Loading branch information...
1 parent c06d000 commit e651b04fba46669b61a2f0e6e576d1bc37083893 @suyash suyash committed Jul 12, 2016
Showing with 9 additions and 13 deletions.
  1. +9 −13 metrics.go
View
@@ -14,19 +14,15 @@ type MetricType int32
// Possible values for a MetricType
const (
- NoSupportType MetricType = -1
- Int32Type MetricType = 0
- Uint32Type MetricType = 1
- Int64Type MetricType = 2
- Uint64Type MetricType = 3
- FloatType MetricType = 4
- DoubleType MetricType = 5
- StringType MetricType = 6
- AggregateType MetricType = 7
- AggregateStaticType MetricType = 8
- EventType MetricType = 9
- HighresEventType MetricType = 10
- UnknownType MetricType = 255
+ NoSupportType MetricType = iota - 1
+ Int32Type
+ Uint32Type
+ Int64Type
+ Uint64Type
+ FloatType
+ DoubleType
+ StringType
+ UnknownType MetricType = 255
)
//go:generate stringer -type=MetricType

0 comments on commit e651b04

Please sign in to comment.