object MetricBuilder
- Alphabetic
- By Inheritance
- MetricBuilder
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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
-
def
apply(keyIndicator: Boolean = false, description: String = "No description provided", units: MetricUnit = Unspecified, role: SourceRole = NoRoleSpecified, verbosity: Verbosity = Verbosity.Default, sourceClass: Option[String] = None, name: Seq[String] = Seq.empty, relativeName: Seq[String] = Seq.empty, processPath: Option[String] = None, percentiles: IndexedSeq[Double] = IndexedSeq.empty, isCounterishGauge: Boolean = false, statsReceiver: StatsReceiver): MetricBuilder
Construct a MethodBuilder.
Construct a MethodBuilder.
- keyIndicator
indicates whether this metric is crucial to this service (ie, an SLO metric)
- description
human-readable description of a metric's significance
- units
the unit associated with the metrics value (milliseconds, megabytes, requests, etc)
- role
whether the service is playing the part of client or server regarding this metric
- verbosity
see StatsReceiver for details
- sourceClass
the name of the class which generated this metric (ie, com.twitter.finagle.StatsFilter)
- name
the full metric name
- relativeName
the relative metric name which will be appended to the scope of the StatsReceiver prior to long term storage
- processPath
a universal coordinate for the resource
- percentiles
used to indicate buckets for histograms, to be set by the StatsReceiver
- isCounterishGauge
used to indicate that a gauge is being used to model something that acts like a counter
- statsReceiver
used for the actual metric creation, set by the StatsReceiver when creating a MetricBuilder
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()