-
Notifications
You must be signed in to change notification settings - Fork 4
Statistics API
Bartek Bok edited this page Dec 6, 2015
·
1 revision
OpenEye has very basic API for querying daily stats (collected for all reports). Results are updated and generated in real time, even though it looks like collection of static files.
http://openeye.openmods.info/counters/dimension/[dimension].[type]
Results in random order:
http://openeye.openmods.info/counters/[date]/[counter].[type]
Sorted results:
http://openeye.openmods.info/counters/[date]/[counter].[sort].[type]
Note: Use total
as [date]
to get sum over all dates.
[dimension]
dates
counters
[date]
anything returned by /counters/dimension/dates.*
[counter]
anything returned by `/counters/dimension/counters.*`
[sort]
`key_asc` or `ka`
`key_desc` or `kd`
`value_asc` or `va`
`value_desc` or `vd`
[type]
txt
json
csv
examples:
http://openeye.openmods.info/counters/dimension/counters.txt
http://openeye.openmods.info/counters/total/runtime-forge.json
http://openeye.openmods.info/counters/2015-12-05/java.vd.txt