DeprecatedMetricBuilder

nl.grons.metrics4.scala.DeprecatedMetricBuilder

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
Self type

Members list

Value members

Deprecated methods

def cachedGauge[A](name: String, timeout: FiniteDuration, scope: String)(f: => A): Gauge[A]

Registers a new gauge metric that caches its value for a given duration.

Registers a new gauge metric that caches its value for a given duration.

Value parameters

name

the name of the gauge

scope

(deprecated) the scope of the gauge or null for no scope

timeout

the timeout

Attributes

Deprecated
true
def counter(name: String, scope: String): Counter

Creates a new counter metric.

Creates a new counter metric.

Value parameters

name

the name of the counter

scope

(deprecated) the scope of the counter or null for no scope

Attributes

Deprecated
true
def gauge[A](name: String, scope: String)(f: => A): Gauge[A]

Registers a new gauge metric.

Registers a new gauge metric.

Value parameters

name

the name of the gauge

scope

(deprecated) the scope of the gauge or null for no scope

Attributes

Deprecated
true
def histogram(name: String, scope: String): Histogram

Creates a new histogram metric.

Creates a new histogram metric.

Value parameters

name

the name of the histogram

scope

(deprecated) the scope of the histogram or null for no scope

Attributes

Deprecated
true
def meter(name: String, scope: String): Meter

Creates a new meter metric.

Creates a new meter metric.

Value parameters

name

the name of the meter

scope

(deprecated) the scope of the meter or null for no scope

Attributes

Deprecated
true
protected def metricNameFor(name: String, scope: String): String

Attributes

Deprecated
true
def timer(name: String, scope: String): Timer

Creates a new timer metric.

Creates a new timer metric.

Value parameters

name

the name of the timer

scope

(deprecated) the scope of the timer or null for no scope

Attributes

Deprecated
true