Client-side metrics library.