You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Attila Magyar (JIRA)" <ji...@apache.org> on 2018/01/09 15:34:00 UTC

[jira] [Created] (AMBARI-22755) Show JMX based metrics on UI

Attila Magyar created AMBARI-22755:
--------------------------------------

             Summary: Show JMX based metrics on UI
                 Key: AMBARI-22755
                 URL: https://issues.apache.org/jira/browse/AMBARI-22755
             Project: Ambari
          Issue Type: Improvement
          Components: ambari-server
    Affects Versions: 3.0.0
            Reporter: Attila Magyar
            Assignee: Attila Magyar
             Fix For: 3.0.0


There are some metrics like a (NameNode uptime/StartTime and HDFS disk usage/Capacity*) which cannot be shown in a widget because widgets only support AMS based metrics.
Normally these metrics are shown in a service specific dashboard which is hardcoded in the ui (summary.js/serviceCustomViewsMap).

{code}
serviceCustomViewsMap: function() {
    return {
      HBASE: App.MainDashboardServiceHbaseView,
      HDFS: App.MainDashboardServiceHdfsView,
      STORM: App.MainDashboardServiceStormView,
      YARN: App.MainDashboardServiceYARNView,
      RANGER: App.MainDashboardServiceRangerView,
      FLUME: App.MainDashboardServiceFlumeView,
      HIVE:  App.MainDashboardServiceHiveView
    }
  }.property('serviceName'),
{code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)