You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 copiesWebMetricsPipeProvider
:StaticMetricsPipeProvider.Instance.Start
inOnActionExecuting
and storeStaticMetricsPipeProvider.Current
inHttpContext.Current.Items
.StaticMetricsPipeProvider.Instance.Stop
inOnActionExecuted
.The text was updated successfully, but these errors were encountered: