开发者

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

开发者 https://www.devze.com 2023-03-13 09:13 出处:网络
My app as an API which I have no control of. I d开发者_如何学JAVAon\'t know which users use it, how many times, etc.

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

精彩评论

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

关注公众号