Closed Bug 488211 Opened 16 years ago Closed 16 years ago

Create page for sumobot to retrieve live chat queue information

Categories

(support.mozilla.org Graveyard :: Chat, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: zzxc, Assigned: zzxc)

References

Details

Attachments

(2 files)

Information needed by sumobot: *Status of the queue (open, closed, full, or ready to open) *Number of chats waiting in each queue Optional information: *A list of helpers signed in during the past 2 weeks This information will let sumobot give more verbose status updates, letting people in #sumo know when live chat needs extra help. The format of the file will probably be: {OPEN|CLOSED|FULL|READY} Default: 4 Advanced: 1 Trainees: 0
Blocks: 489263
This adds an XML page to Fastpath for retrieving realtime workgroup statistics. It also fixes the calculation of the average chat time, adds additional public functions for retrieving statistics, and corrects the default maxChats value to use maxChats instead of maxMaxChats.
Attachment #378248 - Flags: review?(ozten.bugs)
Attached file XML output format
Attachment #378249 - Flags: review?(cwwmozilla)
Comment on attachment 378248 [details] [diff] [review] Create an XML stats page Patch looks good. Workgroup changes clean it up nicely. I don't know if it would be hard to setup, but StatsServlet might be better as a Servlet + JSP as creating XML documents programatically is a bit verbose. Of course it has the benefit of being less fragile than hand coded XML in a JSP. Nice work, I didn't test this patch, only reviewed via diff.
Attachment #378248 - Flags: review?(ozten.bugs) → review+
checked in r26043
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Comment on attachment 378249 [details] XML output format Ooops sorry.... looks good. I'll get on updating sumobot to use it.
Attachment #378249 - Flags: review?(cwwmozilla) → review+
Product: support.mozilla.org → support.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: