Class RequestTracingExecutionOptions


  • public class RequestTracingExecutionOptions
    extends Object
    Configuration class that holds the dynamic configuration of the Request Tracing service.
    Author:
    mertcaliskan
    • Constructor Detail

      • RequestTracingExecutionOptions

        public RequestTracingExecutionOptions()
    • Method Detail

      • isEnabled

        public Boolean isEnabled()
      • setEnabled

        public void setEnabled​(Boolean enabled)
      • getSampleRate

        public Double getSampleRate()
      • setSampleRate

        public void setSampleRate​(Double sampleRate)
      • getSampleRateFirstEnabled

        public Boolean getSampleRateFirstEnabled()
      • setSampleRateFirstEnabled

        public void setSampleRateFirstEnabled​(Boolean sampleRateFirstEnabled)
      • getAdaptiveSamplingEnabled

        public Boolean getAdaptiveSamplingEnabled()
      • setAdaptiveSamplingEnabled

        public void setAdaptiveSamplingEnabled​(Boolean adaptiveSamplingEnabled)
      • getAdaptiveSamplingTargetCount

        public Integer getAdaptiveSamplingTargetCount()
      • setAdaptiveSamplingTargetCount

        public void setAdaptiveSamplingTargetCount​(Integer adaptiveSamplingTargetCount)
      • getAdaptiveSamplingTimeValue

        public Integer getAdaptiveSamplingTimeValue()
      • setAdaptiveSamplingTimeValue

        public void setAdaptiveSamplingTimeValue​(Integer adaptiveSamplingTimeValue)
      • getAdaptiveSamplingTimeUnit

        public TimeUnit getAdaptiveSamplingTimeUnit()
      • setAdaptiveSamplingTimeUnit

        public void setAdaptiveSamplingTimeUnit​(TimeUnit adaptiveSamplingTimeUnit)
      • getApplicationsOnlyEnabled

        public Boolean getApplicationsOnlyEnabled()
      • setApplicationsOnlyEnabled

        public void setApplicationsOnlyEnabled​(Boolean applicationsOnlyEnabled)
      • getThresholdValue

        public Long getThresholdValue()
        Gets the threshold value above which request traces will be sent to the notification service
        Returns:
        See Also:
        getThresholdUnit()
      • setThresholdValue

        public void setThresholdValue​(Long thresholdValue)
        Sets the threshold value above which request traces will be sent to the notification service
        Parameters:
        thresholdValue -
        See Also:
        setThresholdUnit(TimeUnit)
      • setThresholdUnit

        public void setThresholdUnit​(TimeUnit thresholdUnit)
        Sets he TimeUnit which the threshold for request traces is using
        Parameters:
        thresholdUnit -
        See Also:
        setThresholdValue(Long)
      • getTraceStoreSize

        public Integer getTraceStoreSize()
        Gets maximum the number of traces stored
        Returns:
      • setTraceStoreSize

        public void setTraceStoreSize​(Integer traceStoreSize)
        Sets the maximum number of traces to store
        Parameters:
        traceStoreSize -
      • getTraceStoreTimeout

        public Long getTraceStoreTimeout()
      • setTraceStoreTimeout

        public void setTraceStoreTimeout​(Long traceStoreTimeout)
      • getReservoirSamplingEnabled

        public Boolean getReservoirSamplingEnabled()
      • setReservoirSamplingEnabled

        public void setReservoirSamplingEnabled​(Boolean reservoirSamplingEnabled)
      • isHistoricTraceStoreEnabled

        public Boolean isHistoricTraceStoreEnabled()
      • setHistoricTraceStoreEnabled

        public void setHistoricTraceStoreEnabled​(Boolean historicTraceStoreEnabled)
      • getHistoricTraceStoreSize

        public Integer getHistoricTraceStoreSize()
      • setHistoricTraceStoreSize

        public void setHistoricTraceStoreSize​(Integer historicTraceStoreSize)
      • getHistoricTraceStoreTimeout

        public Long getHistoricTraceStoreTimeout()
      • setHistoricTraceStoreTimeout

        public void setHistoricTraceStoreTimeout​(Long historicTraceStoreTimeout)
      • getEnabledNotifiers

        public Set<String> getEnabledNotifiers()
        Gets the notifier options configured with request tracing
        Returns:
      • enableNotifier

        public void enableNotifier​(String notifier)
      • disableNotifier

        public void disableNotifier​(String notifier)
      • clearNotifiers

        public void clearNotifiers()