Thanks for the reply.
The steps of the process I understand I am having difficulty though figuring out:
a. automatically setup metrics for a new prompt. Every version release cannot automatically add a new prompt metric to the db as there could be other changes in the code unrelated to the prompt - or even changes to a different prompt. Even if each prompt change is separated into a different module so that it has it's own version still if the prompts are all in the same repository when the code is released all the module versions will be updated. So my question is really is there a way to automate releases to update versions and therefore metrics only for prompts that have been changed.
b. how to easily retrieve and rerun previous versions of the prompt quickly and efficiently when other commits and changes to the code might have been made since the version being rolled back to.