We want to store time-series data in couchbase. At present we are using RRD for same.
I understand that by using dateToArray and group_level we can generate graphs for day, week, month etc.
This would be good if we have single item for e.g. network bandwidth but what if we have multiple items that will be added to system. Will we have to create separate views for each item e.g. cpu, disk, processes etc?
I am trying to think of a schema or view for this scenario, can someone give some pointers?
“the size limit on the composite structure within the reduce() function is 64KB.”
General advice from manual :
“The reduce() function is designed to reduce and summarize the data emitted during the map() phase of the process. It should only be used to summarize the data, and not to transform the output information or concatenate the information into a single structure.”
By the way, there is some great solutions available for storing timeseries