custom metric aggregator example added to docu