Contact Us 1-800-596-4880

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:

Run the MuleSoft Diagnostics Agent

  1. From Anypoint Platform, select Runtime Manager > Applications.

  2. Select the app name.

  3. In the navigation menu, select Diagnostics.

  4. Select an active replica from the dropdown list.

  5. Click the Analyze & Troubleshoot dropdown. You have these options:

    • Select Generate Mule Diagnostics to generate and download the diagnostics for manual inspection.

      1. Click Download to download the Mule diagnostics files.

    • Select Analyze with Einstein to generate the Mule diagnostics and run the analysis simultaneously.

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

Analyze with Einstein

If you select Analyze with Einstein, the system generates the Mule diagnostics and runs the Einstein analysis simultaneously. The resulting analysis identifies root causes and recommends actions based on the DIAF file.

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.