Diagnose high API calls for storage account

Brian Cottingham 1 Reputation point
2020-11-12T19:44:28.753+00:00

I have a storage account that's used exclusively for a Functions Durable Entity on a 15-minute timer trigger, an HTTP-triggered function that returns the Entity's state (invoked probably < 10 times/hour), and a Functions proxy redirecting to a seldom-accessed HTML file.

Somehow this month I've hit almost 3,000,000 transactions in my storage account. My Function App logs show only about 3,350 function invocations over the same period.

How am I getting 3m storage transactions for just 3k Function invocations?

How can I dive into my storage metrics/logs and see precisely which resources are being requested, and where those requests are coming from?

storage-metrics

Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
3,220 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. deherman-MSFT 37,416 Reputation points Microsoft Employee
    2020-11-13T18:45:39.66+00:00

    @Brian Cottingham
    You will want to enabling logging for the Storage account. Once enabled you can download the logs for more insights into what is making the call and to what object. I recommend starting with the GetBlob calls. If you are still unable to identify what is generating the API calls after enable logging let me know and we can work on getting this further diagnosed.

    -------------------------------

    Please don’t forget to "Accept the answer" and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.


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.