implement reset functionality for metrics & metric contexts