I have a service that handles relatively "expensive" requests. The average request rate is expected to be around 5-10 per minute. I would like to track this indicator with a custom performance counter, but all the available types of counters seem to be focused on much more common events.
What would be the best way to set this metric through a performance counter? Perhaps I could just keep track of the total number of events that occurred, together with the total time, and then calculate the average value and code and set it through NumberOfItems32? What seems a little strange is that he will not use the same “averaging window” as properly managed counters.
source
share