Performance Metrics
Tracking system metrics such as gc, memory and cpu usage is very useful to compare against feature usage and other metrics to identify possible bottlenecks.
Toggly makes use of .net's built-in Performance Counters, and enables you to monitor any metrics exposed through Performance Counters, whether out-of-the-box or custom.
Add Performance Metrics to your application
Install the Toggly.Metrics.SystemMetrics
package
Register collection of the performance metrics you want to collect.
The service takes in a Dictionary<
Event Source Name
, Dictionary<
Counter Name
,
Metric Name in Toggly
>>
A full list of well-known performance counters is available at https://learn.microsoft.com/en-us/dotnet/core/diagnostics/available-counters
Last updated