Add endpoint to reset a counter or a metric.