Package | Description |
---|---|
io.micrometer.core.instrument |
Copyright 2017 Pivotal Software, Inc.
|
Modifier and Type | Method and Description |
---|---|
Gauge.Builder<T> |
Gauge.Builder.baseUnit(String unit) |
static Gauge.Builder<Supplier<Number>> |
Gauge.builder(String name,
Supplier<Number> f)
A convenience method for building a gauge from a supplying function, holding a strong
reference to this function.
|
static <T> Gauge.Builder<T> |
Gauge.builder(String name,
T obj,
ToDoubleFunction<T> f) |
Gauge.Builder<T> |
Gauge.Builder.description(String description) |
Gauge.Builder<T> |
Gauge.Builder.strongReference(boolean strong)
Indicates that the gauge should maintain a strong reference on the object upon which
its instantaneous value is determined.
|
Gauge.Builder<T> |
Gauge.Builder.synthetic(Meter.Id syntheticAssociation)
For internal use.
|
Gauge.Builder<T> |
Gauge.Builder.tag(String key,
String value) |
Gauge.Builder<T> |
Gauge.Builder.tags(Iterable<Tag> tags) |
Gauge.Builder<T> |
Gauge.Builder.tags(String... tags) |
Copyright © 2018. All rights reserved.