Skip to content

Commit 3a4a602

Browse files
committed
Update Azure Functions docs based on testing
1 parent 1154777 commit 3a4a602

File tree

2 files changed

+64
-4
lines changed

2 files changed

+64
-4
lines changed

src/content/docs/serverless-function-monitoring/azure-function-monitoring/compatibility-requirement-azure-monitoring.mdx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,14 @@ Before you [instrument Azure Functions](/docs/serverless-function-monitoring/azu
1111

1212
* Azure Functions hosted on [consumption plan](https://learn.microsoft.com/en-us/azure/azure-functions/consumption-plan) or [dedicated plan](https://learn.microsoft.com/en-us/azure/azure-functions/dedicated-plan).
1313

14+
<Callout variant="important">
15+
16+
Note: [in-process](https://learn.microsoft.com/en-us/azure/azure-functions/functions-dotnet-class-library) functions hosted on Linux with a consumption plan are not supported.
17+
18+
</Callout>
19+
20+
* Your Azure function app must use version 4 of the [Azure Functions runtime](https://learn.microsoft.com/en-us/azure/azure-functions/functions-versions) or greater. Look for the following in your function app's .csproj file: `<AzureFunctionsVersion>v4</AzureFunctionsVersion>`.
21+
1422
* You must have the [required permission to access kudu service](https://learn.microsoft.com/en-us/azure/app-service/resources-kudu#access-kudu-for-your-app).
1523

1624
* A New Relic account with either an [admin role](/docs/accounts/original-accounts-billing/original-users-roles/users-roles-original-user-model/#roles) or an [Infrastructure manager role](/docs/accounts/original-accounts-billing/original-users-roles/users-roles-original-user-model#add-on).
@@ -44,7 +52,7 @@ Based on your hosting environment, the following Azure Function runtime stacks a
4452
<TabsPageItem id="2">
4553

4654
* .NET stack:
47-
* .NET 4.8 (.NET agent version 10.37.0 and later)
55+
* .NET 4.8 (.NET agent version 10.37.0 and later), Isolated model only
4856
* .NET 6 - 9, Isolated model
4957
* .NET 6 and 8, In-process model (.NET agent version 10.38.0 and later)
5058

src/content/docs/serverless-function-monitoring/azure-function-monitoring/install-serverless-azure-monitoring.mdx

Lines changed: 55 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,16 +154,68 @@ Ensure that you add a comma at the end of the last existing line and update your
154154
### New Relic Azure Websites Extension:
155155

156156
```json
157+
{
158+
"name": "CORECLR_ENABLE_PROFILING",
159+
"value": "1",
160+
"slotSetting": false
161+
},
162+
{
163+
"name": "CORECLR_NEW_RELIC_HOME",
164+
"value": "C:\\home\\NewRelicAgent\\Core",
165+
"slotSetting": false
166+
},
167+
{
168+
"name": "CORECLR_PROFILER",
169+
"value": "{36032161-FFC0-4B61-B559-F6C5D41BAE5A}",
170+
"slotSetting": false
171+
},
172+
{
173+
"name": "CORECLR_PROFILER_PATH_32",
174+
"value": "C:\\home\\NewRelicAgent\\Core\\x86\\NewRelic.Profiler.dll",
175+
"slotSetting": false
176+
},
177+
{
178+
"name": "CORECLR_PROFILER_PATH_64",
179+
"value": "C:\\home\\NewRelicAgent\\Core\\NewRelic.Profiler.dll",
180+
"slotSetting": false
181+
},
182+
{
183+
"name": "COR_ENABLE_PROFILING",
184+
"value": "1",
185+
"slotSetting": false
186+
},
187+
{
188+
"name": "NEW_RELIC_HOME",
189+
"value": "C:\\home\\NewRelicAgent\\Framework",
190+
"slotSetting": false
191+
},
192+
{
193+
"name": "COR_PROFILER",
194+
"value": "{71DA0A04-7777-4EC6-9643-7D28B46A8A41}",
195+
"slotSetting": false
196+
},
197+
{
198+
"name": "COR_PROFILER_PATH_32",
199+
"value": "C:\\home\\NewRelicAgent\\Framework\\x86\\NewRelic.Profiler.dll",
200+
"slotSetting": false
201+
},
202+
{
203+
"name": "COR_PROFILER_PATH_64",
204+
"value": "C:\\home\\NewRelicAgent\\Framework\\NewRelic.Profiler.dll",
205+
"slotSetting": false
206+
},
207+
{
208+
"name": "NEW_RELIC_LOG_DIRECTORY",
209+
"value": "C:\\home\\LogFiles\\NewRelic",
210+
"slotSetting": false
211+
},
157212
{
158213
"name": "NEW_RELIC_LICENSE_KEY",
159214
"value": "<your newrelic license key here>",
160215
"slotSetting": false
161216
}
162217
```
163218

164-
The Azure websites extension automatically configures all other required environment variables.
165-
166-
167219
Optionally, you can specify the version of the .NET agent you want to install by adding the following environment variable:
168220

169221
```json

0 commit comments

Comments
 (0)