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.
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.