Filtering Metrics for Azure Function and Blob Storage in Datadog

Palash Mathur 80 Reputation points
2025-03-12T17:27:19.35+00:00

Hi Microsoft Support,

I am currently monitoring an Azure Function App and an Azure Blob Storage account in Datadog, and I can see the overall metrics being ingested successfully. However, I am facing an issue with filtering the metrics at a more granular level (I also checked Azure Monitor but couldn't find anything there either).

  1. Azure Function App Metrics – I can see metrics at the Function App level, but I am unable to filter them down to a specific function within the app. For example, I have a Function App that contain two functions HTTP Trigger and Timer Trigger, but I don’t see an option to isolate metrics for a specific function.
  2. Azure Blob Storage Metrics – Similarly, I can see high-level metrics for the entire storage account, but I am unable to filter them down to a specific container within the storage account. Could you please confirm if filtering at the function level (within a Function App) and the container level (within a Blob Storage account) is officially supported? If yes, can you guide me on how to achieve this?
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
3,111 questions
{count} votes

Accepted answer
  1. Keshavulu Dasari 4,280 Reputation points Microsoft External Staff
    2025-03-12T18:13:06.9+00:00

    Hi Palash Mathur ,

    For monitoring Azure Function Apps and Azure Blob Storage at a more granular level,

    Azure Function App Metrics ,To filter metrics down to a specific function within a Function App, you can use Azure Application Insights. Application Insights provides detailed telemetry data, including performance and error logs, for individual functions within your Function App. Here's how you can achieve this:

    Enable Application Insights: Ensure that Application Insights is enabled for your Function App. This can be done during the creation of the Function App or by adding the instrumentation key to your app settings.

    Configure Custom Telemetry: You can add custom telemetry to your functions to track specific metrics. This involves writing custom logs and metrics within your function code.

    Query Telemetry Data: Use the Application Insights query language (Kusto Query Language) to filter and analyze telemetry data for specific functions.

    For more details please you can refer:
    https://learn.microsoft.com/en-us/azure/azure-functions/functions-monitoring

    Azure Blob Storage Metrics,To filter metrics down to a specific container within a Blob Storage account, you can use Azure Monitor. Azure Monitor provides metrics and logs for Azure Blob Storage, and you can configure diagnostic settings to collect data at a more granular level.

    Enable Diagnostic Settings: Configure diagnostic settings for your Blob Storage account to collect metrics and logs. You can specify the types of metrics and logs you want to collect.

    Use Metric Dimensions: Azure Monitor supports dimensions for certain metrics, allowing you to filter data by container. For example, you can filter metrics like ingress and egress by container name.

    Analyze Metrics: Use Azure Monitor's metrics explorer or Log Analytics to query and analyze the collected data.

    For more details please you can refer:

    https://learn.microsoft.com/en-us/azure/storage/blobs/monitor-blob-storage?tabs=azure-portal

    Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.  Your contribution is highly appreciated.

    User's image

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.