You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by freegians <fr...@gmail.com> on 2015/03/30 08:46:34 UTC

Question for widget

Hi

I have a question.

I don't know to add new widget that new custom service's metric data.

for example.
{
  "href" : "
http://c6501:8080/api/v1/custom-service/c1/?fields=metrics/network",
  "Clusters" : {
    "cluster_name" : "c1",
    "version" : "HDP-2.2"
  },
  "metrics" : {
    "network" : {
        [
          1620.57,
          1427694240
        ],
        [
          1620.57,
          1427694255
        ],
        [
          1425.1366667,
          1427694270
        ],
        [
          1458.53,
          1427694285
        ],
        [
          1585.45,
          1427694300
        ],
        [
          1585.45,
          1427694315
        ],
    }
  }
}

-- 

-----------------------------------------------------
권용혁
twitter.com/freegians
fb.com/freegians
gplus.to/freegians
개발자, 사진, 기타, 우쿨렐레
-----------------------------------------------------