Azure allows you to pipe loads of stats and diagnostic information to blob and table storage. Google for “WAD Azure” and you’ll find a lot more information.
Its great for logging things like the event queue, performance counters and loads more over time.
If you want to push Sitecore counters through to this you are in luck. Make sure the counters are installed on the box – for web-roles this can be done via a startup task.
Then update your ‘diagnostics.wadcfg’ config to include the counters you want – make sure you include the (*)!
1 2 3 4 5 6 7 8 9 10 |
<!-- updated as per https://sdn.sitecore.net/Articles/Administration/Sitecore%20Performance/Optimizing%20Sitecore%206%20and%20later/Optimizing%20Performance%20in%20Sitecore.aspx --> <PerformanceCounterConfiguration counterSpecifier="\Sitecore.Caching(*)\CacheClearings" sampleRate="PT1M" /> <PerformanceCounterConfiguration counterSpecifier="\Sitecore.Caching(*)\CacheHits" sampleRate="PT1M" /> <PerformanceCounterConfiguration counterSpecifier="\Sitecore.Caching(*)\CacheMisses" sampleRate="PT1M" /> <PerformanceCounterConfiguration counterSpecifier="\Sitecore.Data(*)\Data.ItemsAccessed" sampleRate="PT1M" /> <PerformanceCounterConfiguration counterSpecifier="\Sitecore.Data(*)\Data.PhysicalReads" sampleRate="PT1M" /> <PerformanceCounterConfiguration counterSpecifier="\Sitecore.Data(*)\Data.PhysicalWrites" sampleRate="PT1M" /> <PerformanceCounterConfiguration counterSpecifier="\Sitecore.System(*)\Exceptions.ExceptionsThrown" sampleRate="PT1M" /> |
This caught me out for a while, I was missing the (*).
There is a handy cmd you can run to see all the counters available:
1 |
typeperf -q -o "C:\Temp\counters.txt" |