Permalink
Browse files

metrics: add Val and Set to Counter interface

  • Loading branch information...
1 parent ff64978 commit 8e9421dc888df61adf51f36203df67728278eb9e @suyash suyash committed Aug 3, 2016
Showing with 3 additions and 0 deletions.
  1. +3 −0 metrics.go
View
@@ -291,6 +291,9 @@ type PCPMetric interface {
type Counter interface {
Metric
+ Val() int64
+ Set(int64) error
+
Inc(int64) error
MustInc(int64)

0 comments on commit 8e9421d

Please sign in to comment.