如何在不访问IIS日志文件的情况下监视ASP.NET MVC服务器负载和性能

时间:2022-06-01 18:53:12

I need to monitor the load and performance on my ASP.NET MVC web service application. The application is hosted on AppHarbor and behind a load balancer. Currently just running 2 web workers. Some of the data we're trying to collect:

我需要监视ASP.NET MVC Web服务应用程序的负载和性能。该应用程序托管在AppHarbor上,位于负载均衡器后面。目前只运行2名网络工作者。我们试图收集的一些数据:

  • average/peak load in hits per second
  • 每秒点击次数的平均/峰值负载
  • min/max/average request processing time
  • 最小/最大/平均请求处理时间

AppHarbor has been promising access to IIS logs for some time, but as far as I can tell it has yet to materialize. I'm thinking of just rolling my own ASP.NET filter or something to log each request to a database, but I'm a little worried of impacting performance negatively by introducing a database write on each request.

AppHarbor一直承诺可以访问IIS日志一段时间,但据我所知,它还没有实现。我正在考虑只是滚动我自己的ASP.NET过滤器或者将每个请求记录到数据库,但我有点担心通过在每个请求上引入数据库写入来对性能产生负面影响。

This is not a very high traffic application at the moment. Hard to tell with no logs, but my guess is on the order of a few hundred thousand requests per month.

目前这不是一个非常高的流量应用程序。很难说没有日志,但我的猜测是每月几十万的请求。

Are there any off the shelf packages I should consider? Is it worth considering some kind of cloud based logging/analysis?

我应该考虑哪些现成的包装?是否值得考虑某种基于云的日志记录/分析?

1 个解决方案

#1


1  

You should probably take a look at the New Relic add-on. AppHarbor has a bunch of other monitoring add-ons that might work for your use. Hosted Graphite is another one.

您应该看一下New Relic插件。 AppHarbor有许多其他可能适合您使用的监控插件。托管石墨是另一个。

#1


1  

You should probably take a look at the New Relic add-on. AppHarbor has a bunch of other monitoring add-ons that might work for your use. Hosted Graphite is another one.

您应该看一下New Relic插件。 AppHarbor有许多其他可能适合您使用的监控插件。托管石墨是另一个。