Runtime Fabric Setup
Verify Supported Mule Versions for Runtime Fabric
Anypoint Visualizer supports the following Mule versions for Anypoint Runtime Fabric deployments:
-
Mule version 3.8.7
-
Mule version 3.9.1 or later
-
Mule version 4.1.x
-
Mule version 4.2.x
-
Mule version 4.3.x
-
Mule version 4.4.x
Follow the instructions for setting up Runtime Fabric. After you install Runtime Fabric, Anypoint Visualizer can display applications that are running and deployed to Runtime Fabric.
Anypoint Visualizer relies on a header injection to display connections between services correctly.
Enable Header Injection
Anypoint Visualizer requires an additional header injection for Anypoint Runtime Fabric deployments. However, due to potential performance impact, header injection is disabled by default in Mule version 4.x released before April 7, 2020. For Runtime Fabric, you must enable the header injection at the app level:
-
Navigate to the Properties tab and take one of the following actions:
-
If you have already deployed apps to Runtime Fabric:
-
Click Applications in the menu on the left of Runtime Manager.
-
Select the app for which to enable the header injection, and click Manage Application.
-
-
If you are deploying an app for the first time, navigate to the deployment page and click Deploy application.
-
-
In the Properties tab, set the following property in the app:
anypoint.platform.config.analytics.agent.header_injection.disabled=false
Additionally, you must use version 1.5.12 or later of the HTTP Connector in your Mule 4 applications.
Verify Supported Mule Runtime Engine (Mule) Versions for Policies
The APIs and policies that Anypoint Visualizer displays in the Policy visualization come from an update to the agent in Mule runtime engine (Mule). As a result, Anypoint Visualizer shows policies only for apps running on supported Mule versions released on December 12, 2019 or later.
Known Limitations
-
If a Mule 3 CloudHub app with the old Anypoint Visualizer agent (version earlier than April 5, 2019) calls a Runtime Fabric ingress endpoint, there will be an extra edge from the CloudHub app to a node with the IP address for the controller. Please upgrade to the latest release of the Mule runtime engine.
-
If a Mule 4 CloudHub app calls a Runtime Fabric ingress endpoint, there will be and extra edge from the CloudHub app to a node with the IP address for the controller. You can use your filters within Anypoint Visualizer to hide this node.
-
If a Runtime Fabric Mule app calls a Mule 3 CloudHub Mule app with the old Anypoint Visualizer agent (version earlier than April 5, 2019) using its DNS, the correct connection is drawn, but there will be an additional edge from the External Traffic node to the CloudHub app.
-
If a Runtime Fabric Mule app calls a Mule 4 CloudHub Mule app using its DNS, the correct connection is drawn, but there will be an additional edge from the External Traffic node to the CloudHub app.
-
If you have an app in two different clusters with the same name, these applications are drawn as one node on the canvas. You should rename one app.
-
In the Troubleshooting visualization, View Logs and View Dashboard links are not currently supported.
Manage Performance and Data Collection
The agent that Anypoint Visualizer uses to collect metadata sometimes has a performance impact.
For more information about data collection and performance, see Manage Performance and Data Collection.