How to register and curate a metric in FS