Merge "Add implementation for SliceMetrics" into pi-dev