41. 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
42. real world
Separate dev, staging, prod etc
= iKey different
Eg load test will give false numbers
Still in preview for a couple more months, probably GA end of Q1
Old vs new version, lots of docs point to old
The core is an instrumentation key
Belongs to a resource group – grouping for spending, access etc
Demo:
QR-code dev/itpro
Show portal
Show stats
Usage – page views
Segment on OS
Start with web
VS2013 U3 has it built-in
Add installs nuget and updates web.config
Also gives an AI config file
Applicationinsights.config
VS shows that events are being sent
Data immediately shows up in the portal
Any web (or javascript-enabled) app can send telemetry
Easy to access code from portal
Client side data
Currently the only way to monitor dependant resources (BLOB, HTTP, SQL)
Install and choose what web apps to activate, will update config and restart IIS.
Status Monitor adds monitoring of dependant resources, otherwise the same as
IIS is required
Outside-in web test
Add your test – locations and criteria
How can a 200-returning call keep failing?
ALL resources must succeed for test to pass
These limits will probably change soon
Some glitches around hot hours for online banking
Apps coming soon – but can still report telemetry to ASP.NET Application Insights-app with apps SDK.
Debug mode reports continously, release mode sends upon NEXT resume. (if online, otherwise next time)
Example of telemetry data
Some common concepts
Metrics is looking at lots of data at once (eg graphs)
Diagnostics is per event
Metrics explorer has filters
Alerts on metrics
Drilling down opens diagnostics search
Eg you can follow a session.
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.
Custom events are also easily accessible in the portal.
Continuous export to storage container, nicely organized on type, json data.