graphite-client
graphite-client copied to clipboard
Where to find WebMetricsPipeProvider
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.StartinOnActionExecutingand storeStaticMetricsPipeProvider.CurrentinHttpContext.Current.Items. - Call
StaticMetricsPipeProvider.Instance.StopinOnActionExecuted.