如何监控Ruby on Rails网站的流量?

发布于 2024-08-08 10:10:33 字数 90 浏览 4 评论 0原文

我有一个 ruby​​ on Rails 应用程序,很高兴看到我每小时获得多少次点击。是否有一些简单的免费软件可以执行此操作,或者我是否必须开发自定义解决方案?谢谢!

I have a ruby on rails application and it would be nice to see how many hits I get per hour. Is there some simple free software to do this or do I have to develop a custom solution? Thanks!

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

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

发布评论

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

评论(5

静谧 2024-08-15 10:10:33

Chartbeat and Clicky are two "real-time" analytic tools I've used. Chartbeat tells you quite a bit more from what I remember, although I have only used the free version of clicky.

千寻… 2024-08-15 10:10:33

google-analytics

其他选项:

您可以使用日志分析器,但您也会遇到一些延迟,因为大多数分析器应该是这样由类似 cron 的东西运行(并且信息不会像谷歌分析那样完整)

另一个选择是向您的 ApplicationController 添加一些 before_filter 并将信息写入数据库(信息也不会那么完整)或搜索具有此类功能的插件

google-analytics?

Other options:

You can use log analyzers but you also get some delay as most of them should be ran by something like cron (and info will not be as complete as with google analytics)

Another option is to add some before_filter to your ApplicationController and write info to db (info also will not be as complete) or search for plugin with such functionality

我恋#小黄人 2024-08-15 10:10:33

查看 Woopra。他们有一个 Java 应用程序,您可以下载并运行该应用程序,以非常直观的方式分析您的流量和访客。此外,您还可以在全球地图上看到显示即时访客的 ping 点。您安装一段 JavaScript 代码,然后访问您网站的用户将被跟踪,类似于谷歌的分析,但以更直接且在我看来有用的方式。

他们还有更多可用的功能,例如跟踪用户点击的页面进度等等。

Check out Woopra. They have a java application that you can download and run to analyze your traffic and visitors in a very visual manner. Also you can literally see ping dots on a global map showing instantaneous visitors. You install a piece of javascript code and then users visiting your site will be tracked similar to google's analytics, but in a more immediate and in my opinion useful manner.

There's a lot more features that they have available like tracking the page progression that a user clicks through, and others.

翻身的咸鱼 2024-08-15 10:10:33

我非常喜欢 glTail.rb http://www.fudgie.org/

它位于 github 上:http://github.com/Fudge/gltail

最好的部分是,它是开源的,Ruby 的,而且免费。 :-D

I absolutely LOVE glTail.rb http://www.fudgie.org/

it's on github here: http://github.com/Fudge/gltail

Best part is, it's open source, Ruby, and free. :-D

泼猴你往哪里跑 2024-08-15 10:10:33

市场上的大多数网络服务器都会保存详细的日志。

Most web servers on the market keep detailed logs.

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