开发者

Rails 3: How To Keep Track of My API Usage?

My app as an API which I have no control of. I d开发者_如何学JAVAon't know which users use it, how many times, etc.

What's the best way of doing an analytics system to keep track of my API usage? Does it need to be a Rack app to filter traffic or there's a better solution for it?

Thanks!


You can create an interface by your self. All you have to do is, trace users by their request to your app and can track records by identifying them by their api key. So a user request to your api will be their usage and so on.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜