Instrument .NET MAUI Applications
Before you can monitor your .NET MAUI application, you will need to instrument your application to enable the .NET and MAUI Agent to collect mobile metrics.
To instrument your application, see the following sections:
- Review MAUI Agent Support
- Limitations
- Choose a MAUI Agent Instrumentation Package
- Add the Maui Agent Package
- Add Initialization Code to your Application
- (Android-only) Add Required Permissions
- Initialize the Agent
- Build Your Application
- (iOS-only) Add Additional Arguments
- (Optional) Enable Automatic Instrumentation
- (Optional) Customize Your Instrumentation