Measurable web and
mobile apps with
Application Insights
Andreas Hammar
Jayway
360°
ASP.NET
SDK
IIS
Status Monitor
web
<script/>
ping
WebTest
apps
SDK
Application Insights
= free
WHO ARE YOU?
demo
ASP.NET
SDK
IIS
Status Monitor
web
<script/>
ping
WebTest
apps
SDK
Application Insights
add
run
ASP.NET
SDK
IIS
Status Monitor
web
<script/>
ping
WebTest
apps
SDK
Application Insights
add
run
ASP.NET
SDK
IIS
Status Monitor
web
<script/>
ping
WebTest
apps
SDK
Application Insights
add
run
+dependencies
requirements
Server 2008+ or Windows 7+
NetFx 4+
IIS 7+
ASP.NET
SDK
IIS
Status Monitor
web
<script/>
ping
WebTest
apps
SDK
Application Insights
add
run
webtest - fail
limits
max 2 tests
max 3 locations
currently…
Bank example 27/1
16:00 – 01:00
ASP.NET
SDK
IIS
Status Monitor
web
<script/>
ping
WebTest
apps
SDK
Application Insights
add
run
[debug]
[release]
telemetry data
common
ASP.NET
SDK
IIS
Status Monitor
web
<script/>
ping
WebTest
apps
SDK
Application Insights
metrics
vs
diagnostics
Metrics Explorer
alerts
Diagnostics Search
follow session
custom
custom - event
…all but WebTests
ALMOST THERE…
demo
data retention
Diagnostics 7 days
Metrics 30 days (/minute)
13 months (/hour)
Max 500 msgs/second, 10M page views+events/month
Metrics will be correct, diagnostics discarded
real world
Separate dev, staging, prod etc
= iKey different
Eg load test will give false numbers
upcoming
SDK 0.13
1-2 weeks
GA
couple months
read more
http://azure.microsoft.com/en-us/documentation/articles/app-insights-get-started/
http://azure.microsoft.com/en-us/documentation/articles/app-insights-data-retention-privacy/
http://blogs.msdn.com/b/visualstudioalm/archive/2015/01/07/application-insights-support-for-multiple-environments-stamps-
and-app-versions.aspx
@andyhammar
Andreas Hammar
@jayway

TechX Azure 2015 - Application Insights

Editor's Notes

  • #3 A 360 degree view on your applications
  • #4 Still in preview for a couple more months, probably GA end of Q1
  • #5 Old vs new version, lots of docs point to old
  • #6 The core is an instrumentation key Belongs to a resource group – grouping for spending, access etc
  • #7 Demo: QR-code  dev/itpro Show portal Show stats Usage – page views Segment on OS
  • #8 Start with web
  • #9 VS2013 U3 has it built-in
  • #10 Add installs nuget and updates web.config Also gives an AI config file
  • #11 Applicationinsights.config
  • #12 VS shows that events are being sent Data immediately shows up in the portal
  • #13 Any web (or javascript-enabled) app can send telemetry
  • #14 Easy to access code from portal
  • #15 Client side data
  • #16 Currently the only way to monitor dependant resources (BLOB, HTTP, SQL)
  • #17 Install and choose what web apps to activate, will update config and restart IIS.
  • #18 Status Monitor adds monitoring of dependant resources, otherwise the same as
  • #19 IIS is required
  • #20 Outside-in web test
  • #21 Add your test – locations and criteria
  • #23 How can a 200-returning call keep failing? ALL resources must succeed for test to pass
  • #24 These limits will probably change soon
  • #25 Some glitches around hot hours for online banking
  • #27 Apps coming soon – but can still report telemetry to ASP.NET Application Insights-app with apps SDK.
  • #30 Debug mode reports continously, release mode sends upon NEXT resume. (if online, otherwise next time)
  • #31 Example of telemetry data
  • #32 Some common concepts
  • #33 Metrics is looking at lots of data at once (eg graphs) Diagnostics is per event
  • #34 Metrics explorer has filters
  • #35 Alerts on metrics
  • #36 Drilling down opens diagnostics search
  • #37 Eg you can follow a session.
  • #38 Custom telemetry is easy; events, exceptions and pageviews are most common. You can send properties too. Metrics are currently not shown in the Azure portal.
  • #39 Custom events are also easily accessible in the portal.
  • #40 Continuous export to storage container, nicely organized on type, json data.
  • #41 DEMO - storage xplorer - alerts - diagnostics search follow session filter - - banks?
  • #42 Of course continuous export allows you to keep ALL data.
  • #45 Bought by Microsoft fall 2014, will hopefully be a part of AI in the future 