ZEN-13256: Switch from using UUID to natural key for metric storage