Container App Metrics

QuickStart

To monitor Azure Container App's system metrics like CPU Percentage, Memory Percentage, Replica Count with SigNoz, you just need to set up the OpenTelemetry Collector with the Azure Monitor exporter. No changes are needed to your application code.

Overview

In this guide, you will learn how to monitor Azure Container App's system metrics like CPU Percentage, Memory Percentage, Data In, and Data Out with SigNoz. By monitoring these metrics, you can keep track of your application's resource utilization and performance.

For application-level traces and metrics, you can use the DNS name of the OpenTelemetry Collector you set up earlier. Simply configure your application to send traces and metrics to the Central Collector, and they will be forwarded to SigNoz automatically.

Prerequisites

Before you can monitor your Azure Container App with SigNoz, you need to ensure the following prerequisites are met:

  1. You have an Azure subscription and an Azure Container App instance running.
  2. You have set up the Central Collector with the Azure Monitor exporter. If you haven't set it up yet, follow the instructions in the Central Collector Setup

Dashboard Example

Once you have completed the prerequisites, you can start monitoring your Azure Container App's system metrics with SigNoz. Here's how you can do it:

  1. Log in to your SigNoz account.
  2. Navigate to the Dashboards, and add an dashboard
  3. Add a Timeseries Panel
  4. In Metrics, select azure_replicas_count and Avg By select tag name
  5. In Filter say type = Microsoft.App/containerApps
  6. Hit “Save Changes” You now have Memory Usage of your Container App in a Dashboard for reporting and alerting
Time Series Panel for Container Replica Count

Time Series Panel for Container Replica Count

That's it! You have successfully set up monitoring for your Azure Container App's system metrics with SigNoz.

Note: You don't need to make any changes to your application code to monitor the system metrics. The OpenTelemetry Collector with the Azure Monitor exporter takes care of collecting and sending the metrics to SigNoz.

Troubleshooting

If you encounter any issues while setting up monitoring for your Azure Container App's system metrics with SigNoz, here are a few troubleshooting steps you can try:

  1. Check if the OpenTelemetry Collector is running and properly configured with the Azure Monitor exporter.
  2. Verify that your Azure Container App instance is running and accessible.
  3. Ensure that you have the necessary permissions to access the metrics in your Azure subscription.

By following this guide, you should be able to easily monitor your Azure Container App's system metrics with SigNoz and gain valuable insights into your application's performance and resource utilization.

Was this page helpful?