Upload
david-j-rodriguez-hernandez
View
118
Download
2
Embed Size (px)
Citation preview
#DNNConnect2016
Website monitoring with Application Insights
David RodriguezDNN Corp@davidjrh
#DNNConnect2016
Please support our valuable sponsors
#DNNConnect2016
On this session
• Overview• Building successful apps & services
• Understanding Application Insights• Ensure your apps are available, performing & succeeding
• Getting started with Application Insights• Easy onboarding with Visual Studio & Status Monitor
• Integrating Application Insights and DNN• Easy integration with DNN Application Insights provider
• Solving problems with Application Insights• Identify, triage & diagnose service failures & performance
issues; Learn continuously
#DNNConnect2016
Building successful apps is hard
Competition is fierceUser retention requires constant improvements to your apps and services
Constant evolutionWeb services & mobile apps need to evolve rapidly to survive & grow
Continuous delivery is hereMost major services like Microsoft, Facebook, and others push update as often as every day
Success requires data-drive decision makingMaking effective choices about your backlog requires deep understanding of your users behaviors and habits
#DNNConnect2016
Modern Application Lifecycle
ProductionDevelopment
Collaboration
BACKLOG
REQUIREMENTSPlan
Develop + Test
Monitor + Learn
Release
#DNNConnect2016
Existing impediments
ProductionDevelopment
Collaboration
BACKLOG
REQUIREMENTSPlan
Develop + Test
Monitor + Learn
Release
Quickly detect and triage application issues
Actionable and contextual info to resolve incidents
Prioritize and validate investments based on real data
MTTD
MTTR
Continuous learning
Tools and processesCollaboration
#DNNConnect2016
Application Insights
Telemetry is collected at each tier: server backend, middleware, web service & browser
1Telemetry arrives in Application Insights service in the cloud where it is processed & stored
32 Detect, Triage & Diagnose issues with powerful out of the box Performance & Usage telemetry
#DNNConnect2016
Telemetry for 360° view
platform
infrastructure
app
1
3
4
5
Outside-in monitoring
Developer-emitted traces and events
Observed application behavior
Infrastructure performance
URL pings and web tests from 8 global pointsof presence
Whatever the developer would like to sendto Application Insights
No coding required – service dependencies,queries, response time, exceptions, logs, etc.
System performance counters
2 Observed user behaviorHow is the application being used?
#DNNConnect2016
DEMOGetting Started with Application Insights
#DNNConnect2016
DNN and Application Insights
• What telemetry?• DNN Usage:
• Page views• Web requests• Event Log• Trace information (log4net)• Exceptions (including browser exceptions)• Dependencies:
• database calls• 3rd party services (SMTP, WebServices, etc.)
• Performance
https://github.com/davidjrh/dnn.appinsights
#DNNConnect2016
DNN and Application Insights https://github.com/davidjrh/dnn.appinsights
#DNNConnect2016
DEMOIntegrating Application Insights on DNN Platform
#DNNConnect2016
Why is diagnostics hard?
• Diagnosing across the entire app stack is hard unless various perspectives are connected
Service Performance
• Transaction response time
• DB response time• Exceptions• CPU and memory
utilization• Data Center location
• Custom events• Custom dimensions• App KPIs• Conversion rates• Funnel, Cohort
analysis
• Response time• Errors• Geo location• Browser type and
version• Session
App/Business Metrics
Customer Experience
#DNNConnect2016
Out-of-the-box: “Proactive Insights”
#DNNConnect2016
Typical adhoc and iterative diagnostic process
Customer complains about an app issue
What is the
overall error
trend?
Is the error trend
unusual ?
What are the errors
broken by type?
What is the most frequent
error type?
How many
users are impacted
by this error?
Which set of user
are having
the worst experienc
e?
Look at a user
session to see
what this user did?
Did the users
actions cause any
unusual activity on the DB?
Slow response from DB. Dive into code….
#DNNConnect2016
Analytics @ Application Insights
ApplicationInsights
• Pre-defined, guided experiences
• Bringing together relevant data to Triage, Detect, Diagnose and Operationalize
• Proactive Insights• Native Visual Studio and
Azure experience• Analytics Enabled
Analytics
• Adhoc analysis for deep diagnostics
• Rich Query language• Inline Visualization• Drill through from pre-
defined experience• Operationalize findings
Big data analytical
solution at-scale
#DNNConnect2016
DEMOApplication Insights Analytics
#DNNConnect2016
Takeaways
• Start using Application Insights is easy and free• AI automatically stores all your site telemetry data on the
cloud• Proactive detection introduces machine learning checking
your site logs• Iterative diagnostic process through Ad-Hoc Queries and
Interactive Analytics
#DNNConnect2016
Questions?
Please remember to evaluate the session online
Thank you
#DNNConnect2016
Website monitoring with Application Insights
David RodriguezDNN Corp@davidjrh