Skip to content

Add EventSource/EventCounter tracing and metrics for ResponseCaching #2601

Closed
@aspnet-hello

Description

@aspnet-hello

From @anurse on Wednesday, November 1, 2017 3:15:24 PM

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 EventSource
    • CacheSets - Counts the number of created items
    • CacheRemoves - Counts the number of explicitly removed items
    • CacheHits - Counts the number of successful cache lookups
    • CacheMisses - 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.

Copied from original issue: aspnet/ResponseCaching#141

Metadata

Metadata

Assignees

No one assigned

    Labels

    affected-fewThis issue impacts only small number of customersarea-middlewareIncludes: URL rewrite, redirect, response cache/compression, session, and other general middlewaresenhancementThis issue represents an ask for new feature or an enhancement to an existing onefeature-response-cachingseverity-nice-to-haveThis label is used by an internal tool

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions