Based on your hosting environment, the following Azure Function runtime stacks are supported.
Runtime
Requirements
Node.js
New Relic NodeJS agent version 12.18.0 or above.
NodeJS version 18 or above.
Python
New Relic Python agent version 10.14.0 or above.
Python version 3.9 or above.
.NET
New Relic .NET agent version 10.37.0 or above, or 10.46.0 or above for .NET 10.
.NET stack:
.NET 8, 9, and 10, isolated worker model only
Runtime
Requirements
Node.js
New Relic NodeJS agent version 12.18.0 or above.
NodeJS version 18 or above.
.NET
New Relic .NET agent version 10.37.0 or above, or 10.46.0 or above for .NET 10.
.NET stack, isolated worker model:
.NET 8, 9, and 10
.NET Framework 4.8
.NET stack, in-process model:
.NET 8 (.NET agent version 10.39.0 and later; 10.40.0 or later recommended)
Runtime
Requirements
Node.js
New Relic NodeJS agent version 12.18.0 or above.
NodeJS version 18 or above.
Python
New Relic Python agent version 10.14.0 or above.
Python version 3.9 or above.
.NET
New Relic .NET agent version 10.37.0 or above, or 10.46.0 or above for .NET 10.
.NET stack:
.NET 8, 9, and 10, isolated worker model
Supported triggers and Distributed Tracing
You can instrument the following trigger type:
HttpTrigger
HTTPTrigger for response streaming
TimerTrigger
You can instrument the following trigger type:
HttpTrigger
You can instrument all trigger types. Distributed tracing is supported in the following cases:
Isolated worker model:
HttpTrigger
The agent reads distributed trace headers from the inbound HTTP request.
In-process model (.NET agent version 10.39.0 and later):
HttpTrigger
The agent reads distributed trace headers when the function method has a parameter of type Microsoft.AspNetCore.Http.DefaultHttpRequest, Microsoft.AspNetCore.Http.HttpRequest, or System.Net.Http.HttpRequestMessage.
ServiceBusTrigger
The agent reads inbound distributed trace headers from the ApplicationProperties collection of the received message.
The agent inserts distributed trace headers into the ApplicationProperties collection of outbound Service Bus messages.
Service Bus distributed tracing requires the Azure.Messaging.ServiceBus library. Apps that use the older Microsoft.Azure.ServiceBus library aren't supported.