ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From freegians <freegi...@gmail.com>
Subject Question for widget
Date Mon, 30 Mar 2015 06:46:34 GMT
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
개발자, 사진, 기타, 우쿨렐레
-----------------------------------------------------

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message