function processExtraMetrics(ctx, payload) {
	// extra metrics (params and meta)
	if (_.isObject(ctx.action.metrics)) {
		// custom metrics def
		assignExtraMetrics(ctx, "params", payload);
		assignExtraMetrics(ctx, "meta", payload);
	}
}
function processExtraMetrics(ctx, payload) {
	// extra metrics (params and meta)
	if (_.isObject(ctx.action.metrics)) {
		// custom metrics def
		assignExtraMetrics(ctx, "params", payload);
		assignExtraMetrics(ctx, "meta", payload);
	}
}
function processExtraMetrics ( ctx , payload ) { // extra metrics (params and meta) if ( _ . isObject ( ctx . action . metrics ) ) { // custom metrics def assignExtraMetrics ( ctx , "params" , payload ) ; assignExtraMetrics ( ctx , "meta" , payload ) ; } }
Decide and process extra metrics taking into account action definitions

@param {Context} ctx
@param {any} payload Object for assignment.

@private
Decide and process extra metrics taking into account action definitions
process extra metrics