A simple metrics library.