Metrics
Count number of pages scraped by bots over time
Tracking number of pages scraped by web crawlers To count the number of web pages scraped, we can…

Alexandru Puiu
January 05, 2023
1 min read
1services.AddTogglyWeb(options =>
2{
3 options.AppKey = "<YOUR_APP_KEY>";
4 options.Environment = "<YOUR_APP_ENVIRONMENT>";
5});
6
7// Views
8<feature name="FeatureX,FeatureY" requirement="Any">
9 <p>This only be seen if 'FeatureX' or 'FeatureY' is enabled.</p>
10</feature>
11
12// Controllers & Actions
13[FeatureGate(FeatureFlags.Users)]
14[FeatureUsage(FeatureFlags.Users)]
15public class UsersController : Controller
16{
17 ...
18}
19
20//IFeatureManagerSnapshot
21var feature1Enabled = await _featureManager.IsEnabledAsync(FeatureFlags.Feature1);