public static class MultiGauge.Builder extends Object
| Modifier and Type | Method and Description |
|---|---|
MultiGauge.Builder |
baseUnit(String unit) |
MultiGauge.Builder |
description(String description) |
MultiGauge |
register(MeterRegistry registry) |
MultiGauge.Builder |
tag(String key,
String value) |
MultiGauge.Builder |
tags(Iterable<Tag> tags) |
MultiGauge.Builder |
tags(String... tags) |
public MultiGauge.Builder tags(String... tags)
tags - Must be an even number of arguments representing key/value pairs of tags.public MultiGauge.Builder tags(Iterable<Tag> tags)
tags - Tags to add to the eventual gauge.public MultiGauge.Builder tag(String key, String value)
key - The tag key.value - The tag value.public MultiGauge.Builder description(@Nullable String description)
description - Description text of the eventual gauge.public MultiGauge.Builder baseUnit(@Nullable String unit)
unit - Base unit of the eventual gauge.public MultiGauge register(MeterRegistry registry)
Copyright © 2020 LeanCloud. All rights reserved.