I just noticed that 'distinct-resources' isn't documented, it probably should be added to the docs as a formal parameter as well as the two new ones. This I think applies to events, event-counts and aggregate-event-counts.