Contact Us 1-800-596-4880

Step 6. Monitor and Manage

In this final step, you’ll learn how to monitor your deployed API using Runtime Manager, your operations dashboard for CloudHub applications.

Step 6.1: Access Runtime Manager

  1. From Anypoint Platform, navigate to Runtime Manager.

  2. Make sure you’re viewing the Sandbox environment.

  3. Select your hello-world-impl application.

    The dashboard opens.

Step 6.2: View Application Health

The dashboard shows real-time metrics:

Status

Running (green) means your API is healthy.

Replicas

Shows 1/1 (1 running replica out of 1 expected).

Last Updated

The last time the application was updated.

Mule Messages

The number of Mule messages the application has processed. Send a few test requests from Postman and watch the Mule Messages graph update.

Average Response Time

The average response time of the application.

Errors

The number of errors the application has encountered.

Step 6.3: View Application Logs

Logs help you troubleshoot and understand what your application is doing.

  1. In Runtime Manager, click Logs in the left menu.

  2. You’ll see recent log entries.

  3. Send a request to your API from Postman.

  4. Refresh the logs to see your Logger message:

    INFO  [hello-world-impl].get:\greeting  Received greeting request for name: World
  5. Use log filters:

    Log Level

    Filter by INFO, WARN, or ERROR.

    Search

    Find specific text.

    Time Range

    View logs from the last 30 days.

    Logs show every request, error, and Logger message from your application.

Step 6.4: Understand Your Application URL

Your application URL has this structure:

https://hello-world-impl-jsmith.<space-domain>.cloudhub.io/api/greeting
  • hello-world-impl-jsmith: Your unique application name

  • <space-domain>: Your Shared Space’s domain

  • /api/greeting: Your API endpoint path

This URL is publicly accessible and automatically includes:

  • HTTPS/TLS encryption

  • Load balancing across replicas

  • Distributed Denial-of-Service (DDoS) protection

  • Automatic scaling

Step 6.5: Test from Anywhere

Your API is now accessible from any device:

  • Test the API from your phone’s browser.

  • Share the URL with teammates.

  • Call the API from other applications.

  • Use the API in front-end web apps.

Try it! Open a browser on any device and visit:

https://your-app-url.cloudhub.io/api/greeting?name=World

You’ll see your greeting in the browser.

What You Learned

Congratulations! You’ve completed the full API development lifecycle:

  1. Designed an API spec with Anypoint Code Builder

  2. Developed the API implementation in Anypoint Code Builder

  3. Tested the API locally with debugging tools

  4. Deployed the API to CloudHub 2.0

  5. Verified and monitored the API in Runtime Manager

Clean Up (Optional)

To remove your tutorial application and free up resources:

  1. In Runtime Manager, click your application.

  2. Click Settings > Delete Application.

  3. Confirm deletion.

Your application is stopped and removed from CloudHub 2.0.