Package io.micrometer.core.instrument
Class MultiGauge.Builder
java.lang.Object
io.micrometer.core.instrument.MultiGauge.Builder
- Enclosing class:
- MultiGauge
Fluent builder for multi-gauges.
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description)
register(MeterRegistry registry)
-
Method Details
-
tags
- Parameters:
tags
- Must be an even number of arguments representing key/value pairs of tags.- Returns:
- The gauge builder with added tags.
-
tags
- Parameters:
tags
- Tags to add to the eventual gauge.- Returns:
- The gauge builder with added tags.
-
tag
- Parameters:
key
- The tag key.value
- The tag value.- Returns:
- The gauge builder with a single added tag.
-
description
- Parameters:
description
- Description text of the eventual gauge.- Returns:
- The gauge builder with added description.
-
baseUnit
- Parameters:
unit
- Base unit of the eventual gauge.- Returns:
- The gauge builder with added base unit.
-
register
-