Package io.micrometer.wavefront
Class WavefrontMeterRegistry.Builder
java.lang.Object
io.micrometer.wavefront.WavefrontMeterRegistry.Builder
- Enclosing class:
- WavefrontMeterRegistry
public static class WavefrontMeterRegistry.Builder
extends java.lang.Object
-
Method Summary
Modifier and Type Method Description WavefrontMeterRegistrybuild()WavefrontMeterRegistry.Builderclock(io.micrometer.core.instrument.Clock clock)WavefrontMeterRegistry.BuilderhttpClient(io.micrometer.core.ipc.http.HttpSender httpClient)Deprecated.since 1.5.0 this call no-longer affects the transport used to send metrics to Wavefront.WavefrontMeterRegistry.BuilderthreadFactory(java.util.concurrent.ThreadFactory threadFactory)WavefrontMeterRegistry.BuilderwavefrontSender(com.wavefront.sdk.common.WavefrontSender wavefrontSender)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
clock
-
threadFactory
public WavefrontMeterRegistry.Builder threadFactory(java.util.concurrent.ThreadFactory threadFactory) -
httpClient
@Deprecated public WavefrontMeterRegistry.Builder httpClient(io.micrometer.core.ipc.http.HttpSender httpClient)Deprecated.since 1.5.0 this call no-longer affects the transport used to send metrics to Wavefront. UsewavefrontSender(WavefrontSender)to supply your own transport (whether proxy or direct ingestion).Set an HTTP client to use.- Parameters:
httpClient- HTTP client to use- Returns:
- builder
-
wavefrontSender
public WavefrontMeterRegistry.Builder wavefrontSender(com.wavefront.sdk.common.WavefrontSender wavefrontSender)- Parameters:
wavefrontSender- wavefront sender to be used- Returns:
- builder
- Since:
- 1.5.0
-
build
-