How to Monitor Per-User Usage and Costs of Azure Document Intelligence Resource?

Francis Scheuermann 0 Reputation points
2024-11-01T18:03:02.7666667+00:00

Hello all,

I currently have a Document Intelligence resource set up and have a separate web application integrated with it so that it makes calls to my endpoint and receives the results to be displayed back to the user. This application is going to be used by different clients and I'd like to monitor each client's usage of the service on a per-page basis, including which model they are using for each transaction.

Knowing that this resource is hosted on an Azure resource, what options do I have to accomplish this? Additionally, is this kind of telemetry included in the subscription or is this going to be an additional charge that I need to account for?

Ideally, I'd like to have a report created at the end of each month listing the various users (IPs?) that connected to the resource, how many total pages they analyzed, page count by type, and a cost associated with their usage.

I'm admittedly VERY new to this process, and I've tried researching this topic but have come up short for a relevant answer. Any information regarding how to achieve this and possible billing that may come of it would be greatly appreciated.

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,311 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Luis Arias 7,121 Reputation points
    2024-11-03T21:47:59.5233333+00:00

    Hi Francis,

    Let me help youwith the some guidance to monitor per-user usage and costs for an Azure Document Intelligence resource If you require to track per-client usage, including pages analyzed, model used, and associated costs by monthly report. Here are key tools and strategies:

    Tool / Strategy Description Cost Considerations
    Application Insights Integrates with your app to log Document Intelligence calls by user, including model used and page count. Custom telemetry can capture usage per IP/client. Cost based on data ingestion and retention
    Azure Monitor & Log Analytics Aggregates Document Intelligence telemetry and custom logs, allowing queries on page count, model usage, and per-user costs. Charged per GB of data ingested and retained
    Document Intelligence Built-in Metrics Provides default metrics on page count and usage in the Azure Portal, though not per-user specific. Included with Document Intelligence, no extra cost
    Azure API Management (APIM) Manages API access per user, enabling tracking on Document Intelligence requests by user/IP, model, and usage limits. Additional cost based on API Management tier and usage volume

    Summary

    • Application Insights and Azure Monitor with Log Analytics offer the best options for tracking Document Intelligence usage per user and model.
    • Document Intelligence Built-in Metrics provides general usage stats but lacks detailed user-level data.
    • API Management enables user-specific tracking and quotas but incurs additional charges.

    For more details:

    If the information helped address your question, please Accept the answer.

    Luis

    0 comments No comments

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.