Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where to find WebMetricsPipeProvider #21

Open
tkirill opened this issue Sep 15, 2015 · 0 comments
Open

Where to find WebMetricsPipeProvider #21

tkirill opened this issue Sep 15, 2015 · 0 comments

Comments

@tkirill
Copy link

tkirill commented Sep 15, 2015

We want to measure execution time of one MVC action. It seems like we need WebMetricsPipeProvider but it isn't included in any available nuget package. So how we intended to use it?

Currently we use custom ActionFilter which effectively copies WebMetricsPipeProvider:

  • Call StaticMetricsPipeProvider.Instance.Start in OnActionExecuting and store StaticMetricsPipeProvider.Current in HttpContext.Current.Items.
  • Call StaticMetricsPipeProvider.Instance.Stop in OnActionExecuted.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant