Hi all,

We have been constantly getting requests from customers to have a proper
PDF reporting mechanism where users can export analytics data in PDF
format. Therefore we have implemented a prototype of this feature for the
upcoming 3.1 release.

The current prototype is implemented by exposing an MSF4J rest service
which will generate a hit count report for a particular month, year
combination. The month, year combination has to be passed as query params
to the API. Attached herewith is a PDF report generated by this service. We
are thinking of adding two more types of reports if time permits.
Altogether this makes 3 types of reports which can be downloaded.

1) Request Summary
2) Throttle Summary
3) Fault summary

The plan is to secure the service with tenant admin credentials. This means
not all users who visit the analytics dashboard will be able to download
the PDF report unless he/she is an admin. We are thinking of exposing a new
dashboard with a single widget that takes the inputs (year, month) and
downloads this report. The dashboard will be secured with admin role,
resulting in only admin users being able to view this dashboard. The
rationale behind this decision is not to expose analytics data of publisher
access-controlled APIs to normal API publishers.

Please provide your suggestions on any improvements or changes which can
add value to this feature.

-- 
Thanks & Regards,

*Fazlan Nazeem | *Associate Technical Lead | WSO2 Inc
Mobile : +94772338839 | [email protected]

Attachment: report.pdf
Description: Adobe PDF document

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

Reply via email to