Metrics Explorer - Custom metrics, events and properties
Feb 7, 2015Ketan Ghelani [MSFT]

Summary
This post introduces the ability to track custom metrics, events, and properties in Application Insights. It details how to use `TrackEvent()` with custom properties and metrics, and `TrackMetric()` for independent measurements. The post provides code examples for recording events like file uploads/downloads, including associated properties like file type and size, and metrics like load time. It also demonstrates tracking pure metrics such as processing queue length and CPU occupancy at regular intervals. The post clarifies when to use `TrackEvent()` versus `TrackMetric()` for different telemetry scenarios.
More from the Application Insights Deployment Markers trail
- Issue with using Application Insights with load tests
- Monitor Team Services web extensions with Visual Studio Application Insights
- Getting Application Insights counters with Cloud-based Load Testing
- Application Insights: Choose your own Performance Counters
- Introducing the Application Insights SDK for Java