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.
.NET stack:
.NET 6 - 9, Isolated 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.
.NET stack:
.NET 4.8
.NET 6 - 9, Isolated model only
.NET 6 and 8, In-process model (.NET agent version 10.38.0 and later)
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.
.NET stack:
.NET 6 - 9, Isolated 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, except Distributed Tracing which is supported only in the following cases:
Isolated model:
HttpTrigger
Distributed trace headers will be read from the inbound HTTP request.
In-process model (.NET agent version 10.38.0 and later):
HttpTrigger
Distributed tracing is supported when the function method has a parameter of type Microsoft.AspNetCore.Http.DefaultHttpRequest, Microsoft.AspNetCore.Http.HttpRequest or System.Net.Http.HttpRequest.
ServiceBusTrigger:
Incoming distributed trace headers will be read if the function method has a parameter of type Azure.Messaging.ServiceBus.ServiceBusReceivedMessage. Trace headers are expected to be in the ApplicationProperties collection of that object.
Distributed trace headers will be inserted into the ApplicationProperties collection of outbound Service Bus messages if the function method has a return type of Azure.Messaging.ServiceBus.ServiceBusMessage or Task<Azure.Messaging.ServiceBus.ServiceBusMessage>.