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 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.
      • setActiveSpanSamplingPolicies

        void setActiveSpanSamplingPolicies​(@Nullable
                                           List<com.wavefront.api.agent.SpanSamplingPolicy> activeSpanSamplingPolicies)
        Set active span sampling policies for policy based sampling.
        Parameters:
        activeSpanSamplingPolicies - list of span sampling policies.