Class MetricSnapshot.Builder<T extends MetricSnapshot.Builder<T>>
Object
Builder<T>
- Direct Known Subclasses:
CounterSnapshot.Builder
,GaugeSnapshot.Builder
,HistogramSnapshot.Builder
,InfoSnapshot.Builder
,StateSetSnapshot.Builder
,SummarySnapshot.Builder
,UnknownSnapshot.Builder
- Enclosing class:
- MetricSnapshot
public abstract static class MetricSnapshot.Builder<T extends MetricSnapshot.Builder<T>>
extends Object
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
The name is required. If the name is missing or invalid,build()
will throw anIllegalArgumentException
. SeePrometheusNaming.isValidMetricName(String)
for info on valid metric names. -
help
-
unit
-
build
-