Christopher, I can't speak to the REST API, but in my experience if you edit the metrics.json and restart ambari-server it will pick up the new metrics.
-Bryan On Thu, Aug 13, 2015 at 12:14 PM, Christopher Jackson < [email protected]> wrote: > Hi All, > > Are there REST API calls to modify the metrics.json file of a custom > service? > > If not and I must edit the metrics.json file by hand, is an ambari-server > restart required for those new metric definitions to be picked up and > useable by a widget? > > Regards, > > Christopher Jackson
