aboutsummaryrefslogtreecommitdiff
path: root/kamon-core/src/main/scala/kamon/metric/instrument/Gauge.scala
blob: 43c71206084b4691ffa7fb126e0a85a3d0da16ac (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package kamon.metric.instrument

import kamon.metric.Entity

trait Gauge {
  def increment(): Unit
  def increment(times: Long): Unit
  def decrement(): Unit
  def decrement(times: Long): Unit
  def set(value: Long): Unit
}

object Gauge {
  def apply(entity: Entity, name: String): Gauge = ???
}