trait MongoMetrics extends MetricsBuilder with BaseBuilder
Builds timers and histograms to record metrics. This class uses either the MetricsBuilder specified by MongoSettings.MongoMetricsBuilderClass or if none is specified DropwizardMetrics will be used.
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- MongoMetrics
- BaseBuilder
- MetricsBuilder
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Abstract Value Members
- abstract def driver: MongoPersistenceDriver
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def histogram(name: String): MongoHistogram
Builds a histogram with the given name appended to BaseBuilder.metricBaseName
Builds a histogram with the given name appended to BaseBuilder.metricBaseName
- name
The name of the histogram. It will get appended to BaseBuilder.metricBaseName
- returns
the histogram.
- Definition Classes
- MongoMetrics → MetricsBuilder
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- lazy val metricBaseName: MetricName
- Definition Classes
- BaseBuilder
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def timer(name: String): MongoTimer
Builds a timer with the given name appended to BaseBuilder.metricBaseName
Builds a timer with the given name appended to BaseBuilder.metricBaseName
- name
The name of the timer. It will get appended to BaseBuilder.metricBaseName
- returns
the timer.
- Definition Classes
- MongoMetrics → MetricsBuilder
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)