Skip to content

Varorbc/AspNetPerformanceMetrics

 
 

Repository files navigation

#如何使用

配置:

Metric.Config.WithHttpEndpoint("http://localhost:1234/").WithAllCounters().WithInternalMetrics();
config.Filters.Add(new WebApiPerformanceAttribute());

在 Global.cs中配置

protected void Application_End()
{
  PerformanceMetricFactory.CleanupPerformanceMetrics();
}

About

基于Metrics.Net的性能监控包

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%