Event metrics

Added a query for getting data points for event metrics + cumulative aggregation fold for combining event metric points.