abstract
class
InstrumentGroup extends AnyRef
Instance Constructors
-
new
InstrumentGroup(commonTags: TagSet)
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
val
commonTags: TagSet
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
register[Inst <: Instrument[Inst, Sett], Sett <: Settings](metric: Metric[Inst, Sett], extraTags: TagSet): Inst
-
def
register[Inst <: Instrument[Inst, Sett], Sett <: Settings](metric: Metric[Inst, Sett], key: String, value: Boolean): Inst
-
def
register[Inst <: Instrument[Inst, Sett], Sett <: Settings](metric: Metric[Inst, Sett], key: String, value: Long): Inst
-
def
register[Inst <: Instrument[Inst, Sett], Sett <: Settings](metric: Metric[Inst, Sett], key: String, value: String): Inst
-
def
register[Inst <: Instrument[Inst, Sett], Sett <: Settings](metric: Metric[Inst, Sett]): Inst
-
def
remove(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from AnyRef
Inherited from Any
Utility class for handling groups of instruments that should be created and removed together. This becomes specially handy when using several instruments to track different aspects of the same component. For example, when tracking metrics on a thread pool you will want to request several instruments to track different aspects: the pool size, the number of submitted tasks, the queue size and so on, and all of those instruments should share common tags that are specific to the instrumented thread pool; additionally, once said thread pool is shutdown, all of those instruments should be removed together. This class makes it simpler to keep track of all of those related instruments and remove them together when necessary.