You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Implement consistent naming scheme for all environment variables. All environment variables starting with (or containing) `NEWRELIC_` are now named `NEW_RELIC_`. Support for previous environment variables is retained, so this is not a breaking change. (#718) (#2812)
notice: Environment variables that start with or contain `NEWRELIC_` are deprecated and may be removed in a future major release. Users are encouraged to update their installation to use `NEW_RELIC_` names as soon as possible.
CORECLR_NEWRELIC_HOME: ${{ github.workspace }}/src/Agent/NewRelic/newrelichome_x64_coreclr_linux # not used but required by Profiler/docker-compose.yml
142
+
CORECLR_NEW_RELIC_HOME: ${{ github.workspace }}/src/Agent/NewRelic/newrelichome_x64_coreclr_linux # not used but required by Profiler/docker-compose.yml
143
143
144
144
steps:
145
145
# intentionally disabled for this job, when enabled it causes a failure in the Build Linux Profiler step
WriteToInstallLog "NEWRELIC_AGENT_VERSION_OVERRIDE environment variable is deprecated and may be removed in a future release. Please use NEW_RELIC_AGENT_VERSION_OVERRIDE instead."
287
301
}
288
302
catch
289
303
{
@@ -306,7 +320,7 @@ try
306
320
307
321
if ($env:NEWRELIC_LICENSEKEY-eq$null-and$env:NEW_RELIC_LICENSE_KEY-eq$null)
308
322
{
309
-
WriteToInstallLog "The environment variable NEWRELIC_LICENSEKEY or NEW_RELIC_LICENSE_KEY must be set. Please make sure to add one."
323
+
WriteToInstallLog "The environment variable NEW_RELIC_LICENSE_KEY must be set. Please make sure to add it."
[Environment]::SetEnvironmentVariable("CORECLR_PROFILER_PATH","$pathToDotnetAgentRepo\Agent\New Relic Home x64 CoreClr\NewRelic.Profiler.dll","Machine")
18
-
[Environment]::SetEnvironmentVariable("CORECLR_NEWRELIC_HOME","$pathToDotnetAgentRepo\Agent\New Relic Home x64 CoreClr","Machine")
18
+
[Environment]::SetEnvironmentVariable("CORECLR_NEW_RELIC_HOME","$pathToDotnetAgentRepo\Agent\New Relic Home x64 CoreClr","Machine")
Note: environment variables for Azure App Services are set in the `Application settings` configuration page for your app, under `App settings`. You can verify the environment variables for your app by browsing to the `Environment` tab of your app's Kudu diagnostic console and then jumping to the `Environment Variables` section, e.g. `https://myappname.scm.azurewebsites.net/Env.cshtml#envVariables`
0 commit comments