Version 6 (modified by ntj, 10 years ago)
--

Edelweiss

Edelweiss


How to add extra parameters

  • add the new parameter definition to the CouchDB document with the ID itemlist.
  • add the new parameter to the view definition of get_all_data

Debugging

curl 'http://localhost/adei/services/getdata.php?db_server=edelweiss&db_name=automat_monthly&db_group=edelweiss&window=-5&db_mask=0,3'

http://localhost/adei/services/list.php?target=servers

curl 'http://localhost/adei/services/getdata.php?db_server=edelweiss&db_name=automat_weekly_adei&db_group=edelweiss&window=1307357533-1384790080&db_mask=0,1&resample=86400'

Note

Resample works, but very very slow. Why? Because it is querying each data row per http request, for a aggregation with wide interval, this should not be a problem, but as the interval gets smaller, it will be very slow.

Solution: Requires a mapreduce function to do aggregation

Status: Pending

Repository

http://adei.info/adei/browser/adei-couchreader

http://adei.info/adei/browser/adei-edelweiss-setup