There's already a version metric, but yes. I might be adding a plpgsql `set_metric` soon to facilitate this.