Re: [Architecture] APIM Statistics introduce new field to the Analytics events

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: [Architecture] APIM Statistics introduce new field to the Analytics events

Harsha Kumara-2
+1 to include this. It's a basic requirement to differentiate the prod and sandbox traffic in the system. Also, correlation Id will help to track the request and response if needed.

On Sat, Dec 23, 2017 at 12:25 PM, Rukshan Premathunga <[hidden email]> wrote:
Hi All,

Can we check the possibility of the $Subject. In the latest APIM(wso2am-2.1.0-update4), correlation ID and the key type(sand or prod) is include in the event as JSON attribute[1]. I think it is better to moved those attributes as a single value attribute and passed to the Analyzer.
So we can upgrade the stream versioning and do these changes.

Also it is better to persist key type, data center ID in the STAT_DB and we can filter production and Sandbox analytics future. So when migrating we need to alter tables with key type. But we can assume that existing data are from the production key and insert those key type when migrating.

So Any idea about this?


[1]  meta_clientType:{"keyType":"PRODUCTION","correlationID", "19c4350a-2079-406a-bece-808954b4f2d7"} 
Thanks and Regards

--
Rukshan Chathuranga.
Software Engineer.
WSO2, Inc.
<a href="tel:+94%2071%20182%202074" value="+94711822074" target="_blank">+94711822074

_______________________________________________
Architecture mailing list
[hidden email]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture




--
Harsha Kumara
Software Engineer, WSO2 Inc.
Mobile: +94775505618
Blog:harshcreationz.blogspot.com

_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev