Azure Functions offers a wide range of options to address various Azure Functions scenarios and use-cases:
The Dynatrace platform provides extensive monitoring capabilities:
For more details, refer to supported triggers and framework support.
OneAgent adapts its operating mode to your Azure Functions hosting plan.
On Consumption, Flex Consumption, and Premium plans, OneAgent uses an optimized, low-overhead mode purpose-built for short-lived, stateless, consumption-based environments. It offers fast startup, is scale-to-zero compatible, and is licensed to match serverless usage patterns.
Because serverless instances are ephemeral and don't expose persistent process or container infrastructure, some full-stack capabilities don't apply in serverless mode:
OneAgent runs in full-stack mode.
Only certain combinations of host and runtime are currently supported, as shown in the following table.
| Host / Runtime | Node.js | Java | Python | .NET |
|---|---|---|---|---|
Windows Dedicated | Supported | Supported | Not supported | Not supported |
Windows Premium & Consumption | Supported | Supported | Not supported | Not supported |
Linux Flex Consumption | Not supported | Not supported | Supported | Not supported |
Linux Premium | Not supported | Not supported | Supported | Not supported |
Containers | Not supported | Not supported | Not supported | Not supported |
To access both the Azure Functions Classic and Azure Functions pages in Deploy Dynatrace, you must belong to a group with the Download & install OneAgent or Demo user permission for the given environment. A demo user can open the page and see the whole installation process, but only with placeholder data.
How you integrate OneAgent depends on the operating system of your Function App.
Azure Functions provides a native Site Extension mechanism. Install the Dynatrace OneAgent site extension to start monitoring. No changes to your function code are required.
Azure Functions on Linux has no native extension point. Instead, OneAgent ships as a runtime-specific deployment package (PyPI for Python, npm for Node.js, NuGet for .NET) that you add as a dependency to your function project. OneAgent is deployed alongside your function automatically. No changes to your function code are required.
Choose a guide that matches your setup:
Learn how to install, configure, update, and uninstall OneAgent for monitoring Azure Functions using an Azure site extension.
Learn how to enable OneAgent monitoring for Azure Functions on Linux hosting plans, including runtime setup, environment variables, and package deployment.