public class WavefrontClientFactory extends Object
| Constructor and Description |
|---|
WavefrontClientFactory() |
| Modifier and Type | Method and Description |
|---|---|
WavefrontClientFactory |
addClient(String url)
Adds a new WavefrontSender that will either forward points to a proxy or directly to a Wavefront service.
|
WavefrontClientFactory |
addClient(String url,
Integer batchSize,
Integer maxQueueSize,
Integer flushIntervalSeconds,
Integer messageSizeInBytes)
Adds a new WavefrontSender that will either forward points to a proxy or directly to a Wavefront service.
|
WavefrontClientFactory |
addClient(WavefrontSender sender)
Adds an existing WavefrontSender that is configured to
forward points to a proxy or directly to a Wavefront service.
|
WavefrontSender |
getClient() |
public WavefrontClientFactory addClient(WavefrontSender sender)
sender - the sender to add to this factoryWavefrontClientFactory so that more clients may be initializedpublic WavefrontClientFactory addClient(String url)
url - The URL of either yourCluster or your.proxy.comWavefrontClientFactory so that more clients may be initializedpublic WavefrontClientFactory addClient(String url, @Nullable Integer batchSize, @Nullable Integer maxQueueSize, @Nullable Integer flushIntervalSeconds, @Nullable Integer messageSizeInBytes)
url - The URL of either yourCluster or your.proxy.combatchSize - The total metrics, histograms, spans, or span logs to send in a single flushmaxQueueSize - The total metrics, histograms, spans, or span logs to queue internally before dropping dataflushIntervalSeconds - How often to flush data upstreamWavefrontClientFactory so that more clients may be initializedpublic WavefrontSender getClient()
WavefrontClient or WavefrontMultiClientCopyright © 2020. All rights reserved.