public interface WavefrontConfig
extends io.micrometer.core.instrument.step.StepRegistryConfig
WavefrontMeterRegistry.| Modifier and Type | Field and Description |
|---|---|
static WavefrontConfig |
DEFAULT_DIRECT
Publishes directly to the Wavefront API, not passing through a sidecar.
|
static WavefrontConfig |
DEFAULT_PROXY
Publishes to a wavefront sidecar running out of process.
|
| Modifier and Type | Method and Description |
|---|---|
default java.lang.String |
apiToken()
Required when publishing directly to the Wavefront API host, otherwise does nothing.
|
default java.lang.String |
globalPrefix()
Wavefront metrics are grouped hierarchically by name in the UI.
|
default java.lang.String |
prefix() |
default java.lang.String |
source() |
default java.time.Duration |
step() |
default java.lang.String |
uri() |
static final WavefrontConfig DEFAULT_PROXY
static final WavefrontConfig DEFAULT_DIRECT
default java.time.Duration step()
step in interface io.micrometer.core.instrument.step.StepRegistryConfigdefault java.lang.String prefix()
prefix in interface io.micrometer.core.instrument.config.MeterRegistryConfigdefault java.lang.String uri()
If publishing metrics to a Wavefront proxy (as described in https://docs.wavefront.com/proxies_installing.html), the host must be in the proxy://HOST:PORT format.
default java.lang.String source()
@Nullable default java.lang.String apiToken()
@Nullable default java.lang.String globalPrefix()