feat(s3): support bucket metrics configurations (#2382)