public class WavefrontClientFactory
extends java.lang.Object
WavefrontClientFactory class.
| Constructor and Description |
|---|
WavefrontClientFactory() |
| Modifier and Type | Method and Description |
|---|---|
WavefrontClientFactory |
addClient(java.lang.String url)
Adds a new WavefrontSender that will either forward points to a proxy or directly to a Wavefront service.
|
WavefrontClientFactory |
addClient(java.lang.String url,
java.lang.Integer batchSize,
java.lang.Integer maxQueueSize,
java.lang.Integer flushIntervalSeconds,
java.lang.Integer messageSizeInBytes)
Adds a new WavefrontSender that will either forward points to a proxy or directly to a Wavefront service.
|
WavefrontClientFactory |
addClient(java.lang.String url,
java.lang.Integer batchSize,
java.lang.Integer maxQueueSize,
java.lang.Integer flushIntervalSeconds,
java.lang.Integer messageSizeInBytes,
boolean includeSdkMetrics)
Adds a new WavefrontSender that will either forward points to a proxy or directly to a Wavefront service.
|
WavefrontClientFactory |
addClient(java.lang.String url,
java.lang.Integer batchSize,
java.lang.Integer maxQueueSize,
java.lang.Integer flushIntervalSeconds,
java.lang.Integer messageSizeInBytes,
boolean includeSdkMetrics,
java.util.Map<java.lang.String,java.lang.String> sdkMetricTags)
Adds a new WavefrontSender that will either forward points to a proxy or directly to a Wavefront service.
|
WavefrontClientFactory |
addClient(java.lang.String url,
java.lang.Integer batchSize,
java.lang.Integer maxQueueSize,
java.lang.Integer flushInterval,
java.util.concurrent.TimeUnit flushIntervalTimeUnit,
java.lang.Integer messageSizeInBytes,
boolean includeSdkMetrics,
java.util.Map<java.lang.String,java.lang.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()
getClient.
|
public WavefrontClientFactory addClient(WavefrontSender sender)
sender - the sender to add to this factoryWavefrontClientFactory objectpublic WavefrontClientFactory addClient(java.lang.String url)
url - The URL of either yourCluster or your.proxy.comWavefrontClientFactory objectpublic WavefrontClientFactory addClient(java.lang.String url, @Nullable java.lang.Integer batchSize, @Nullable java.lang.Integer maxQueueSize, @Nullable java.lang.Integer flushIntervalSeconds, @Nullable java.lang.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 upstreammessageSizeInBytes - a Integer objectWavefrontClientFactory objectpublic WavefrontClientFactory addClient(java.lang.String url, @Nullable java.lang.Integer batchSize, @Nullable java.lang.Integer maxQueueSize, @Nullable java.lang.Integer flushIntervalSeconds, @Nullable java.lang.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 MetricsmessageSizeInBytes - a Integer objectWavefrontClientFactory objectpublic WavefrontClientFactory addClient(java.lang.String url, @Nullable java.lang.Integer batchSize, @Nullable java.lang.Integer maxQueueSize, @Nullable java.lang.Integer flushIntervalSeconds, @Nullable java.lang.Integer messageSizeInBytes, boolean includeSdkMetrics, @Nullable java.util.Map<java.lang.String,java.lang.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 includedmessageSizeInBytes - a Integer objectWavefrontClientFactory objectpublic WavefrontClientFactory addClient(java.lang.String url, @Nullable java.lang.Integer batchSize, @Nullable java.lang.Integer maxQueueSize, @Nullable java.lang.Integer flushInterval, @Nullable java.util.concurrent.TimeUnit flushIntervalTimeUnit, @Nullable java.lang.Integer messageSizeInBytes, boolean includeSdkMetrics, @Nullable java.util.Map<java.lang.String,java.lang.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 includedmessageSizeInBytes - a Integer objectWavefrontClientFactory so that more clients may be initializedpublic WavefrontSender getClient()
getClient.
WavefrontClient or WavefrontMultiClientCopyright © 2023. All rights reserved.