diff --git a/src/content/docs/serverless-function-monitoring/azure-function-monitoring/env-variables-azure.mdx b/src/content/docs/serverless-function-monitoring/azure-function-monitoring/env-variables-azure.mdx
index 1bf8edf6570..498255ec2a7 100644
--- a/src/content/docs/serverless-function-monitoring/azure-function-monitoring/env-variables-azure.mdx
+++ b/src/content/docs/serverless-function-monitoring/azure-function-monitoring/env-variables-azure.mdx
@@ -3,7 +3,7 @@ title: Environment variables for Azure function monitoring
metaDescription: "Configure environment variables to monitor your Azure functions with New Relic"
freshnessValidatedDate: never
tags:
- - AWS Lambda
+ - Azure Functions
- Environment Variables
- Configuration
- Secrets Management
@@ -33,7 +33,7 @@ Environment variables are a way to store configuration and secrets outside of yo
**Required**. Set this to enable the .NET agent. |
- `CORECLR_NEWRELIC_HOME` |
+ `CORECLR_NEW_RELIC_HOME` |
|
|
**Required**. Set this to enable the .NET agent. |
@@ -44,25 +44,12 @@ Environment variables are a way to store configuration and secrets outside of yo
|
**Required**. Set this to enable the .NET agent. |
-
-
- `NEW_RELIC_DISTRIBUTED_TRACING_ENABLED` |
- `true` |
- `true`, `false` |
- Generate traces by enabling distributed tracing. |
-
-
- `NEW_RELIC_APP_NAME` |
- |
- |
- Set the application name, though it is not used in the New Relic UI. |
-
`NEW_RELIC_AZURE_FUNCTION_MODE_ENABLED` |
- `1` |
+ `0` |
`1`, `0` |
- Disable Azure Functions mode by setting the value to `0`. |
+ Enable Azure Functions mode by setting the value to `1`. |
`NEW_RELIC_LOG_DIRECTORY` |
diff --git a/src/content/docs/serverless-function-monitoring/azure-function-monitoring/install-serverless-azure-monitoring.mdx b/src/content/docs/serverless-function-monitoring/azure-function-monitoring/install-serverless-azure-monitoring.mdx
index 3c1c940ba24..075f5531f50 100644
--- a/src/content/docs/serverless-function-monitoring/azure-function-monitoring/install-serverless-azure-monitoring.mdx
+++ b/src/content/docs/serverless-function-monitoring/azure-function-monitoring/install-serverless-azure-monitoring.mdx
@@ -110,7 +110,7 @@ Ensure that you add a comma at the end of the last existing line and update your
"slotSetting": false
},
{
- "name": "CORECLR_NEWRELIC_HOME",
+ "name": "CORECLR_NEW_RELIC_HOME",
"value": "/home/site/wwwroot/newrelic",
"slotSetting": false
},
@@ -130,20 +130,15 @@ Ensure that you add a comma at the end of the last existing line and update your
"slotSetting": false
},
{
- "name": "NEW_RELIC_LICENSE_KEY",
- "value": "",
- "slotSetting": false
- },
- {
- "name": "NEWRELIC_LOG_DIRECTORY",
+ "name": "NEW_RELIC_LOG_DIRECTORY",
"value": "/home/LogFiles/NewRelic",
"slotSetting": false
},
{
- "name": "NEWRELIC_LOG_LEVEL",
- "value": "info",
+ "name": "NEW_RELIC_LICENSE_KEY",
+ "value": "",
"slotSetting": false
- },
+ }
```
@@ -151,52 +146,11 @@ Ensure that you add a comma at the end of the last existing line and update your
```json
- {
- "name": "CORECLR_PROFILER_PATH",
- "value": "C:\\home\\NewRelicAgent\\Core\\NewRelic.Profiler.dll",
- "slotSetting": false
- },
- {
- "name": "CORECLR_NEWRELIC_HOME",
- "value": "C:\\home\\NewRelicAgent\\Core",
- "slotSetting": false
- },
- {
- "name": "NEWRELIC_LOG_DIRECTORY",
- "value": "C:\\home\\LogFiles\\NewRelic",
- "slotSetting": false
- },
- {
- "name": "NEW_RELIC_AZURE_FUNCTION_MODE_ENABLED",
- "value": "1",
- "slotSetting": false
-},
-{
- "name": "CORECLR_ENABLE_PROFILING",
- "value": "1",
- "slotSetting": false
- },
- {
- "name": "CORECLR_PROFILER",
- "value": "{36032161-FFC0-4B61-B559-F6C5D41BAE5A}",
- "slotSetting": false
- },
{
"name": "NEW_RELIC_LICENSE_KEY",
"value": "",
"slotSetting": false
- },
- {
- "name": "NEWRELIC_LOG_LEVEL",
-"value": "info",
- "slotSetting": false
- },
- {
- "name": "NEW_RELIC_APP_NAME",
- "value": "",
- "slotSetting": false
- },
-
+ }
```
@@ -209,7 +163,7 @@ Ensure that you add a comma at the end of the last existing line and update your
"slotSetting": false
},
{
- "name": "CORECLR_NEWRELIC_HOME",
+ "name": "CORECLR_NEW_RELIC_HOME",
"value": "/usr/local/newrelic-dotnet-agent",
"slotSetting": false
},
@@ -229,20 +183,16 @@ Ensure that you add a comma at the end of the last existing line and update your
"slotSetting": false
},
{
- "name": "NEW_RELIC_LICENSE_KEY",
- "value": "",
- "slotSetting": false
- },
- {
- "name": "NEWRELIC_LOG_DIRECTORY",
+ "name": "NEW_RELIC_LOG_DIRECTORY",
"value": "/home/LogFiles/NewRelic",
"slotSetting": false
},
{
- "name": "NEWRELIC_LOG_LEVEL",
- "value": "info",
+ "name": "NEW_RELIC_LICENSE_KEY",
+ "value": "",
"slotSetting": false
- },
+ }
+
```