Package com.wavefront.agent.data
Interface GlobalProperties
-
- All Known Implementing Classes:
GlobalPropertiesImpl
public interface GlobalProperties
Unified interface for non-entity specific dynamic properties, that may change at runtime.- Author:
- [email protected]
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<com.wavefront.api.agent.SpanSamplingPolicy>
getActiveSpanSamplingPolicies()
Get active span sampling policies for policy based sampling.Integer
getDropSpansDelayedMinutes()
Get the maximum acceptable duration between now and the end of a span to be accepted for reporting to Wavefront, beyond which they are dropped.short
getHistogramStorageAccuracy()
Get histogram storage accuracy, as specified by the back-end.double
getRetryBackoffBaseSeconds()
Get base in seconds for retry thread exponential backoff.double
getTraceSamplingRate()
Get the sampling rate for tracing spans.void
setActiveSpanSamplingPolicies(List<com.wavefront.api.agent.SpanSamplingPolicy> activeSpanSamplingPolicies)
Set active span sampling policies for policy based sampling.void
setDropSpansDelayedMinutes(Integer dropSpansDelayedMinutes)
Set the maximum acceptable duration between now and the end of a span to be accepted for reporting to Wavefront, beyond which they are dropped.void
setHistogramStorageAccuracy(short histogramStorageAccuracy)
Sets histogram storage accuracy.void
setRetryBackoffBaseSeconds(Double retryBackoffBaseSeconds)
Sets base in seconds for retry thread exponential backoff.void
setTraceSamplingRate(Double traceSamplingRate)
Sets the sampling rate for tracing spans.
-
-
-
Method Detail
-
getRetryBackoffBaseSeconds
double getRetryBackoffBaseSeconds()
Get base in seconds for retry thread exponential backoff.- Returns:
- exponential backoff base value
-
setRetryBackoffBaseSeconds
void setRetryBackoffBaseSeconds(@Nullable Double retryBackoffBaseSeconds)
Sets base in seconds for retry thread exponential backoff.- Parameters:
retryBackoffBaseSeconds
- new value for exponential backoff base value. if null is provided, reverts to originally configured value.
-
getHistogramStorageAccuracy
short getHistogramStorageAccuracy()
Get histogram storage accuracy, as specified by the back-end.- Returns:
- histogram storage accuracy
-
setHistogramStorageAccuracy
void setHistogramStorageAccuracy(short histogramStorageAccuracy)
Sets histogram storage accuracy.- Parameters:
histogramStorageAccuracy
- storage accuracy
-
getTraceSamplingRate
double getTraceSamplingRate()
Get the sampling rate for tracing spans.- Returns:
- sampling rate for tracing spans.
-
setTraceSamplingRate
void setTraceSamplingRate(@Nullable Double traceSamplingRate)
Sets the sampling rate for tracing spans.- Parameters:
traceSamplingRate
- sampling rate for tracing spans
-
getDropSpansDelayedMinutes
@Nullable Integer getDropSpansDelayedMinutes()
Get the maximum acceptable duration between now and the end of a span to be accepted for reporting to Wavefront, beyond which they are dropped.- Returns:
- delay threshold for dropping spans in minutes.
-
setDropSpansDelayedMinutes
void setDropSpansDelayedMinutes(@Nullable Integer dropSpansDelayedMinutes)
Set the maximum acceptable duration between now and the end of a span to be accepted for reporting to Wavefront, beyond which they are dropped.- Parameters:
dropSpansDelayedMinutes
- delay threshold for dropping spans in minutes.
-
getActiveSpanSamplingPolicies
@Nullable List<com.wavefront.api.agent.SpanSamplingPolicy> getActiveSpanSamplingPolicies()
Get active span sampling policies for policy based sampling.- Returns:
- list of span sampling policies.
-
-