- Companion:
- object
- Source:
- SummaryDsl.scala
Value members
Inherited methods
Builds the metric
Builds the metric
- Definition Classes
- MetricDsl -> BuildStep
- Inherited from:
- MetricDsl
- Source:
- package.scala
Sets the first label of the metric. Requires either a Show
instance for the label type, or a method converting
the label value to a String
.
Sets the first label of the metric. Requires either a Show
instance for the label type, or a method converting
the label value to a String
.
- Inherited from:
- MetricDsl
- Source:
- package.scala
Creates a metric whose label sizes are checked at compile time. Takes a sized collection of label name and a
function converting some label object B
to a sized collection of strings.
Creates a metric whose label sizes are checked at compile time. Takes a sized collection of label name and a
function converting some label object B
to a sized collection of strings.
This is useful where a single type B
translates to multiple labels. Once invoked, this cannot be used with the
singular .label
syntax.
- Type parameters:
- B
type to convert into labels
- N
size of the label collection
- Value parameters:
- f
function to convert
B
in to a sized collection of label values- labelNames
sized collection of labels names
- Inherited from:
- MetricDsl
- Source:
- package.scala
Unsafely builds the metric, but does not deallocate
Unsafely builds the metric, but does not deallocate
- Inherited from:
- BuildStep (hidden)
- Source:
- package.scala
Creates a metric whose labels aren't checked at compile time. Provides a builder for a labelled metric that takes a map of label names to their values.
Creates a metric whose labels aren't checked at compile time. Provides a builder for a labelled metric that takes a map of label names to their values.
This should be used when the labels are not known at compile time and potentially come from some source at runtime.
- Value parameters:
- labelNames
glob of names of the labels
- Inherited from:
- MetricDsl
- Source:
- package.scala
Creates a metric whose labels aren't checked at compile time. Provides a builder for a labelled metric that takes a map of label names to their values.
Creates a metric whose labels aren't checked at compile time. Provides a builder for a labelled metric that takes a map of label names to their values.
This should be used when the labels are not known at compile time and potentially come from some source at runtime.
- Value parameters:
- labelNames
names of the labels
- Inherited from:
- MetricDsl
- Source:
- package.scala