java.lang.Object
io.prometheus.metrics.core.metrics.Metric.Builder<B,M>
io.prometheus.metrics.core.metrics.MetricWithFixedMetadata.Builder<B,M>
io.prometheus.metrics.core.metrics.Gauge.Builder
- Enclosing class:
- Gauge
-
Field Summary
FieldsFields inherited from class io.prometheus.metrics.core.metrics.MetricWithFixedMetadata.Builder
nameFields inherited from class io.prometheus.metrics.core.metrics.Metric.Builder
constLabels, illegalLabelNames, properties -
Method Summary
Modifier and TypeMethodDescriptionbuild()io.prometheus.metrics.config.MetricsPropertiesOverride if there are more properties than just exemplars enabled.protected Gauge.Builderself()protected io.prometheus.metrics.config.MetricsPropertiesOverride if there are more properties than just exemplars enabled.Allow Exemplars for this metric.Turn off Exemplars for this metric.Methods inherited from class io.prometheus.metrics.core.metrics.MetricWithFixedMetadata.Builder
constLabels, help, labelNames, name, unitMethods inherited from class io.prometheus.metrics.core.metrics.Metric.Builder
register, register
-
Field Details
-
exemplarsEnabled
-
-
Method Details
-
build
- Specified by:
buildin classMetricWithFixedMetadata.Builder<Gauge.Builder,Gauge>
-
self
- Specified by:
selfin classMetricWithFixedMetadata.Builder<Gauge.Builder,Gauge>
-
withExemplars
Allow Exemplars for this metric. -
withoutExemplars
Turn off Exemplars for this metric. -
toProperties
protected io.prometheus.metrics.config.MetricsProperties toProperties()Override if there are more properties than just exemplars enabled. -
getDefaultProperties
public io.prometheus.metrics.config.MetricsProperties getDefaultProperties()Override if there are more properties than just exemplars enabled.
-