diff --git a/NewRelic.Platform.Sdk/Configuration/NewRelicConfig.cs b/NewRelic.Platform.Sdk/Configuration/NewRelicConfig.cs index ce84392..b0f6cd5 100644 --- a/NewRelic.Platform.Sdk/Configuration/NewRelicConfig.cs +++ b/NewRelic.Platform.Sdk/Configuration/NewRelicConfig.cs @@ -9,7 +9,6 @@ namespace NewRelic.Platform.Sdk.Configuration public class NewRelicConfig : INewRelicConfig { private static NewRelicConfig ConfigInstance; - private const string ConfigPath = @"config\newrelic.json"; private const string DefaultEndpoint = "https://platform-api.newrelic.com/platform/v1/metrics"; private const string DefaultLogFileName = "newrelic_plugin.log"; private const string DefaultLogFilePath = @"logs"; @@ -68,7 +67,7 @@ public static NewRelicConfig Instance if (ConfigInstance == null) { string assemblyPath = Assembly.GetExecutingAssembly().GetLocalPath(); - string configPath = Path.Combine(assemblyPath, ConfigPath); + string configPath = Path.Combine(assemblyPath, Path.Combine("config", "newrelic.json")); if (!File.Exists(configPath)) {