Visual Studio Application Insights supports collecting custom metrics, events, and properties. This gives you a 360-degree view of your application with powerful insights into what users are doing with your application and how it is performing.
To learn more, see
Metrics Explorer - Custom metrics, events, and properties.
Visual Studio Application Insights is in preview.