Measure All The Things with App Metrics
summary
Adds App Metrics to an ASP.NET Core app with use metrics in Program.cs and add metrics in Startup, exposes /metrics JSON and can report to InfluxDB + Grafana (Chronograf for exploration). Demo app records startup timings, finds a loop fetching 20,000 products one-by-one and removes 1.5 minutes from startup. Uses Docker compose, pushes counters/gauges/meters/timers/histograms/apdex, listens to CLR events for thread‑pool, GC and exceptions, shows live counts (28 users, 43 new players) and query timings.
AI-written summary · about
chapters (27)
- 0:00Intro
- 0:55Metrics
- 5:06Metrics vs Logs
- 5:16Logs
- 6:21What to measure
- 8:28Web applications
- 8:56Native applications
- 9:59Feature usage
- 10:32How to measure
- 10:48App Metrics
- 11:52NDC Bingo
- 13:13NDC Bingo Project
- 13:47Using App Metrics
- 13:57App Metrics Code
- 19:53Add Metrics Extension
- 20:54Create a Dashboard
- 21:15Open APM IO
- 22:25Storage
- 24:39Flux DB
- 25:06Graphhonor
- 25:37Chronograph
- 25:47Docker
- 32:19Dashboard
- 39:27Counters
- 47:39Meters
- 48:29Event Listener
- 56:14Histograms
related talks
54mLogging, Metrics and Events in ASP NET Core
01h 01mLogging, tracing and metrics: instrumentation in .NET and Azure
52mMonitoring and alerting like a pro with Azure Monitor/Application Insights
33mProfile & Monitor Web Apps with Azure Application Insights
27mEasy App Metrics
52mApplication Insights: The Tool You Never Knew You Needed
36mMetrics - What's your code actually doing?
30mHow to collect application metrics if it needs to be done yesterday
