| Modifier and Type | Class and Description |
|---|---|
static class |
WavefrontSdkMetricsRegistry.Builder |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
WavefrontSdkCounter |
newCounter(String name)
Returns the counter registered under the given name.
|
<T> WavefrontSdkGauge<T> |
newGauge(String name,
java.util.function.Supplier<T> supplier)
Returns the gauge registered under the given name.
|
void |
run() |
public void close()
close in interface Closeableclose in interface AutoCloseablepublic <T> WavefrontSdkGauge<T> newGauge(String name, java.util.function.Supplier<T> supplier)
T - The type of the value returned by the gauge.name - The metric name.supplier - The supplier used to supply the value of the gauge.public WavefrontSdkCounter newCounter(String name)
name - The metric name.Copyright © 2019. All rights reserved.