View Source

h1. Whydah StatisticsService

*Some _live_ urls to see som datasets*

|| Type || URL || Comments ||
| whydahdev - graph | [https://whydahdev.cantara.no/reporter/gui/whydah/usersession] | |
| whydah graph | [http://whydah.cantara.no/reporter/gui/whydah/usersession?prefix=initial] | |
| whydag - jsopndata | [https://whydah.cantara.no/reporter/observe/statistics/initial/usersession] | |


h1. Architecture
{gliffy:name=Whydah Statistics Service Architecture|size=L|version=3}



----
h1. StatisticsService Whydah configuration properties

{code}
## Use reports
reportservice=https://sso.whydah.net/reporter/




## Send data to StatisticsService
#
# Valuereporter - sWhydah statisticsService
#
valuereporter.host=sso.whydah.net
valuereporter.port=4901
valuereporter.activity.batchsize=500
valuereporter.activity.postintervalms=10000

{code}

{note}
Remember to ensure that port 4901 is open from SecurityTokenService to StatisticsService
{note}



h1. Identify and document 3 important use-cases.

h3. #1 Number of active users pr xx period:

* what data is needed
** userid, "logon"
* where are these data collected from
** UAS
* how is these data collected
** Report every user validation. -> Statistics Service

h3. #2 Number of active users for an application pr xx period:

* what data is needed
** userid, applicationid,methodName?/"getRoles static"
* where are these data collected from
** UAS
* how is these data collected
** Report every call for getRoles from Application. -> Statistics Service

h3. #3 My Whydah auth/application activities

* what data is needed
** userid, applicationid, method
* where are these data collected from
** UAS, STS?
* how is these data collected

h1. More usecases to be covered

h3. #4 New users for a period/appication

h3. #5 Application revoked per time/application