Add EventSource/EventCounter tracing and metrics for ResponseCaching
analogrelay opened this issue · 1 comments
analogrelay commented
Some events listed below. The goal is to find issues that will help users solve problems so if these aren't going to do that job, feel free to suggest/discuss others!
Microsoft-AspNetCore-ResponseCaching
EventSourceCacheSets
- Counts the number of created itemsCacheRemoves
- Counts the number of explicitly removed itemsCacheHits
- Counts the number of successful cache lookupsCacheMisses
- Counts the number of failed cache lookups- Eviction? Where does it happen and can it be tracked here?
See https://gist.github.com/anurse/af1859663ac91c6cf69c820cebe92303 for some guidance on adding EventSources and EventCounters to ASP.NET projects.
aspnet-hello commented
This issue was moved to dotnet/aspnetcore#2601