Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Hourly average usage in Azure Application Insights

I can get Application Insights to display a running hourly log of usage, but is there a way to display average usage on an hourly basis to see what times of the day a site is must used?

like image 420
Doug Avatar asked Oct 05 '17 14:10

Doug


People also ask

What are the new features of Azure application insights?

New features of Azure Application Insights, currently available in public preview, make it easy to collate and report all relevant information. Whether you are investigating an application performance issue or exploring application usage, you can journal the findings and narrate the complete story of your app.

Is there a CPU time metric available for Azure App services?

The processor time metric is not available for the applications hosted in Azure App Services. Use the Process CPU metric to track CPU utilization of the web applications hosted in App Services. This metric is in relation to the number of dependency calls. This metric refers to duration of dependency calls.

How do I get the best experience with application insights?

The best experience is obtained by installing Application Insights both in your app server code, and in your web pages. The client and server components of your app send telemetry back to the Azure portal for analysis.

How to access the usage and Insights Report in azure?

Access the usage and insights report 1 Navigate to the Azure portal. 2 Select the right directory, then select Azure Active Directory and choose Enterprise applications. 3 From the Activity section, select Usage & insights to open the report. More ...


1 Answers

on the overview blade your resource, isn't there a metrics explorer that shows exactly that? the last 24 hours by hour? if that isn't what you mean, you could make an analytics query to get whatever you want, something like

requests 
| where timestamp > ago(7d) 
| extend hour = datetime_part("hour", timestamp)
| summarize sum(itemCount)/7 by hour
| order by hour asc
| render barchart

which would show you requests over the last 7 days split by each of the 24 hours, divided by 7 to show you average per day.

if you just want "today's" version of that its even simpler:

requests
| where timestamp > ago(1d) 
| summarize sum(itemCount) by bin(timestamp, 1h)
| render timechart

anything you can query in the analytics website you can then pin as a tile on your azure dashboard.

like image 108
John Gardner Avatar answered Oct 10 '22 22:10

John Gardner