2. WONDERING WHO
IS THAT GUY?
HENRY BEEN
Independent Devops & Azure Architect
E: henry@azurespecialist.nl
T: @henry_been
L: linkedin.com/in/henrybeen
W: henrybeen.nl
3. Very boring part
Pretty boring part
Maybe boring part
Amazing part
Really amazing part
Mindblowing part
LOGGING, INSTRUMENTATION, DASHBOARDS & ALERTS
4. A bit of monitoring theory
What to monitor
Demo’s!
LOGGING, INSTRUMENTATION, DASHBOARDS, ALERTS
Continuous Deployment for Azure Serverless - @henry_been
6. Instrumentation
Most often forgotten
Concerned with metrics
• (Timestamp, value) tuples
• Events & values
• Dimensions
• Used for Dashboards & Alerts
Rolled up over time
Logging
Often combined with tracing
Concerned with state changes
• When
• By who
• What changed
• Can be a source of metrics
Retained for longer or indefinitly
Tracing
Used for troubleshooting
What we developers call logging
• When
• Code location
• Very, very verbose message
• Can be a source of metrics
Retained for a limited time
MONITORING
13. WHAT NOT TO MONITOR (MAYBE)
FOCUS ON AVERAGES
Averages are lying cheats and hide real issues!
• Use dimensions to find outliers
• Use maximums or percentiles to identify spread
FOCUS ON YOUR SYSTEMS
Do you think your users care? At all?
• Is the amount of disk IO really interesting?
• Does page file usage predict conversion?
To add some nuances:
- Some system metrics are handy, just don’t start there maybe
- Same goes for averages
26. Platform
Built into (almost) every offering
Fixed metrics
• Different for each offering
• Automatically recorded
Enabled by default and FREE!
Custom
Using Application Insights
Custom metrics
• Self-chosen name
• Double values
• Dimensions disabled by default
Use the TelemetryClient class
Application
Using Application Insights
Well known metrics
• CPU percentage
• Response times
• Memory usage
Install NuGet package, configure
instrumation key and DONE
METRIC - SOURCES
30. Two more things
“YOU CAN USE THE DEMOS!”
“AND YOU CAN USE THE DEMOS!”
“EVERYBODY CAN USE THE DEMOS!”
DASHBOARDS
AND ALERTS
AS CODE
31. DO TRY THIS AT HOME!
HENRY BEEN
Independent Devops & Azure Architect
E: henry@azurespecialist.nl
T: @henry_been
L: linkedin.com/in/henrybeen
W: henrybeen.nl