How to get metrics data of multiple resources(Container apps) as a one batch request?

tejas.talekar 0 Reputation points
2024-08-14T11:15:31.9633333+00:00

Hello,

We're looking to find a solution for Azure monitoring.

  1. We want to get the metrics data for a group of container apps filtered based on a tag
  2. The aggregated value of each metric, i.e., Number of requests, and billed duration
  3. How can we get the value of total billed duration metrics as it doesn't seem to be available in the Standard metrics? We do have HTTP ingress enabled for the container app.

Please note:

  • We do have Logs analytics workspace enabled, however, we are not ingesting the metrics data to the workspace.
  • Is there a way to do this without a workspace?

We've tried.

  • Metrics.list API -> This lists data for specific ResourceURI. However, it doesn't support getting data for multiple ResourceUris
  • tried @azure/arm-monitor npm library
  • Tried @azure/monitor-query

Looking forward to your support.

Thanks,
Tejas.

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,326 questions
Azure Container Apps
Azure Container Apps
An Azure service that provides a general-purpose, serverless container platform.
446 questions
{count} votes

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.