Simple wrapper around MongoDB to allow storage and retrieval of metrics