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(String url,
Integer batchSize,
Integer maxQueueSize,
Integer flushIntervalSeconds,
Integer messageSizeInBytes,
boolean includeSdkMetrics)
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,
boolean includeSdkMetrics,
Map<String,String> sdkMetricTags)
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 flushInterval,
TimeUnit flushIntervalTimeUnit,
Integer messageSizeInBytes,
boolean includeSdkMetrics,
Map<String,String> sdkMetricTags)
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 WavefrontClientFactory addClient(String url, @Nullable Integer batchSize, @Nullable Integer maxQueueSize, @Nullable Integer flushIntervalSeconds, @Nullable Integer messageSizeInBytes, boolean includeSdkMetrics)
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 upstreamincludeSdkMetrics - Whether or not to include the internal SDK MetricsWavefrontClientFactory so that more clients may be initializedpublic WavefrontClientFactory addClient(String url, @Nullable Integer batchSize, @Nullable Integer maxQueueSize, @Nullable Integer flushIntervalSeconds, @Nullable Integer messageSizeInBytes, boolean includeSdkMetrics, @Nullable Map<String,String> sdkMetricTags)
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 upstreamincludeSdkMetrics - Whether or not to include the internal SDK MetricssdkMetricTags - a map of tags to include on the internal sdk metrics if includedWavefrontClientFactory so that more clients may be initializedpublic WavefrontClientFactory addClient(String url, @Nullable Integer batchSize, @Nullable Integer maxQueueSize, @Nullable Integer flushInterval, @Nullable TimeUnit flushIntervalTimeUnit, @Nullable Integer messageSizeInBytes, boolean includeSdkMetrics, @Nullable Map<String,String> sdkMetricTags)
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 dataflushInterval - How often to flush data upstreamflushIntervalTimeUnit - Time unit of the flush intervalincludeSdkMetrics - Whether or not to include the internal SDK MetricssdkMetricTags - a map of tags to include on the internal sdk metrics if includedWavefrontClientFactory so that more clients may be initializedpublic WavefrontSender getClient()
WavefrontClient or WavefrontMultiClientCopyright © 2020. All rights reserved.