Class DynatraceFileBasedConfigurationProvider


  • public class DynatraceFileBasedConfigurationProvider
    extends java.lang.Object
    • Method Detail

      • forceOverwriteConfig

        public void forceOverwriteConfig​(java.lang.String fileName,
                                         java.time.Duration pollInterval)
        This method should never be called by user code. It is only available for testing. When passing null for the fileName, this method just shuts down the file polling mechanism.

        VisibleForTesting

        Parameters:
        fileName - The filename of the file to watch.
        pollInterval - Polling interval for interval-based file pollers.
      • getMetricIngestEndpoint

        public java.lang.String getMetricIngestEndpoint()
      • getMetricIngestToken

        public java.lang.String getMetricIngestToken()