[ 
https://issues.apache.org/jira/browse/AMBARI-18846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15664840#comment-15664840
 ] 

Tim Thorpe commented on AMBARI-18846:
-------------------------------------

Pushed the commits again with the following fix in resourceFilesKeeper.py

if (skip_empty_directory and (not os.path.exists(directory) or not 
os.listdir(directory))):

> Custom services should be able to easily specify their own dashboards
> ---------------------------------------------------------------------
>
>                 Key: AMBARI-18846
>                 URL: https://issues.apache.org/jira/browse/AMBARI-18846
>             Project: Ambari
>          Issue Type: Improvement
>          Components: ambari-admin, ambari-metrics, ambari-server
>    Affects Versions: trunk, 2.4.0, 2.5.0
>            Reporter: Tim Thorpe
>            Assignee: Tim Thorpe
>             Fix For: trunk, 2.5.0
>
>         Attachments: AMBARI-18846.patch
>
>
>  Currently all dashboards are added directly in under the AMBARI_METRICS 
> package directory (package/files/grafana-dashboards).
> In order for custom services to add dashboards, they need to add the files 
> directly under that folder.  Each time the Ambari server is upgraded, those 
> files will be lost as the AMBARI_METRICS service definition will be replaced.
> This JIRA proposes adding a new directory under the ambari-server/resources.  
> This will contain both the dashboards and metrics for custom services.  
> The dashboards here will not be organized by stack.  Each service will add a 
> directory containing their dashboards and will add a metrics file.
> resources/dashboards/grafana-dashboards/MY_SERVICE/<dashboards>
> resources/dashboards/service-metrics/MY_SERVICE.txt
> The resources/dashboards directory will need to get sync'd to the agents.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to