/// <summary>
 /// Creates a <see cref="IConfigurationSource"/> by combining environment variables,
 /// AppSettings where available, and a local datadog.json file, if present.
 /// </summary>
 /// <returns>A new <see cref="IConfigurationSource"/> instance.</returns>
 public static CompositeConfigurationSource CreateDefaultConfigurationSource()
 {
     return(GlobalSettings.CreateDefaultConfigurationSource());
 }
        /// <summary>
        /// Create a <see cref="ImmutableTracerSettings"/> populated from the default sources
        /// returned by <see cref="GlobalSettings.CreateDefaultConfigurationSource()"/>.
        /// </summary>
        /// <returns>A <see cref="ImmutableTracerSettings"/> populated from the default sources.</returns>
        public static ImmutableTracerSettings FromDefaultSources()
        {
            var source = GlobalSettings.CreateDefaultConfigurationSource();

            return(new ImmutableTracerSettings(source));
        }