Loupe provides a flexible method for recording a range of application metrics. This capability is used automatically by the Loupe Agent to store performance counter data retrieved from the Windows Performance Monitor infrastructure and can be used in your application to provide custom metrics to:
By creating custom application metrics, you make it easy to create insightful charts and graphs that can effectively communicate how your software is used and what the opportunities are for improvement.
Loupe uses a highly compressed storage format designed to efficiently compress both strings and numbers. Individual metric samples are very small, even for event metrics that record several values because of de-duplication techniques in the data storage format. All of this is done transparently by Loupe after your sample has been handed to it, ensuring your application can continue working without interruption.
Metrics are recorded asynchronously in a thread-safe manner that is designed to minimize any interruption in your application. While the specific overhead will vary by the processing capacity of the client computer, a modest computer can record thousands of samples per second on a single thread. Because of this performance it is reasonable to record extensive metrics for your application without reducing its scalability or user-perceived performance.