ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Bende <bbe...@gmail.com>
Subject Re: Modifying metrics.json file of a service.
Date Fri, 14 Aug 2015 16:34:44 GMT
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 <
jackson.christopher.lee@gmail.com> 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

Mime
View raw message