Generating Apps Diagnostics and Analyzing with Einstein
Use the MuleSoft diagnostics agent to troubleshoot your Mule applications deployed to CloudHub 2.0. This feature leverages Einstein generative AI to automate diagnostics collection and provide intelligent, actionable insights.
Before you Begin
Before running the MuleSoft diagnostics agent:
-
Connect your MuleSoft organization to a Salesforce account.
-
Enable Agentforce for your organization. See Enable Agentforce for Your Anypoint Platform Organization.
-
Enable Einstein entitlement for your Anypoint Platform organization. See Enable Einstein Entitlement and Routing in Anypoint Platform.
-
Verify that you have either the Mule Developer Generative AI User or Organization Administrator role.
-
Update your Mule runtime to 4.6.23 LTS, 4.9.10 LTS, 4.10 Edge, or later.
-
Verify that your Mule application is running.
Run the MuleSoft Diagnostics Agent
-
From Anypoint Platform, select Runtime Manager > Applications.
-
Select the app name.
-
In the navigation menu, select Diagnostics.
-
Select an active replica from the dropdown list.
-
Click the Analyze & Troubleshoot dropdown. You have these options:
-
Select Generate Mule Diagnostics to generate and download the diagnostics for manual inspection.
-
Click Download to download the Mule diagnostics files.
-
-
Select Analyze with Einstein to generate the Mule diagnostics and run the analysis simultaneously.
-
Click View Analysis to open the analysis page.
-
-
Generate Mule Diagnostics
If you download the generated Mule diagnostics, you receive a .tar archive containing two key assets:
- Mule Thread Dumps
-
A thread dump is a snapshot of all the threads in a replica that shows the current state of the server.
- Diagnostic Information Analysis File (DIAF)
-
The DIAF is a structured, standardized plain-text file. It centralizes diagnostic data and organizes it for improved automated and manual analysis. The DIAF captures the state of events, operations, and critical application data. See Mule Troubleshooting Plugin.
The DIAF doesn’t replace application logs.
Considerations and Limitations
The MuleSoft diagnostics agent uses Einstein generative AI. Limits for running analyses apply per application and per organization:
-
10 analyses per application, per hour
-
50 analyses per organization, per hour
-
50 analyses per application, per day
-
200 analyses per organization, per day
CloudHub 2.0 retains Mule diagnostics for 30 days or up to 150 MB.



