ReportPortal
ReportPortal
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ReportPortal General Forum
 Report Portal General Issues
 Report usage logging
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

dbooth

United Kingdom
69 Posts

Posted - 01/18/2013 :  03:19:15  Show Profile  Reply with Quote
In order to track the usage of ReportPortal the supplied queries are very helpful.

The number of subscriptions created is rising, and number of subscriptions per *recipient* would be a valuable statistic. Is the usage of Subscriptions logged as well as user accesses?

Thanks,
Dave Booth

admin

1637 Posts

Posted - 01/18/2013 :  03:43:08  Show Profile  Reply with Quote
Please take a look at these tables: dbo.Job, dbo.JobUser and dbo.JobHistory

http://www.reportportal.com/help/images/ERD/Scheduler.gif
http://www.reportportal.com/help/architecture.htm
Go to Top of Page

dbooth

United Kingdom
69 Posts

Posted - 02/22/2013 :  06:40:17  Show Profile  Reply with Quote
This is an sql report that may come in handy. It lists subscription instances that errored, in descending execution date sequence. Handy for health-checking subscriptions.

SELECT r.ReportName, J.JobName, max(h.StartTime)
FROM Report r INNER JOIN Job J ON J.ReportId = r.ReportId INNER JOIN JobHistory h ON h.JobId = J.JobId
WHERE h.Status = 'Error'
GROUP BY r.ReportName, J.JobName
ORDER BY max(h.StartTime) DESC
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
ReportPortal © 2000-2002 Snitz Communications Go To Top Of Page