ASP.NET Web 服务的使用指标

发布于 2024-08-18 06:09:31 字数 222 浏览 4 评论 0原文

有没有一种方法可以收集 ASP.NET Web 服务的使用指标,例如 Google Analytics 收集网站的使用指标。所有这些都无需实现我自己的数据库表或代码。

我不需要收集 Google Analytics 收集的大量信息,只需收集简单的信息,例如呼叫数量及其随时间的分布情况。

如果无法使用外部工具,如何简单地处理对 Web 服务的请求,以提取请求位置、请求源和其他可以收集的信息等信息。

Is there a way to collect usage metrics of an ASP.NET web service like Google Analytics collect usage metrics of a web site. All without implementing my own database tables or code.

I don't need to collect the huge amount of information collected by Google Analytics, only simple information, like the number of calls and their distribution over time.

If no external tool can be used, how to simply process the request to a web service to extract information like request location, request source, and other information that could be collected.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

鸠魁 2024-08-25 06:09:31

如果您将服务托管在 IIS Web 服务器中(我认为您这样做),则可以随时检查 IIS Web 服务器应用程序日志,所有请求都会写入该文件。

打开 *.log 文件并将内容复制到 Excel,然后使用 Excel 对数据进行透视/分组/过滤/排序,以便您以有意义的方式向 Web 服务呈现计数(请求数)。

If you're hosting your service in an IIS web server (which I persume you do), you can always check the IIS web server application log, all requests are written to that file.

Open the *.log file and copy the contents to Excel, and use Excel to pivot/group/filter/sort the data so that you present the count (the number of requests) to the web service in a meanigful manner.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文