How to get cost of query in appinsights?

Goel, Akanksha 66 Reputation points
2022-11-30T11:40:56.133+00:00

I am trying to run a query and would need to reduce the cost by using different operations. how can we get a cost of query in Application Insights logs?

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
2,801 questions
0 comments No comments
{count} votes

Accepted answer
  1. Maxim Sergeev 6,566 Reputation points Microsoft Employee
    2022-12-01T00:05:42.36+00:00

    By default, costs of queries are free (with a standard tier of Log Analytics workspace behind the scense)

    But if you change the supported table "AppTraces" to basic logs (which are cheaper than standard), a query to the particular table will cost you

    Basic Log search $0.007 per GB of data scanned

    https://learn.microsoft.com/en-us/azure/azure-monitor/logs/basic-logs-configure?tabs=portal-1%2Cportal-2#which-tables-support-basic-logs

    0 comments No comments

0 additional answers

Sort by: Most helpful