Hi all,

In AppCloud we will be having the HTTP Monitoring dashboards to showing the
statistics of the application usages. To accomplish this, we will be using
the data publishers shiped with msf4j and AS-6.0.0. But still we need to
publish some AppCloud specific data (i.e : Application Name, Application
Version, etc.)  and tenant id from these publishers to DAS.

To publish these custom data we have come with the following solution,
which requires some modification in the msf4j and AS publishers.

*When creating the containers during the application deployment, AppCloud
will set these custom data as Environment Variables. These environment
variables are prefixed with the keyword 'arbitrary'. *

*e.g : If we are setting application name as an environment variable, the
key of this environment variable will looks like
'arbitrary_applicationName'.*

*Then during the publishing time, the msf4j or AS will read all the
environment variables with the prefix 'arbitrary' and publish them as
arbitrary attributes to DAS.*

*The stream definition in the DAS will be configured to capture these
arbitrary attributes and use them for its internal processing.*

In order to implement this solution we are planning to add these changes to
the next releases of msf4j and AS with the coordination of msf4j and As
teams.

If you have any comments on the above solution, we are kindly appreciating
them.

Thanks & Regards,
Mahendran Pirinthapan
Software Engineer | WSO2 Inc.
Mobile +94772378732.
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to