apinf / platform

Apinf - Open source API management platform with multi proxy and protocol support
https://apinf.com/
European Union Public License 1.1
74 stars 33 forks source link

Show origin of calls for analytics #1072

Open philippeluickx opened 8 years ago

philippeluickx commented 8 years ago

The (main part of the) url that does the call to the API endpoint. Let's say abc.com uses the API of xyz.com, then we should show this info to the xyz.com owner. Include the count for that time period as well.

brylie commented 8 years ago

Please give a specific example using Apinf.io. Also what business need or purpose does this serve?

philippeluickx commented 8 years ago

This is similar to google analytics. You want to know where users come from. So let's say "apicatalog.com" is a webapp that uses the apinf.io API to show a list of APIs, then I as a API owner would like to see that this webapp exists and how often they use my API.

The value is that you want to discover which use cases people implement for your API. If you only have a username (the person that registered the key), then you probably still know nothing. Even worse, if you can use an API without key, you know nothing at all.

brylie commented 8 years ago

API calls come directly from the application/user IP address, and may not contain information such as HTTP 'referer'. How might our proxy get the referring application name, domain name, or other relevant metadata?

philippeluickx commented 8 years ago

Good point, to be investigated? Also, this might be data that is saved on the proxy level?

On Wed, Jun 8, 2016, 12:20 Brylie Christopher Oxley < notifications@github.com> wrote:

API calls come directly from the application IP address, and may not contain information such as HTTP 'referer' https://en.wikipedia.org/wiki/HTTP_referer. How might our proxy get the referring application name, domain name, or other relevant metadata?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/apinf/api-umbrella-dashboard/issues/1072#issuecomment-224535307, or mute the thread https://github.com/notifications/unsubscribe/AAzFAj3U6keNbbcRuQFQB60ZbQ7Gg_0Vks5qJol3gaJpZM4Iv6x4 .

brylie commented 8 years ago

Yep, our analytics data comes straight from the proxy, so we are somewhat limited to what it collects. API Umbrella saves at least the following related data:

API Umbrella screenshot

Reference: