I don't think so. If the App sends the User-Agent header in the correct form, it should display it correctly.
On Mon, Jan 15, 2018 at 1:41 PM, Jason De Silva <[email protected]> wrote: > Hi Praminda, > > As I understood even if the client app sends the User-Agent header with > the information of which type of client invoked the API, the > API_REQ_USER_BROW_SUMMARY table currently records only the OS and browser > version. So, still we will need improve that aspect to record the client > type which invoked the API to cater this scenario. > > 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 Mon, Jan 15, 2018 at 12:38 PM, Praminda Jayawardana <[email protected]> > wrote: > >> Hi Jason, >> >> This is still possible if the client application is configured (or >> implemented) to send the User-Agent header which specify the specific >> client used to invoke the API. If some information regarding who invoked >> the API is not sent by the client, I don't see a clear way to distinguish >> requests among different clients. >> >> Thanks, >> Praminda >> >> On Mon, Jan 15, 2018 at 10:06 AM, Jason De Silva <[email protected]> wrote: >> >>> Hi Rukshan, >>> >>> Thank you for the information. Since it currently shows only the >>> cumulative information of the OAuth app stats, I have created a git issue >>> [1] to consider support different client app specific analytics against >>> a single API. This way we will be able to track different client apps >>> invocations against one single application. >>> >>> [1] https://github.com/wso2/product-apim/issues/2414 >>> >>> 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 8:46 PM, Rukshan Premathunga <[email protected]> >>> wrote: >>> >>>> 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 <+94%2071%20182%202074> >>>> >>> >>> >>> _______________________________________________ >>> Dev mailing list >>> [email protected] >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> >> -- >> >> *Praminda Jayawardana* >> Software Engineer >> WSO2 Inc.; http://wso2.com >> Mobile : +94 (0) 716 590918 <+94%2071%20659%200918> >> > > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Nuwan Dias Software Architect - WSO2, Inc. http://wso2.com email : [email protected] Phone : +94 777 775 729
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
