Skip to content

Instantly share code, notes, and snippets.

@brlinton
Last active July 8, 2019 18:38
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brlinton/2b54cdaa77d1247b8b9c1d7b99eb14e9 to your computer and use it in GitHub Desktop.
Save brlinton/2b54cdaa77d1247b8b9c1d7b99eb14e9 to your computer and use it in GitHub Desktop.
Application Insights Analytics Query for Availability Percentage by Test Name
availabilityResults
| where timestamp >= ago(30d)
| summarize AvailabilityPercentage=(sum(todouble(success)) / count(success)) * 100, Failures=count(success)-sum(todouble(success)), TotalTests=count(success) by TestName=name
| order by Failures asc
@luigiw
Copy link

luigiw commented Oct 24, 2018

Nice! helped my to set up our availability dashboard on Jarvis, thx!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment