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 = ??? }