Hi Jason,

APIM we have apps related stats. In your case your client app(PHP, android
etc) use the app created using APIM store to invoke exposed APIs from APIM
GW. Then your client application can be represent using oAuth App you
created from store. So in APIM Store, you can see the oAuth app's stat and
which can be used to represent actual client's app stat as well.

API Usage Across Usage Agent graph, show the stat based on the User-Agent
header. So this is diffrent to what i explain earlier. Anyway this graph is
currently limited to show OS and Browser related stat. So show stat based
on the other attribute in the User-Agent is not possible ATM.

Thanks and Regards


On Fri, Jan 12, 2018 at 6:15 PM, Jason De Silva <[email protected]> wrote:

> Hi Fazlan,
>
> Let me elaborate a bit more, what I basically need is to capture the
> language the API was invoked from e.g PHP app 20 calls, python app 50 calls
> etc. Currently what we provide by enabling analytics is something like
> below which is the OS version the API was called from. Since, we provide
> different SDKs to develop apps wanted to know the possibility of tracking
> the number of requests called via php app, python app etc.
>
>
> ​
>
> Regards,
> Jason
>
> Jason De Silva
> *Software Engineer - QA*
> Mobile: +94 (0) 772 097 678
> Email: [email protected]
> WSO2 Inc. www.wso2.com
> <http://wso2.com/signature>
>
> On Fri, Jan 12, 2018 at 6:04 PM, Fazlan Nazeem <[email protected]> wrote:
>
>> Hi Jason,
>>
>> There is nothing special you have to configure to make this chart work.
>> Just enabling analytics will be enough.
>>
>> On Fri, Jan 12, 2018 at 5:55 PM, Jason De Silva <[email protected]> wrote:
>>
>>> Hi All,
>>>
>>> In APIM we provide sdk's to develop client apps to consume the apis from
>>> a preferred language. Let's assume a scenario where I develop several apps
>>> using php, android, java etc.  which consumes from the same API. In such
>>> scenario is there a possibility that I can differentiate the api
>>> invocations done app wise to be tracked from analytics. E.g 50 calls
>>> via php app, 25 calls via android app etc.?
>>>
>>> I was going through [1] and I found that we currently capture the
>>> "User-Agent" header and save the OS and Browser version in
>>> API_REQ_USER_BROW_SUMMARY table and we generate stats to show the browser
>>> version under "API Usage Across Usage Agent" in analytics. But I could not
>>> find any info on how to get the above configured. Any input on this is
>>> highly appreciated.
>>>
>>> [1] https://docs.wso2.com/display/AM2xx/Viewing+API+Statisti
>>> cs#ViewingAPIStatistics-APIUsageAcrossUserAgent
>>>
>>> Regards,
>>> Jason
>>>
>>> Jason De Silva
>>> *Software Engineer - QA*
>>> Mobile: +94 (0) 772 097 678
>>> Email: [email protected]
>>> WSO2 Inc. www.wso2.com
>>> <http://wso2.com/signature>
>>>
>>
>>
>>
>> --
>> Thanks & Regards,
>>
>> *Fazlan Nazeem*
>> Senior Software Engineer
>> WSO2 Inc
>> Mobile : +94772338839 <+94%2077%20233%208839>
>> [email protected]
>>
>
>


-- 
Rukshan Chathuranga.
Software Engineer.
WSO2, Inc.
+94711822074
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to