---
schema_version: "1"
id: beff0a21856814ed20f0f69c37286f1fcbcaf8eeee4295a5bcda5b3ae6bf25f7
title: Generating Apps Diagnostics and Analyzing with Einstein
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/runtime-fabric/latest/view-app-diagnostics.md
canonical_url: https://docs.mulesoft.com/runtime-fabric/latest/view-app-diagnostics
source_site: docs.mulesoft.com
content_type: documentation
content_hash: dff4bb3b4e755589f2b585e2a236f43a1c4b97bfffa40a0004c67843b3fea582
description: MuleSoft Documentation Site
release: "3.0"
latest: true
---
---
product: Runtime Fabric
version: 3.0
is-latest-version: true
---

# Generating Apps Diagnostics and Analyzing with Einstein

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

Use the MuleSoft diagnostics agent to troubleshoot your Mule applications deployed to Runtime
Fabric. 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](https://docs.mulesoft.com/access-management/enabling-generative-ai#enable-einstein-anypoint).

- Enable Einstein entitlement for your Anypoint Platform organization. See
  [Enable Einstein Entitlement and Routing in Anypoint Platform](https://help.salesforce.com/s/articleView?id=platform.mulesoft_enable_einstein_anypoint_platform.htm&type=5).

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

For Runtime Fabric, verify that you are running these minimum versions:

- `rtf-agent` 3.0.102

- `rtf-mule-actions` 2.0.7

## 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](https://docs.mulesoft.com/mule-runtime/latest/mule-troubleshooting-plugin).

> [!NOTE] 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

Runtime Fabric retains Mule diagnostics for 30 days or up to 150 MB.

## See Also

- [Understanding the Diagnostic Information Analysis File (DIAF)](https://docs.mulesoft.com/mule-runtime/latest/mule-troubleshooting-plugin#understanding-diagnostic-information-analysis-file-diaf)

- [Using Anypoint Monitoring with Runtime Fabric](https://docs.mulesoft.com/runtime-fabric/latest/use-anypoint-monitoring)
