REST API retrieving server statistics and monitoring informations (#8)
Closed
Andrzej Wójcik (Tigase) opened 1 decade ago
Due Date
2014-11-29

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 10 years ago

Bartek, you will be working on the whole monitoring part in the server, so I am assigning this task for QA to you.

issue 1 of 1
Type
New Feature
Priority
Normal
Assignee
RedmineID
2095
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/tigase-http-api#8
Please wait...
Page is in error, reload to recover