blob: bb31e30a49d943960707d4201debc4548758d0ca (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
package kamon.metric.instrument
import kamon.metric.Entity
import kamon.util.MeasurementUnit
trait Gauge {
def measurementUnit: MeasurementUnit
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 = ???
}
|