[Building Sakai] Adding a new event in Site Stats (WAS: Re: Samigo time expired assessments not viewable in Site Stats)

Steve Swinsburg steve.swinsburg at gmail.com
Thu Mar 21 05:27:30 PDT 2013


Hi Daniel,

No worries, yep it aggregates events into the SST_tables based on the config. This allows one to archive and truncate those tables as they grow large.

cheers


On 21/03/2013, at 11:22 PM, Daniel Merino <daniel.merino at unavarra.es> wrote:

> Hi, Steve. Sorry for this newbie question, I thought that Sitestats read 
> events directly from SAKAI_EVENT but I have noticed right now that it 
> stores them in SST_EVENTS.
> 
> Thanks.
> Best regards.
> 
> Steve Swinsburg escribió:
>> Hi Daniel,
>> 
>> SiteStats looks at this config to determine what events to collect, so it wouldn't be collecting events before you made this change.
>> 
>> cheers,
>> Steve
>> 
>> 
>> On 21/03/2013, at 10:55 PM, Daniel Merino <daniel.merino at unavarra.es> wrote:
>> 
>> 
>>> Hi everybody.
>>> 
>>> After making a JIRA for this issue, I have tried to add this new event 
>>> in my Site Stats reports.
>>> 
>>> I have added the new event "sam.assessment.timer_submit" to 
>>> <SRC>/sitestats-api/src/config/org/sakaiproject/sitestats/config/toolEventsDef.xml 
>>> and <SRC>/sitestats-bundle/src/resources/Events_XX.properties
>>> 
>>> After redeploying and restarting Tomcat I can see this new event 
>>> reported, but only for the time-expired exams sent after the change. 
>>> However, the report doesn't show the exams sent before applying the change.
>>> 
>>> For example, these are the results:
>>> 
>>> dani103 	dani103, dani103 	T&Q Assessment take 	3/20/13 	1
>>> dani104 	dani104, dani104 	T&Q Assessment take 	3/21/13 	1
>>> dani104 	dani104, dani104 	T&Q Assessment time expired submit
>>> 	3/21/13 	1
>>> 
>>> 
>>> I have in my BBDD another event "sam.assessment.timer_submit" for 
>>> dani103 with date 3/20/13 but is not shown.
>>> 
>>> Do you know if I must delete some cached data or configure anything else 
>>> to include previous events?
>>> 
>>> Thanks in advance.
>>> Best regards.
>>> 
>>> Karen Tsao escribió:
>>> 
>>>> Hi Daniel,
>>>> 
>>>> This sounds like a bug to me. Can you please log a JIRA and I can look 
>>>> into it?
>>>> 
>>>> Thanks,
>>>> Karen
>>>> 
>>>> On Wed, Mar 20, 2013 at 6:46 AM, Daniel Merino 
>>>> <daniel.merino at unavarra.es <mailto:daniel.merino at unavarra.es>> wrote:
>>>> 
>>>>   Hi everybody.
>>>> 
>>>>   We are testing 2.9.1 and we have noticed that, when a timed assessment
>>>>   is sent because its time has expired, the related event is
>>>>   "sam.assessment.timer_submit" instead of "sam.assessment.submit",
>>>>   which
>>>>   is sent when users sends their assessments themselves.
>>>> 
>>>>   Looking in Site Stats, the number of sent assessments is counting only
>>>>   the ones that users have sent, not the automatically sent ones. Our
>>>>   teachers have complained about this.
>>>> 
>>>>   I wonder if this behaviour was planned like this or if this is a
>>>>   bug. If
>>>>   it is a bug, does somebody know if it has been solved somewhere in
>>>>   JIRA?
>>>>   I have not found anything. I can fill a new JIRA if you agree.
>>>> 
>>>>   Thanks in advance.
>>>>   Best regards.
>>>>   --
>>>>   Daniel Merino Echeverría
>>>>   daniel.merino at unavarra.es <mailto:daniel.merino at unavarra.es>
>>>>   Gestor de teleformación - Centro Superior de Innovación Educativa.
>>>>   Tfno: 948-168489 - Universidad Pública de Navarra.
>>>>   _______________________________________________
>>>>   sakai-dev mailing list
>>>>   sakai-dev at collab.sakaiproject.org
>>>>   <mailto:sakai-dev at collab.sakaiproject.org>
>>>>   http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>>> 
>>>>   TO UNSUBSCRIBE: send email to
>>>>   sakai-dev-unsubscribe at collab.sakaiproject.org
>>>>   <mailto:sakai-dev-unsubscribe at collab.sakaiproject.org> with a
>>>>   subject of "unsubscribe"
>>>> 
>>>> 
>>>> 
>>> -- 
>>> Daniel Merino Echeverría
>>> daniel.merino at unavarra.es
>>> Gestor de teleformación - Centro Superior de Innovación Educativa.
>>> Tfno: 948-168489 - Universidad Pública de Navarra.
>>> --
>>> La palabra convence, pero el ejemplo arrastra. (Anónimo)
>>> _______________________________________________
>>> sakai-dev mailing list
>>> sakai-dev at collab.sakaiproject.org
>>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>> 
>>> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
>>> 
>> 
>> 
>> 
> 
> -- 
> Daniel Merino Echeverría
> daniel.merino at unavarra.es
> Gestor de teleformación - Centro Superior de Innovación Educativa.
> Tfno: 948-168489 - Universidad Pública de Navarra.
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
> 
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"



More information about the sakai-dev mailing list