enhanced cluster metric

Accepting user input in config, supporting 4 functions:
- raw:  (simply merging), default
- aver:  (average of all values each second)
- sum: (sum of all values)
- count: (counts of events)