Metrics in C# / .NET

Metrics allow you to gain useful additional information to give you a clearer picture of what's going on in your app.

There are a lot of different types of metrics in Toggly. Some are tracked automatically, and some are up to you to define.

Automatically tracked

Feature checks

We automatically track how many times a feature was checked and returned on or off, and we separately track how many times each happened unique per request (useful when a feature is checked multiple times within a single request)

Get Definitions

We track how many times you fetch definitions, and what the cache-hit ratio is

Send Metrics

We track how often you send metrics / report usage

Semi-Manually tracked

Some types of metrics are more useful when assisted by you, who knows the application best. For this, we have helpers to enable you to easily capture additional usage, business and performance metrics.

pageFeature UsagepageBusiness MetricspagePerformance Metrics

Last updated