We should have HTTP API handler which would retrieve statistics informations and other monitoring data (ie. from monitor component) and return it in XML, JSON and HTML.
HTML should be in user readable format (ie. stats with possible graphs?) and easy to understand (ie. values which are ok, should be in green marked as ok, and so on).
Andrzej Wójcik (Tigase) commented 1 decade ago
I implemented new handlers for HTTP API which will be responding by default under /rest/stats. There are 2 handlers:
retrieves stats for particular component as /rest/stats/{comp-name} ie. /rest/stats/sess-man
retrieves stats for all components and aggregates data if request is from web browser as /rest/stats
Both handlers contains renderers which are used when server detects that requests is from web browser and then prepare web pages with user friendly presentation of values (including charts)
Artur Hefczyc commented 1 decade ago
Bartek, you will be working on the whole monitoring part in the server, so I am assigning this task for QA to you.
We should have HTTP API handler which would retrieve statistics informations and other monitoring data (ie. from monitor component) and return it in XML, JSON and HTML.
HTML should be in user readable format (ie. stats with possible graphs?) and easy to understand (ie. values which are ok, should be in green marked as ok, and so on).