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.

Leave a Reply

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

Other Blog Posts

Other Blog Posts

API Management – For SOAP APIs

Learn to develop SOAP Web Services using Mule, deploy it on Anypoint Runtime Manager and manage the deployed Web Services using Anypoint API Manager by applying policies.

Read more

Cloudhub vs on-Premise – why compare?

MuleSoft has a few offerings in terms of hosting. For the purposes of this blog, I would like to class them as Cloudhub hosted or non-Cloudhub hosted.
Cloudhub provides a bursting option only for 0.1 and 0.2 vCores. The reason for this classification is to compare like for like performance between the MuleSoft Managed Cloudhub option against the non-Cloudhub hosted option, specifically in the bursting context.

Read more

Anypoint Platform – Connected Apps

This blog explains how external applications can connect and consume Anypoint Platform APIs using the new Connected Apps feature.

Using Connected Apps, users can delegate their access to external applications without sharing their credentials. Delegated access can be revoked by the user at any point.

Read more