Documentation for scripted metric agg