Refactor metrics.py to accept JSON body with Pydantic validation 2854ab0 osnarayana commited on Aug 1