QuickStart
To monitor Azure Function's system metrics like CPU Percentage, Memory Percentage, Data In, and Data Out 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 Function'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 Function with SigNoz, you need to ensure the following prerequisites are met:
- You have an Azure subscription and an Azure Function instance running.
- 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 Function's system metrics with SigNoz. Here's how you can do it:
- Log in to your SigNoz account.
- Navigate to the Dashboards, and add an dashboard
- Add a Timeseries Panel
- In Metrics, select
azure_requests_total
and Avg By select taglocation
- In Filter say
name = <function-name>
- Hit “Save Changes” You now have Total Requests of your Azure Function in a Dashboard for reporting and alerting
That's it! You have successfully set up monitoring for your Azure Function'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 Function's system metrics with SigNoz, here are a few troubleshooting steps you can try:
- Check if the OpenTelemetry Collector is running and properly configured with the Azure Monitor exporter.
- Verify that your Azure Function instance is running and accessible.
- Ensure that you have the necessary permissions to access the metrics in your Azure subscription.
- Double-check the configuration of the OpenTelemetry Collector with the Azure Monitor exporter to ensure that a resource group filter is not preventing the metrics from being collected.
By following this guide, you should be able to easily monitor your Azure Function's system metrics with SigNoz and gain valuable insights into your application's performance and resource utilization.