Visualize Application Network – Anypoint Visualizer

Written by:
Published on January 6, 2020

Visualize Application Network – Anypoint Visualizer


This blog post provides insight into how Anypoint Visualizer graph is used to explore Application Network and various other metrics


The following prerequisites are stated as part of this blog post:

  • This post assumes that users have a basic understanding about System, Process and Experience APIs
  • Below mentioned applications are just for illustration and no source code will be available for download as part of the blog


Let us consider the following applications categorized under different layers (System, Process and Experience APIs). This will provide impetus to finally visualize the application network.

Applications under each layer can be described as below:

System APIsAccount S-API – Retrieves accounts from Salesforce
Opportunities S-API – Retrieves Opportunities from Salesforce
Process APIBack Office P-API – Interacts with Account and Opportunities System APIs and applies some business logic to calculate the commissions
Experience APIBack Office E-API – Interacts with the Back Office Process API and transforms the data for consumption by other Wen/Mobile Applications

Expected Output

Before even we start towards visualizing the graph in Anypoint Visualizer, lets look at the flow diagram of our design and finally validate if we get the same results in Anypoint Visualizer at the end-

mulesoft API anypoint visualizer

Deployment and Configuration

Let us start with the deployment of the System APIs. (RAML design, development of application and deployment process is not in the scope of this post)

Deploy the application to CloudHub the usual way. To learn more about how to deploy applications follow the below link:

Application Deployment to CloudHub

Once the application is deployed successfully navigate to Anypoint Visualizer and select the appropriate Environment type and name where the application is deployed as shown below –

mulesoft api anypoint

At this stage, you will notice a warning, “Some apps in selected environments are not available …

This is due to our having not enabled monitoring for our application.

To enable monitoring, you have to navigate to Anypoint Monitoring, select “Settings“. The corresponding environment is shown via below illustration-

API mulesoft devops anypoint

Post this step, choose the deployed application and enable monitoring for the same as shown in the below illustration-

API mulesoft anypoint

You will need to have sufficient permissions to enable the monitoring of the deployed applications.

Also, the redeployment of the application can be done once monitoring is enabled. After redeployment visualizer would plot the graph –

We see a single node here as we have deployed only one application till now. Repeat the whole process of deployment for all the other 3 applications.

On the deployment of all the applications, the graph would look like –

Lets invoke the Experience API to send some traffic through all the applications. Once done, the graph will be automatically updated with all the links between the nodes and corresponding back-end calls from the System APIs.

Currently, Visualizer supports the monitoring of outbound connections on limited number of connectors.

To view, the list of supported connectors visit Supported Connectors.

Mulesoft, API

This looks good, but we still do not see the layers (System, process & Experience) being displayed in the graph. To get the layers displayed in Visualizer we need to add an application property (either in any of the property files referred by the application or directly in Runtime Manager settings of the application)


### Replace LAYER_NAME above with appropriate values like (System, Process, Experience) in respective application properties.

After addition and redeployment of “anypoint.platform.visualizer.layer” property, the final application network would resemble the below illustration –

API mulesoft

The Visualizer graph matches with our initial design/flow diagram.

One can use Visualizer to view various other metrics like –

  • Average Response Time
  • Average Throughput
  • Failures
  • Average CPU Utilization
  • Average Memory Utilization


Some of the key takeaways from this article would be:

  • How to use Anypoint Visualizer to visualize Application Network
  • How to attach layers for each of the applications
  • Various metrics that are available in Visualizer

For more information visit Anypoint Visualizer documentation.

End Note:

Hope you found this article interesting, do drop us a comment below with your inputs, views, and opinions regarding Visualize Application Network – Anypoint Visualizer

Also, if you are interested in learning more about an exciting new code quality product that reduces your Mule project costs by 79%, follow the below link :

One Reply to “Visualize Application Network – Anypoint Visualizer”

Leave a Reply

Your email address will not be published. Required fields are marked *

Other Blog Posts

Other Blog Posts

Customer Success Stories: Why IZ Analyzer Is a Game Changer

IZ Analyzer, a dynamic code analysis tool, has garnered significant praise from a diverse range of clients, each with their own unique perspectives on what makes it stand out. Client Feedback: A Deep Dive Client from a Fortune 500 beverage manufacturing: Specialized MuleSoft Code Scanning For this global leader in the beverage industry, the specialization …

Read more

MuleSoft Runtime Code Scanning – Why Do You Need It?

One of the most frequently asked questions is if we have static code analysis and a well defined DevOps process, why would we need run time code analysis? In this article, let’s explore the differences between the two and why you might want to have runtime code analysis (and IZ Runtime Analyzer) even if you have …

Read more

Ensuring Software Quality in Healthcare: Leveraging IZ Analyzer for MuleSoft Code Scanning πŸ₯πŸ’»

Ensuring software quality in the healthcare industry is a top priority, with direct implications for patient safety, data security, and regulatory compliance. Healthcare software development requires adherence to specific rules and best practices to meet the unique challenges of the industry. In this blog post, we will explore essential software quality rules specific to healthcare …

Read more