You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by yu...@apache.org on 2012/10/20 19:17:09 UTC

svn commit: r1400490 [2/3] - in /incubator/ambari/branches/AMBARI-666: ./ ambari-web/ ambari-web/app/ ambari-web/app/assets/data/cluster_metrics/ ambari-web/app/assets/licenses/ ambari-web/app/styles/ ambari-web/app/templates/main/ ambari-web/app/templ...

Added: incubator/ambari/branches/AMBARI-666/ambari-web/app/assets/data/cluster_metrics/memory_1hr.json
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/ambari-web/app/assets/data/cluster_metrics/memory_1hr.json?rev=1400490&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/ambari-web/app/assets/data/cluster_metrics/memory_1hr.json (added)
+++ incubator/ambari/branches/AMBARI-666/ambari-web/app/assets/data/cluster_metrics/memory_1hr.json Sat Oct 20 17:17:07 2012
@@ -0,0 +1 @@
+[{"ds_name":"bmem_used","cluster_name":"","graph_type":"stack","host_name":"","metric_name":"Use\\g","datapoints":[[7253512192,1350675390],[7253512192,1350675405],[7253512192,1350675420],[7253512192,1350675435],[7253512192,1350675450],[7253512192,1350675465],[7253512192,1350675480],[7253512192,1350675495],[7253512192,1350675510],[7253512192,1350675525],[7254242645.3,1350675540],[7254925312,1350675555],[7254925312,1350675570],[7254925312,1350675585],[7254925312,1350675600],[7254925312,1350675615],[7254925312,1350675630],[7254925312,1350675645],[7254925312,1350675660],[7254925312,1350675675],[7254925312,1350675690],[7254925312,1350675705],[7254747545.6,1350675720],[7254740992,1350675735],[7254740992,1350675750],[7254740992,1350675765],[7254740992,1350675780],[7254740992,1350675795],[7254740992,1350675810],[7254740992,1350675825],[7254740992,1350675840],[7254740992,1350675855],[7254740992,1350675870],[7254740992,1350675885],[7255277294.9,1350675900],[7255412736,1350675915],[725
 5412736,1350675930],[7255412736,1350675945],[7255412736,1350675960],[7255412736,1350675975],[7255412736,1350675990],[7255412736,1350676005],[7255412736,1350676020],[7255412736,1350676035],[7255412736,1350676050],[7255412736,1350676065],[7254967637.3,1350676080],[7254831104,1350676095],[7254831104,1350676110],[7254831104,1350676125],[7254831104,1350676140],[7254831104,1350676155],[7254831104,1350676170],[7254831104,1350676185],[7254831104,1350676200],[7254831104,1350676215],[7254831104,1350676230],[7254831104,1350676245],[7255241523.2,1350676260],[7255990272,1350676275],[7255990272,1350676290],[7255990272,1350676305],[7255990272,1350676320],[7255990272,1350676335],[7255990272,1350676350],[7255990272,1350676365],[7255990272,1350676380],[7255990272,1350676395],[7255990272,1350676410],[7255990272,1350676425],[7255992456.5,1350676440],[7255695360,1350676455],[7255695360,1350676470],[7255695360,1350676485],[7255695360,1350676500],[7255695360,1350676515],[7255695360,1350676530],[72
 55695360,1350676545],[7255695360,1350676560],[7258103261.9,1350676575],[7261913088,1350676590],[7261913088,1350676605],[7261402726.4,1350676620],[7259361280,1350676635],[7259361280,1350676650],[7257874432,1350676665],[7257333760,1350676680],[7257333760,1350676695],[7257333760,1350676710],[7257333760,1350676725],[7257333760,1350676740],[7257333760,1350676755],[7257333760,1350676770],[7257333760,1350676785],[7257134694.4,1350676800],[7269396206.9,1350676815],[7290912768,1350676830],[7290912768,1350676845],[7290912768,1350676860],[7290912768,1350676875],[7291573043.2,1350676890],[7297563033.6,1350676905],[7298695168,1350676920],[7298695168,1350676935],[7298695168,1350676950],[7298695168,1350676965],[7296652902.4,1350676980],[7290703872,1350676995],[7290703872,1350677010],[7290703872,1350677025],[7290703872,1350677040],[7290703872,1350677055],[7290703872,1350677070],[7290703872,1350677085],[7290703872,1350677100],[7290703872,1350677115],[7290703872,1350677130],[7290703872,135067
 7145],[7290907033.6,1350677160],[7291588608,1350677175],[7291588608,1350677190],[7291588608,1350677205],[7291588608,1350677220],[7291588608,1350677235],[7291588608,1350677250],[7291588608,1350677265],[7291588608,1350677280],[7291588608,1350677295],[7291588608,1350677310],[7291588608,1350677325],[7291227613.9,1350677340],[7290716160,1350677355],[7290716160,1350677370],[7290716160,1350677385],[7290716160,1350677400],[7290716160,1350677415],[7290716160,1350677430],[7290716160,1350677445],[7290716160,1350677460],[7290716160,1350677475],[7290716160,1350677490],[7290716160,1350677505],[7290725444.3,1350677520],[7290687488,1350677535],[7290687488,1350677550],[7290687488,1350677565],[7290687488,1350677580],[7290687488,1350677595],[7290687488,1350677610],[7290687488,1350677625],[7290687488,1350677640],[7290687488,1350677655],[7290687488,1350677670],[7290700322.1,1350677685],[7291088896,1350677700],[7291228160,1350677715],[7291228160,1350677730],[7291228160,1350677745],[7291228160,135
 0677760],[7291228160,1350677775],[7291228160,1350677790],[7291228160,1350677805],[7291228160,1350677820],[7291228160,1350677835],[7291228160,1350677850],[7291228160,1350677865],[7291432686.9,1350677880],[7291867136,1350677895],[7291867136,1350677910],[7291867136,1350677925],[7291867136,1350677940],[7291867136,1350677955],[7291867136,1350677970],[7291867136,1350677985],[7291867136,1350678000],[7291867136,1350678015],[7291867136,1350678030],[7291867136,1350678045],[7292090777.6,1350678060],[7292325888,1350678075],[7292325888,1350678090],[7292325888,1350678105],[7292325888,1350678120],[7292325888,1350678135],[7292325888,1350678150],[7292325888,1350678165],[7292325888,1350678180],[7292325888,1350678195],[7292325888,1350678210],[7292325888,1350678225],[7292218845.9,1350678240],[7292125184,1350678255],[7292125184,1350678270],[7292125184,1350678285],[7292125184,1350678300],[7292125184,1350678315],[7292125184,1350678330],[7292125184,1350678345],[7292125184,1350678360],[7292125184,13
 50678375],[7292125184,1350678390],[7292125184,1350678405],[7291591611.7,1350678420],[7291404288,1350678435],[7291404288,1350678450],[7291404288,1350678465],[7291404288,1350678480],[7291404288,1350678495],[7291404288,1350678510],[7291404288,1350678525],[7291404288,1350678540],[7291404288,1350678555],[7291404288,1350678570],[7291404288,1350678585],[7289559722.7,1350678600],[7288934400,1350678615],[7288934400,1350678630],[7288934400,1350678645],[7288687820.8,1350678660],[7288406016,1350678675],[7288406016,1350678690],[7288406016,1350678705],[7288406016,1350678720],[7288406016,1350678735],[7288406016,1350678750],[7288406016,1350678765],[7287564970.7,1350678780],[7287504896,1350678795],[7287504896,1350678810],[7287504896,1350678825],[7287474858.7,1350678840],[7289270545.1,1350678855],[7292601139.2,1350678870],[7292944384,1350678885],[7292944384,1350678900],[7292944384,1350678915],[7292944384,1350678930],[7292944384,1350678945],[7292944384,1350678960],[0,1350678975],[0,1350678990]
 ]},{"ds_name":"bmem_shared","cluster_name":"","graph_type":"stack","host_name":"","metric_name":"Share\\g","datapoints":[[0,1350675390],[0,1350675405],[0,1350675420],[0,1350675435],[0,1350675450],[0,1350675465],[0,1350675480],[0,1350675495],[0,1350675510],[0,1350675525],[0,1350675540],[0,1350675555],[0,1350675570],[0,1350675585],[0,1350675600],[0,1350675615],[0,1350675630],[0,1350675645],[0,1350675660],[0,1350675675],[0,1350675690],[0,1350675705],[0,1350675720],[0,1350675735],[0,1350675750],[0,1350675765],[0,1350675780],[0,1350675795],[0,1350675810],[0,1350675825],[0,1350675840],[0,1350675855],[0,1350675870],[0,1350675885],[0,1350675900],[0,1350675915],[0,1350675930],[0,1350675945],[0,1350675960],[0,1350675975],[0,1350675990],[0,1350676005],[0,1350676020],[0,1350676035],[0,1350676050],[0,1350676065],[0,1350676080],[0,1350676095],[0,1350676110],[0,1350676125],[0,1350676140],[0,1350676155],[0,1350676170],[0,1350676185],[0,1350676200],[0,1350676215],[0,1350676230],[0,1350676245
 ],[0,1350676260],[0,1350676275],[0,1350676290],[0,1350676305],[0,1350676320],[0,1350676335],[0,1350676350],[0,1350676365],[0,1350676380],[0,1350676395],[0,1350676410],[0,1350676425],[0,1350676440],[0,1350676455],[0,1350676470],[0,1350676485],[0,1350676500],[0,1350676515],[0,1350676530],[0,1350676545],[0,1350676560],[0,1350676575],[0,1350676590],[0,1350676605],[0,1350676620],[0,1350676635],[0,1350676650],[0,1350676665],[0,1350676680],[0,1350676695],[0,1350676710],[0,1350676725],[0,1350676740],[0,1350676755],[0,1350676770],[0,1350676785],[0,1350676800],[0,1350676815],[0,1350676830],[0,1350676845],[0,1350676860],[0,1350676875],[0,1350676890],[0,1350676905],[0,1350676920],[0,1350676935],[0,1350676950],[0,1350676965],[0,1350676980],[0,1350676995],[0,1350677010],[0,1350677025],[0,1350677040],[0,1350677055],[0,1350677070],[0,1350677085],[0,1350677100],[0,1350677115],[0,1350677130],[0,1350677145],[0,1350677160],[0,1350677175],[0,1350677190],[0,1350677205],[0,1350677220],[0,135067723
 5],[0,1350677250],[0,1350677265],[0,1350677280],[0,1350677295],[0,1350677310],[0,1350677325],[0,1350677340],[0,1350677355],[0,1350677370],[0,1350677385],[0,1350677400],[0,1350677415],[0,1350677430],[0,1350677445],[0,1350677460],[0,1350677475],[0,1350677490],[0,1350677505],[0,1350677520],[0,1350677535],[0,1350677550],[0,1350677565],[0,1350677580],[0,1350677595],[0,1350677610],[0,1350677625],[0,1350677640],[0,1350677655],[0,1350677670],[0,1350677685],[0,1350677700],[0,1350677715],[0,1350677730],[0,1350677745],[0,1350677760],[0,1350677775],[0,1350677790],[0,1350677805],[0,1350677820],[0,1350677835],[0,1350677850],[0,1350677865],[0,1350677880],[0,1350677895],[0,1350677910],[0,1350677925],[0,1350677940],[0,1350677955],[0,1350677970],[0,1350677985],[0,1350678000],[0,1350678015],[0,1350678030],[0,1350678045],[0,1350678060],[0,1350678075],[0,1350678090],[0,1350678105],[0,1350678120],[0,1350678135],[0,1350678150],[0,1350678165],[0,1350678180],[0,1350678195],[0,1350678210],[0,13506782
 25],[0,1350678240],[0,1350678255],[0,1350678270],[0,1350678285],[0,1350678300],[0,1350678315],[0,1350678330],[0,1350678345],[0,1350678360],[0,1350678375],[0,1350678390],[0,1350678405],[0,1350678420],[0,1350678435],[0,1350678450],[0,1350678465],[0,1350678480],[0,1350678495],[0,1350678510],[0,1350678525],[0,1350678540],[0,1350678555],[0,1350678570],[0,1350678585],[0,1350678600],[0,1350678615],[0,1350678630],[0,1350678645],[0,1350678660],[0,1350678675],[0,1350678690],[0,1350678705],[0,1350678720],[0,1350678735],[0,1350678750],[0,1350678765],[0,1350678780],[0,1350678795],[0,1350678810],[0,1350678825],[0,1350678840],[0,1350678855],[0,1350678870],[0,1350678885],[0,1350678900],[0,1350678915],[0,1350678930],[0,1350678945],[0,1350678960],[0,1350678975],[0,1350678990]]},{"ds_name":"bmem_cached","cluster_name":"","graph_type":"stack","host_name":"","metric_name":"Cache\\g","datapoints":[[6713712640,1350675390],[6713712640,1350675405],[6713712640,1350675420],[6713712640,1350675435],[671
 3712640,1350675450],[6713712640,1350675465],[6713712640,1350675480],[6713712640,1350675495],[6713712640,1350675510],[6713712640,1350675525],[6713799748.3,1350675540],[6713860096,1350675555],[6713860096,1350675570],[6713860096,1350675585],[6713860096,1350675600],[6713860096,1350675615],[6713860096,1350675630],[6713860096,1350675645],[6713860096,1350675660],[6713860096,1350675675],[6713860096,1350675690],[6713860096,1350675705],[6713976695.5,1350675720],[6714019840,1350675735],[6714019840,1350675750],[6714019840,1350675765],[6714019840,1350675780],[6714019840,1350675795],[6714019840,1350675810],[6714019840,1350675825],[6714019840,1350675840],[6714019840,1350675855],[6714019840,1350675870],[6714019840,1350675885],[6714112409.6,1350675900],[6714179584,1350675915],[6714179584,1350675930],[6714179584,1350675945],[6714179584,1350675960],[6714179584,1350675975],[6714179584,1350675990],[6714179584,1350676005],[6714179584,1350676020],[6714179584,1350676035],[6714179584,1350676050],[67
 14179584,1350676065],[6714225186.1,1350676080],[6714290176,1350676095],[6714290176,1350676110],[6714290176,1350676125],[6714290176,1350676140],[6714290176,1350676155],[6714290176,1350676170],[6714290176,1350676185],[6714290176,1350676200],[6714290176,1350676215],[6714290176,1350676230],[6714290176,1350676245],[6714359808,1350676260],[6714429440,1350676275],[6714429440,1350676290],[6714429440,1350676305],[6714429440,1350676320],[6714429440,1350676335],[6714429440,1350676350],[6714429440,1350676365],[6714429440,1350676380],[6714429440,1350676395],[6714429440,1350676410],[6714429440,1350676425],[6714462754.1,1350676440],[6714552320,1350676455],[6714552320,1350676470],[6714552320,1350676485],[6714552320,1350676500],[6714552320,1350676515],[6714552320,1350676530],[6714552320,1350676545],[6714552320,1350676560],[6714650624,1350676575],[6714781696,1350676590],[6714781696,1350676605],[6714780876.8,1350676620],[6714777600,1350676635],[6714777600,1350676650],[6714771592.5,1350676665],
 [6714769408,1350676680],[6714769408,1350676695],[6714769408,1350676710],[6714769408,1350676725],[6714769408,1350676740],[6714769408,1350676755],[6714769408,1350676770],[6714769408,1350676785],[6714792345.6,1350676800],[6714962466.1,1350676815],[6715035648,1350676830],[6715035648,1350676845],[6715035648,1350676860],[6715035648,1350676875],[6715044932.3,1350676890],[6715110195.2,1350676905],[6715113472,1350676920],[6715113472,1350676935],[6715113472,1350676950],[6715113472,1350676965],[6715128490.7,1350676980],[6715174912,1350676995],[6715174912,1350677010],[6715174912,1350677025],[6715174912,1350677040],[6715174912,1350677055],[6715174912,1350677070],[6715174912,1350677085],[6715174912,1350677100],[6715174912,1350677115],[6715174912,1350677130],[6715174912,1350677145],[6715220787.2,1350677160],[6715322368,1350677175],[6715322368,1350677190],[6715322368,1350677205],[6715322368,1350677220],[6715322368,1350677235],[6715322368,1350677250],[6715322368,1350677265],[6715322368,13506
 77280],[6715322368,1350677295],[6715322368,1350677310],[6715322368,1350677325],[6715368243.2,1350677340],[6715420672,1350677355],[6715420672,1350677370],[6715420672,1350677385],[6715420672,1350677400],[6715420672,1350677415],[6715420672,1350677430],[6715420672,1350677445],[6715420672,1350677460],[6715420672,1350677475],[6715420672,1350677490],[6715420672,1350677505],[6715506961.1,1350677520],[6715592704,1350677535],[6715592704,1350677550],[6715592704,1350677565],[6715592704,1350677580],[6715592704,1350677595],[6715592704,1350677610],[6715592704,1350677625],[6715592704,1350677640],[6715592704,1350677655],[6715592704,1350677670],[6715594888.5,1350677685],[6715681996.8,1350677700],[6715719680,1350677715],[6715719680,1350677730],[6715719680,1350677745],[6715719680,1350677760],[6715719680,1350677775],[6715719680,1350677790],[6715719680,1350677805],[6715719680,1350677820],[6715719680,1350677835],[6715719680,1350677850],[6715719680,1350677865],[6715759820.8,1350677880],[6715863040,
 1350677895],[6715863040,1350677910],[6715863040,1350677925],[6715863040,1350677940],[6715863040,1350677955],[6715863040,1350677970],[6715863040,1350677985],[6715863040,1350678000],[6715863040,1350678015],[6715863040,1350678030],[6715863040,1350678045],[6715914649.6,1350678060],[6715985920,1350678075],[6715985920,1350678090],[6715985920,1350678105],[6715985920,1350678120],[6715985920,1350678135],[6715985920,1350678150],[6715985920,1350678165],[6715985920,1350678180],[6715985920,1350678195],[6715985920,1350678210],[6715985920,1350678225],[6716086408.5,1350678240],[6716174336,1350678255],[6716174336,1350678270],[6716174336,1350678285],[6716174336,1350678300],[6716174336,1350678315],[6716174336,1350678330],[6716174336,1350678345],[6716174336,1350678360],[6716174336,1350678375],[6716174336,1350678390],[6716174336,1350678405],[6716310050.1,1350678420],[6716375040,1350678435],[6716375040,1350678450],[6716375040,1350678465],[6716375040,1350678480],[6716375040,1350678495],[6716375040
 ,1350678510],[6716375040,1350678525],[6716375040,1350678540],[6716375040,1350678555],[6716375040,1350678570],[6716375040,1350678585],[6716543249.1,1350678600],[6716588032,1350678615],[6716588032,1350678630],[6716588032,1350678645],[6716609058.1,1350678660],[6716633088,1350678675],[6716633088,1350678690],[6716633088,1350678705],[6716633088,1350678720],[6716633088,1350678735],[6716633088,1350678750],[6716633088,1350678765],[6716770713.6,1350678780],[6716780544,1350678795],[6716780544,1350678810],[6716780544,1350678825],[6716796928,1350678840],[6716861371.7,1350678855],[6716909158.4,1350678870],[6716915712,1350678885],[6716915712,1350678900],[6716915712,1350678915],[6716915712,1350678930],[6716915712,1350678945],[6716915712,1350678960],[0,1350678975],[0,1350678990]]},{"ds_name":"bmem_buffers","cluster_name":"","graph_type":"stack","host_name":"","metric_name":"Buffer\\g","datapoints":[[617963520,1350675390],[617963520,1350675405],[617963520,1350675420],[617963520,1350675435],[6
 17963520,1350675450],[617963520,1350675465],[617963520,1350675480],[617963520,1350675495],[617963520,1350675510],[617963520,1350675525],[617969800.53,1350675540],[617975808,1350675555],[617975808,1350675570],[617975808,1350675585],[617975808,1350675600],[617975808,1350675615],[617975808,1350675630],[617975808,1350675645],[617975808,1350675660],[617975808,1350675675],[617975808,1350675690],[617975808,1350675705],[618042709.33,1350675720],[618061824,1350675735],[618061824,1350675750],[618061824,1350675765],[618061824,1350675780],[618061824,1350675795],[618061824,1350675810],[618061824,1350675825],[618061824,1350675840],[618061824,1350675855],[618061824,1350675870],[618061824,1350675885],[618074385.07,1350675900],[618086400,1350675915],[618086400,1350675930],[618086400,1350675945],[618086400,1350675960],[618086400,1350675975],[618086400,1350675990],[618086400,1350676005],[618086400,1350676020],[618086400,1350676035],[618086400,1350676050],[618086400,1350676065],[618098961.07,13
 50676080],[618110976,1350676095],[618110976,1350676110],[618110976,1350676125],[618110976,1350676140],[618110976,1350676155],[618110976,1350676170],[618110976,1350676185],[618110976,1350676200],[618110976,1350676215],[618110976,1350676230],[618110976,1350676245],[618116164.27,1350676260],[618123264,1350676275],[618123264,1350676290],[618123264,1350676305],[618123264,1350676320],[618123264,1350676335],[618123264,1350676350],[618123264,1350676365],[618123264,1350676380],[618123264,1350676395],[618123264,1350676410],[618123264,1350676425],[618123264,1350676440],[618123264,1350676455],[618123264,1350676470],[618123264,1350676485],[618123264,1350676500],[618123264,1350676515],[618123264,1350676530],[618123264,1350676545],[618123264,1350676560],[618123264,1350676575],[618123264,1350676590],[618123264,1350676605],[618123264,1350676620],[618123264,1350676635],[618123264,1350676650],[618123264,1350676665],[618123264,1350676680],[618123264,1350676695],[618123264,1350676710],[618123264
 ,1350676725],[618123264,1350676740],[618123264,1350676755],[618123264,1350676770],[618123264,1350676785],[618123264,1350676800],[618346086.4,1350676815],[618713088,1350676830],[618713088,1350676845],[618713088,1350676860],[618713088,1350676875],[618713088,1350676890],[618713088,1350676905],[618713088,1350676920],[618713088,1350676935],[618713088,1350676950],[618713088,1350676965],[618713088,1350676980],[618713088,1350676995],[618713088,1350677010],[618713088,1350677025],[618713088,1350677040],[618713088,1350677055],[618713088,1350677070],[618713088,1350677085],[618713088,1350677100],[618713088,1350677115],[618713088,1350677130],[618713088,1350677145],[618716910.93,1350677160],[618725376,1350677175],[618725376,1350677190],[618725376,1350677205],[618725376,1350677220],[618725376,1350677235],[618725376,1350677250],[618725376,1350677265],[618725376,1350677280],[618725376,1350677295],[618725376,1350677310],[618725376,1350677325],[618731383.47,1350677340],[618737664,1350677355],[6
 18737664,1350677370],[618737664,1350677385],[618737664,1350677400],[618737664,1350677415],[618737664,1350677430],[618737664,1350677445],[618737664,1350677460],[618737664,1350677475],[618737664,1350677490],[618737664,1350677505],[618749678.93,1350677520],[618762240,1350677535],[618762240,1350677550],[618762240,1350677565],[618762240,1350677580],[618762240,1350677595],[618762240,1350677610],[618762240,1350677625],[618762240,1350677640],[618762240,1350677655],[618762240,1350677670],[618763059.2,1350677685],[618789273.6,1350677700],[618799104,1350677715],[618799104,1350677730],[618799104,1350677745],[618799104,1350677760],[618799104,1350677775],[618799104,1350677790],[618799104,1350677805],[618799104,1350677820],[618799104,1350677835],[618799104,1350677850],[618799104,1350677865],[618802926.93,1350677880],[618811392,1350677895],[618811392,1350677910],[618811392,1350677925],[618811392,1350677940],[618811392,1350677955],[618811392,1350677970],[618811392,1350677985],[618811392,1350
 678000],[618811392,1350678015],[618811392,1350678030],[618811392,1350678045],[618815214.93,1350678060],[618819584,1350678075],[618819584,1350678090],[618819584,1350678105],[618819584,1350678120],[618819584,1350678135],[618819584,1350678150],[618819584,1350678165],[618819584,1350678180],[618819584,1350678195],[618819584,1350678210],[618819584,1350678225],[618821768.53,1350678240],[618823680,1350678255],[618823680,1350678270],[618823680,1350678285],[618823680,1350678300],[618823680,1350678315],[618823680,1350678330],[618823680,1350678345],[618823680,1350678360],[618823680,1350678375],[618823680,1350678390],[618823680,1350678405],[618832145.07,1350678420],[618835968,1350678435],[618835968,1350678450],[618835968,1350678465],[618835968,1350678480],[618835968,1350678495],[618835968,1350678510],[618835968,1350678525],[618835968,1350678540],[618835968,1350678555],[618835968,1350678570],[618835968,1350678585],[618855082.67,1350678600],[618860544,1350678615],[618860544,1350678630],[61
 8860544,1350678645],[618860544,1350678660],[618860544,1350678675],[618860544,1350678690],[618860544,1350678705],[618860544,1350678720],[618860544,1350678735],[618860544,1350678750],[618860544,1350678765],[618868189.87,1350678780],[618868736,1350678795],[618868736,1350678810],[618868736,1350678825],[618871466.67,1350678840],[618888942.93,1350678855],[618907238.4,1350678870],[618909696,1350678885],[618909696,1350678900],[618909696,1350678915],[618909696,1350678930],[618909696,1350678945],[618909696,1350678960],[0,1350678975],[0,1350678990]]},{"ds_name":"bmem_swapped","cluster_name":"","graph_type":"stack","host_name":"","metric_name":"Swap\\g","datapoints":[[0,1350675390],[0,1350675405],[0,1350675420],[0,1350675435],[0,1350675450],[0,1350675465],[0,1350675480],[0,1350675495],[0,1350675510],[0,1350675525],[0,1350675540],[0,1350675555],[0,1350675570],[0,1350675585],[0,1350675600],[0,1350675615],[0,1350675630],[0,1350675645],[0,1350675660],[0,1350675675],[0,1350675690],[0,1350675
 705],[0,1350675720],[0,1350675735],[0,1350675750],[0,1350675765],[0,1350675780],[0,1350675795],[0,1350675810],[0,1350675825],[0,1350675840],[0,1350675855],[0,1350675870],[0,1350675885],[0,1350675900],[0,1350675915],[0,1350675930],[0,1350675945],[0,1350675960],[0,1350675975],[0,1350675990],[0,1350676005],[0,1350676020],[0,1350676035],[0,1350676050],[0,1350676065],[0,1350676080],[0,1350676095],[0,1350676110],[0,1350676125],[0,1350676140],[0,1350676155],[0,1350676170],[0,1350676185],[0,1350676200],[0,1350676215],[0,1350676230],[0,1350676245],[0,1350676260],[0,1350676275],[0,1350676290],[0,1350676305],[0,1350676320],[0,1350676335],[0,1350676350],[0,1350676365],[0,1350676380],[0,1350676395],[0,1350676410],[0,1350676425],[0,1350676440],[0,1350676455],[0,1350676470],[0,1350676485],[0,1350676500],[0,1350676515],[0,1350676530],[0,1350676545],[0,1350676560],[0,1350676575],[0,1350676590],[0,1350676605],[0,1350676620],[0,1350676635],[0,1350676650],[0,1350676665],[0,1350676680],[0,135067
 6695],[0,1350676710],[0,1350676725],[0,1350676740],[0,1350676755],[0,1350676770],[0,1350676785],[0,1350676800],[0,1350676815],[0,1350676830],[0,1350676845],[0,1350676860],[0,1350676875],[0,1350676890],[0,1350676905],[0,1350676920],[0,1350676935],[0,1350676950],[0,1350676965],[0,1350676980],[0,1350676995],[0,1350677010],[0,1350677025],[0,1350677040],[0,1350677055],[0,1350677070],[0,1350677085],[0,1350677100],[0,1350677115],[0,1350677130],[0,1350677145],[0,1350677160],[0,1350677175],[0,1350677190],[0,1350677205],[0,1350677220],[0,1350677235],[0,1350677250],[0,1350677265],[0,1350677280],[0,1350677295],[0,1350677310],[0,1350677325],[0,1350677340],[0,1350677355],[0,1350677370],[0,1350677385],[0,1350677400],[0,1350677415],[0,1350677430],[0,1350677445],[0,1350677460],[0,1350677475],[0,1350677490],[0,1350677505],[0,1350677520],[0,1350677535],[0,1350677550],[0,1350677565],[0,1350677580],[0,1350677595],[0,1350677610],[0,1350677625],[0,1350677640],[0,1350677655],[0,1350677670],[0,13506
 77685],[0,1350677700],[0,1350677715],[0,1350677730],[0,1350677745],[0,1350677760],[0,1350677775],[0,1350677790],[0,1350677805],[0,1350677820],[0,1350677835],[0,1350677850],[0,1350677865],[0,1350677880],[0,1350677895],[0,1350677910],[0,1350677925],[0,1350677940],[0,1350677955],[0,1350677970],[0,1350677985],[0,1350678000],[0,1350678015],[0,1350678030],[0,1350678045],[0,1350678060],[0,1350678075],[0,1350678090],[0,1350678105],[0,1350678120],[0,1350678135],[0,1350678150],[0,1350678165],[0,1350678180],[0,1350678195],[0,1350678210],[0,1350678225],[0,1350678240],[0,1350678255],[0,1350678270],[0,1350678285],[0,1350678300],[0,1350678315],[0,1350678330],[0,1350678345],[0,1350678360],[0,1350678375],[0,1350678390],[0,1350678405],[0,1350678420],[0,1350678435],[0,1350678450],[0,1350678465],[0,1350678480],[0,1350678495],[0,1350678510],[0,1350678525],[0,1350678540],[0,1350678555],[0,1350678570],[0,1350678585],[0,1350678600],[0,1350678615],[0,1350678630],[0,1350678645],[0,1350678660],[0,1350
 678675],[0,1350678690],[0,1350678705],[0,1350678720],[0,1350678735],[0,1350678750],[0,1350678765],[0,1350678780],[0,1350678795],[0,1350678810],[0,1350678825],[0,1350678840],[0,1350678855],[0,1350678870],[0,1350678885],[0,1350678900],[0,1350678915],[0,1350678930],[0,1350678945],[0,1350678960],[0,1350678975],[0,1350678990]]},{"ds_name":"bmem_total","cluster_name":"","graph_type":"line","host_name":"","metric_name":"Total\\g","datapoints":[[23488978944,1350675390],[23488978944,1350675405],[23488978944,1350675420],[23488978944,1350675435],[23488978944,1350675450],[23488978944,1350675465],[23488978944,1350675480],[23488978944,1350675495],[23488978944,1350675510],[23488978944,1350675525],[23488978944,1350675540],[23488978944,1350675555],[23488978944,1350675570],[23488978944,1350675585],[23488978944,1350675600],[23488978944,1350675615],[23488978944,1350675630],[23488978944,1350675645],[23488978944,1350675660],[23488978944,1350675675],[23488978944,1350675690],[23488978944,1350675705
 ],[23488978944,1350675720],[23488978944,1350675735],[23488978944,1350675750],[23488978944,1350675765],[23488978944,1350675780],[23488978944,1350675795],[23488978944,1350675810],[23488978944,1350675825],[23488978944,1350675840],[23488978944,1350675855],[23488978944,1350675870],[23488978944,1350675885],[23488978944,1350675900],[23488978944,1350675915],[23488978944,1350675930],[23488978944,1350675945],[23488978944,1350675960],[23488978944,1350675975],[23488978944,1350675990],[23488978944,1350676005],[23488978944,1350676020],[23488978944,1350676035],[23488978944,1350676050],[23488978944,1350676065],[23488978944,1350676080],[23488978944,1350676095],[23488978944,1350676110],[23488978944,1350676125],[23488978944,1350676140],[23488978944,1350676155],[23488978944,1350676170],[23488978944,1350676185],[23488978944,1350676200],[23488978944,1350676215],[23488978944,1350676230],[23488978944,1350676245],[23488978944,1350676260],[23488978944,1350676275],[23488978944,1350676290],[23488978944
 ,1350676305],[23488978944,1350676320],[23488978944,1350676335],[23488978944,1350676350],[23488978944,1350676365],[23488978944,1350676380],[23488978944,1350676395],[23488978944,1350676410],[23488978944,1350676425],[23488978944,1350676440],[23488978944,1350676455],[23488978944,1350676470],[23488978944,1350676485],[23488978944,1350676500],[23488978944,1350676515],[23488978944,1350676530],[23488978944,1350676545],[23488978944,1350676560],[23488978944,1350676575],[23488978944,1350676590],[23488978944,1350676605],[23488978944,1350676620],[23488978944,1350676635],[23488978944,1350676650],[23488978944,1350676665],[23488978944,1350676680],[23488978944,1350676695],[23488978944,1350676710],[23488978944,1350676725],[23488978944,1350676740],[23488978944,1350676755],[23488978944,1350676770],[23488978944,1350676785],[23488978944,1350676800],[23488978944,1350676815],[23488978944,1350676830],[23488978944,1350676845],[23488978944,1350676860],[23488978944,1350676875],[23488978944,1350676890],[
 23488978944,1350676905],[23488978944,1350676920],[23488978944,1350676935],[23488978944,1350676950],[23488978944,1350676965],[23488978944,1350676980],[23488978944,1350676995],[23488978944,1350677010],[23488978944,1350677025],[23488978944,1350677040],[23488978944,1350677055],[23488978944,1350677070],[23488978944,1350677085],[23488978944,1350677100],[23488978944,1350677115],[23488978944,1350677130],[23488978944,1350677145],[23488978944,1350677160],[23488978944,1350677175],[23488978944,1350677190],[23488978944,1350677205],[23488978944,1350677220],[23488978944,1350677235],[23488978944,1350677250],[23488978944,1350677265],[23488978944,1350677280],[23488978944,1350677295],[23488978944,1350677310],[23488978944,1350677325],[23488978944,1350677340],[23488978944,1350677355],[23488978944,1350677370],[23488978944,1350677385],[23488978944,1350677400],[23488978944,1350677415],[23488978944,1350677430],[23488978944,1350677445],[23488978944,1350677460],[23488978944,1350677475],[23488978944,13
 50677490],[23488978944,1350677505],[23488978944,1350677520],[23488978944,1350677535],[23488978944,1350677550],[23488978944,1350677565],[23488978944,1350677580],[23488978944,1350677595],[23488978944,1350677610],[23488978944,1350677625],[23488978944,1350677640],[23488978944,1350677655],[23488978944,1350677670],[23488978944,1350677685],[23488978944,1350677700],[23488978944,1350677715],[23488978944,1350677730],[23488978944,1350677745],[23488978944,1350677760],[23488978944,1350677775],[23488978944,1350677790],[23488978944,1350677805],[23488978944,1350677820],[23488978944,1350677835],[23488978944,1350677850],[23488978944,1350677865],[23488978944,1350677880],[23488978944,1350677895],[23488978944,1350677910],[23488978944,1350677925],[23488978944,1350677940],[23488978944,1350677955],[23488978944,1350677970],[23488978944,1350677985],[23488978944,1350678000],[23488978944,1350678015],[23488978944,1350678030],[23488978944,1350678045],[23488978944,1350678060],[23488978944,1350678075],[234
 88978944,1350678090],[23488978944,1350678105],[23488978944,1350678120],[23488978944,1350678135],[23488978944,1350678150],[23488978944,1350678165],[23488978944,1350678180],[23488978944,1350678195],[23488978944,1350678210],[23488978944,1350678225],[23488978944,1350678240],[23488978944,1350678255],[23488978944,1350678270],[23488978944,1350678285],[23488978944,1350678300],[23488978944,1350678315],[23488978944,1350678330],[23488978944,1350678345],[23488978944,1350678360],[23488978944,1350678375],[23488978944,1350678390],[23488978944,1350678405],[23488978944,1350678420],[23488978944,1350678435],[23488978944,1350678450],[23488978944,1350678465],[23488978944,1350678480],[23488978944,1350678495],[23488978944,1350678510],[23488978944,1350678525],[23488978944,1350678540],[23488978944,1350678555],[23488978944,1350678570],[23488978944,1350678585],[23488978944,1350678600],[23488978944,1350678615],[23488978944,1350678630],[23488978944,1350678645],[23488978944,1350678660],[23488978944,13506
 78675],[23488978944,1350678690],[23488978944,1350678705],[23488978944,1350678720],[23488978944,1350678735],[23488978944,1350678750],[23488978944,1350678765],[23488978944,1350678780],[23488978944,1350678795],[23488978944,1350678810],[23488978944,1350678825],[23488978944,1350678840],[23488978944,1350678855],[23488978944,1350678870],[23488978944,1350678885],[23488978944,1350678900],[23488978944,1350678915],[23488978944,1350678930],[23488978944,1350678945],[23488978944,1350678960],[0,1350678975],[0,1350678990]]}]
\ No newline at end of file

Added: incubator/ambari/branches/AMBARI-666/ambari-web/app/assets/data/cluster_metrics/memory_2hr.json
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/ambari-web/app/assets/data/cluster_metrics/memory_2hr.json?rev=1400490&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/ambari-web/app/assets/data/cluster_metrics/memory_2hr.json (added)
+++ incubator/ambari/branches/AMBARI-666/ambari-web/app/assets/data/cluster_metrics/memory_2hr.json Sat Oct 20 17:17:07 2012
@@ -0,0 +1 @@
+[{"ds_name":"bmem_used","cluster_name":"","graph_type":"stack","host_name":"","metric_name":"Use\\g","datapoints":[[6611666386.5,1350519840],[6607590718.6,1350520200],[6598802921.2,1350520560],[6599184167.8,1350520920],[6600846927.6,1350521280],[6601654340.3,1350521640],[6603619180.1,1350522000],[6608557545.2,1350522360],[6607194533,1350522720],[6605735025.8,1350523080],[6603998105.6,1350523440],[6604949424.4,1350523800],[6605775496.5,1350524160],[6605691437.5,1350524520],[6606612935.1,1350524880],[6608204185.6,1350525240],[6608155261.2,1350525600],[6653075603.9,1350525960],[6652708761.6,1350526320],[0,1350526680],[0,1350527040]]},{"ds_name":"bmem_shared","cluster_name":"","graph_type":"stack","host_name":"","metric_name":"Share\\g","datapoints":[[0,1350519840],[0,1350520200],[0,1350520560],[0,1350520920],[0,1350521280],[0,1350521640],[0,1350522000],[0,1350522360],[0,1350522720],[0,1350523080],[0,1350523440],[0,1350523800],[0,1350524160],[0,1350524520],[0,1350524880],[0,1350
 525240],[0,1350525600],[0,1350525960],[0,1350526320],[0,1350526680],[0,1350527040]]},{"ds_name":"bmem_cached","cluster_name":"","graph_type":"stack","host_name":"","metric_name":"Cache\\g","datapoints":[[6583777245.9,1350519840],[6584079109.7,1350520200],[6584355089.1,1350520560],[6584645643.4,1350520920],[6584953878.8,1350521280],[6585259736.2,1350521640],[6585550848,1350522000],[6585851437.5,1350522360],[6586156123,1350522720],[6586563185.8,1350523080],[6586897373.9,1350523440],[6587174491,1350523800],[6587487687.1,1350524160],[6587763848.5,1350524520],[6588033513.2,1350524880],[6588284950.8,1350525240],[6588571204.3,1350525600],[6588924950.8,1350525960],[6589168640,1350526320],[0,1350526680],[0,1350527040]]},{"ds_name":"bmem_buffers","cluster_name":"","graph_type":"stack","host_name":"","metric_name":"Buffer\\g","datapoints":[[558022690.13,1350519840],[558269769.96,1350520200],[558499737.6,1350520560],[558749320.53,1350520920],[558976523.38,1350521280],[559188673.42,13505
 21640],[559454139.73,1350522000],[559749074.49,1350522360],[560021913.6,1350522720],[560313662.58,1350523080],[560651332.27,1350523440],[560954049.42,1350523800],[561263559.11,1350524160],[561470259.2,1350524520],[561661644.8,1350524880],[561861188.27,1350525240],[562096469.33,1350525600],[562875756.09,1350525960],[563147229.87,1350526320],[0,1350526680],[0,1350527040]]},{"ds_name":"bmem_swapped","cluster_name":"","graph_type":"stack","host_name":"","metric_name":"Swap\\g","datapoints":[[0,1350519840],[0,1350520200],[0,1350520560],[0,1350520920],[0,1350521280],[0,1350521640],[0,1350522000],[0,1350522360],[0,1350522720],[0,1350523080],[0,1350523440],[0,1350523800],[0,1350524160],[0,1350524520],[0,1350524880],[0,1350525240],[0,1350525600],[0,1350525960],[0,1350526320],[0,1350526680],[0,1350527040]]},{"ds_name":"bmem_total","cluster_name":"","graph_type":"line","host_name":"","metric_name":"Total\\g","datapoints":[[23488978944,1350519840],[23488978944,1350520200],[23488978944,1
 350520560],[23488978944,1350520920],[23488978944,1350521280],[23488978944,1350521640],[23488978944,1350522000],[23488978944,1350522360],[23488978944,1350522720],[23488978944,1350523080],[23488978944,1350523440],[23488978944,1350523800],[23488978944,1350524160],[23488978944,1350524520],[23488978944,1350524880],[23488978944,1350525240],[23488978944,1350525600],[23488978944,1350525960],[23488978944,1350526320],[0,1350526680],[0,1350527040]]}]
\ No newline at end of file

Added: incubator/ambari/branches/AMBARI-666/ambari-web/app/assets/data/cluster_metrics/network_1hr.json
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/ambari-web/app/assets/data/cluster_metrics/network_1hr.json?rev=1400490&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/ambari-web/app/assets/data/cluster_metrics/network_1hr.json (added)
+++ incubator/ambari/branches/AMBARI-666/ambari-web/app/assets/data/cluster_metrics/network_1hr.json Sat Oct 20 17:17:07 2012
@@ -0,0 +1 @@
+[{"ds_name":"a0","cluster_name":"","graph_type":"line","host_name":"","metric_name":"In ","datapoints":[[981.75,1350675420],[981.75,1350675435],[981.75,1350675450],[981.75,1350675465],[981.75,1350675480],[981.75,1350675495],[981.75,1350675510],[981.75,1350675525],[1144.5233333,1350675540],[1286.95,1350675555],[1286.95,1350675570],[1579.47,1350675585],[1579.47,1350675600],[1579.47,1350675615],[1579.47,1350675630],[1579.47,1350675645],[1579.47,1350675660],[1579.47,1350675675],[1579.47,1350675690],[1579.47,1350675705],[1579.47,1350675720],[1579.47,1350675735],[1579.47,1350675750],[1579.47,1350675765],[1579.47,1350675780],[1579.47,1350675795],[1579.47,1350675810],[1579.47,1350675825],[1414.8066667,1350675840],[1226.62,1350675855],[1226.62,1350675870],[805.76666667,1350675885],[741.02,1350675900],[741.02,1350675915],[741.02,1350675930],[741.02,1350675945],[741.02,1350675960],[741.02,1350675975],[741.02,1350675990],[741.02,1350676005],[741.02,1350676020],[741.02,1350676035],[741.0
 2,1350676050],[741.02,1350676065],[741.02,1350676080],[741.02,1350676095],[741.02,1350676110],[741.02,1350676125],[725.00666667,1350676140],[680.97,1350676155],[686.578,1350676170],[714.928,1350676185],[718.16,1350676200],[718.16,1350676215],[718.16,1350676230],[718.16,1350676245],[718.16,1350676260],[718.16,1350676275],[718.16,1350676290],[718.16,1350676305],[718.16,1350676320],[718.16,1350676335],[718.16,1350676350],[718.16,1350676365],[718.16,1350676380],[718.16,1350676395],[718.16,1350676410],[718.16,1350676425],[730.446,1350676440],[779.59,1350676455],[775.384,1350676470],[746.70933333,1350676485],[742.4,1350676500],[742.4,1350676515],[742.4,1350676530],[742.4,1350676545],[742.4,1350676560],[742.4,1350676575],[742.4,1350676590],[742.4,1350676605],[742.4,1350676620],[742.4,1350676635],[742.4,1350676650],[742.4,1350676665],[742.4,1350676680],[742.4,1350676695],[742.4,1350676710],[742.4,1350676725],[747.924,1350676740],[770.02,1350676755],[793.082,1350676770],[965.81333333
 ,1350676785],[995.08,1350676800],[995.08,1350676815],[995.08,1350676830],[995.08,1350676845],[995.08,1350676860],[995.08,1350676875],[995.08,1350676890],[995.08,1350676905],[995.08,1350676920],[995.08,1350676935],[995.08,1350676950],[995.08,1350676965],[995.08,1350676980],[995.08,1350676995],[995.08,1350677010],[995.08,1350677025],[991.30666667,1350677040],[966.78,1350677055],[951.40266667,1350677070],[785.6,1350677085],[741.7,1350677100],[741.7,1350677115],[741.7,1350677130],[741.7,1350677145],[741.7,1350677160],[741.7,1350677175],[741.7,1350677190],[741.7,1350677205],[741.7,1350677220],[741.7,1350677235],[741.7,1350677250],[741.7,1350677265],[741.7,1350677280],[741.7,1350677295],[741.7,1350677310],[741.7,1350677325],[767.26666667,1350677340],[780.05,1350677355],[784.26,1350677370],[811.87333333,1350677385],[817.26,1350677400],[817.26,1350677415],[817.26,1350677430],[817.26,1350677445],[817.26,1350677460],[817.26,1350677475],[817.26,1350677490],[817.26,1350677505],[817.26,1
 350677520],[817.26,1350677535],[817.26,1350677550],[817.26,1350677565],[817.26,1350677580],[817.26,1350677595],[817.26,1350677610],[814.70133333,1350677625],[778.88,1350677640],[778.88,1350677655],[767.782,1350677670],[741.69,1350677685],[741.69,1350677700],[741.69,1350677715],[741.69,1350677730],[741.69,1350677745],[741.69,1350677760],[741.69,1350677775],[741.69,1350677790],[741.69,1350677805],[741.69,1350677820],[741.69,1350677835],[741.69,1350677850],[741.69,1350677865],[741.69,1350677880],[741.69,1350677895],[741.69,1350677910],[741.69,1350677925],[741.69,1350677940],[712.44866667,1350677955],[728.03266667,1350677970],[748.23,1350677985],[748.23,1350678000],[748.23,1350678015],[748.23,1350678030],[748.23,1350678045],[748.23,1350678060],[748.23,1350678075],[748.23,1350678090],[748.23,1350678105],[748.23,1350678120],[748.23,1350678135],[748.23,1350678150],[748.23,1350678165],[1203.3326667,1350678180],[1687.15,1350678195],[1524.8193333,1350678210],[1235.3133333,1350678225],
 [1106.28,1350678240],[1085.054,1350678255],[787.89,1350678270],[787.89,1350678285],[787.89,1350678300],[787.89,1350678315],[787.89,1350678330],[787.89,1350678345],[787.89,1350678360],[2620.082,1350678375],[5918.49,1350678390],[5918.49,1350678405],[2336.03,1350678420],[724.35,1350678435],[724.35,1350678450],[724.35,1350678465],[724.35,1350678480],[2935.9286667,1350678495],[6957.61,1350678510],[6957.61,1350678525],[1842.9426667,1350678540],[739.86,1350678555],[739.86,1350678570],[739.86,1350678585],[739.86,1350678600],[938.07666667,1350678615],[1164.61,1350678630],[1164.61,1350678645],[3823.5666667,1350678660],[5626.34,1350678675],[4938.276,1350678690],[1003.644,1350678705],[796.32,1350678720],[796.32,1350678735],[796.32,1350678750],[796.32,1350678765],[796.32,1350678780],[796.32,1350678795],[796.32,1350678810],[796.32,1350678825],[796.32,1350678840],[1450.9173333,1350678855],[2554.304,1350678870],[2687.78,1350678885],[5338.652,1350678900],[6993.69,1350678915],[4485.5233333,13
 50678930],[1210.75,1350678945],[810.56,1350678960],[0,1350678975],[0,1350678990],[0,1350679005],[0,1350679020]]},{"ds_name":"a1","cluster_name":"","graph_type":"line","host_name":"","metric_name":"Out","datapoints":[[4564.87,1350675420],[4564.87,1350675435],[4564.87,1350675450],[4564.87,1350675465],[4564.87,1350675480],[4564.87,1350675495],[4564.87,1350675510],[4564.87,1350675525],[6484.7366667,1350675540],[8164.62,1350675555],[8164.62,1350675570],[11367.7,1350675585],[11367.7,1350675600],[11367.7,1350675615],[11367.7,1350675630],[11367.7,1350675645],[11367.7,1350675660],[11367.7,1350675675],[11367.7,1350675690],[11367.7,1350675705],[11367.7,1350675720],[11367.7,1350675735],[11367.7,1350675750],[11367.7,1350675765],[11367.7,1350675780],[11367.7,1350675795],[11367.7,1350675810],[11367.7,1350675825],[9080.3473333,1350675840],[6466.23,1350675855],[6466.23,1350675870],[1368.0633333,1350675885],[583.73,1350675900],[583.73,1350675915],[583.73,1350675930],[583.73,1350675945],[583.7
 3,1350675960],[583.73,1350675975],[583.73,1350675990],[583.73,1350676005],[583.73,1350676020],[583.73,1350676035],[583.73,1350676050],[583.73,1350676065],[583.73,1350676080],[583.73,1350676095],[583.73,1350676110],[583.73,1350676125],[571.26866667,1350676140],[537,1350676155],[541.34133333,1350676170],[563.664,1350676185],[566.26,1350676200],[566.26,1350676215],[566.26,1350676230],[566.26,1350676245],[566.26,1350676260],[566.26,1350676275],[566.26,1350676290],[566.26,1350676305],[566.26,1350676320],[566.26,1350676335],[566.26,1350676350],[566.26,1350676365],[566.26,1350676380],[566.26,1350676395],[566.26,1350676410],[566.26,1350676425],[576.022,1350676440],[615.07,1350676455],[611.814,1350676470],[589.27133333,1350676485],[585.81,1350676500],[585.81,1350676515],[585.81,1350676530],[585.81,1350676545],[585.81,1350676560],[585.81,1350676575],[585.81,1350676590],[585.81,1350676605],[585.81,1350676620],[585.81,1350676635],[585.81,1350676650],[585.81,1350676665],[585.81,135067668
 0],[585.81,1350676695],[585.81,1350676710],[585.81,1350676725],[822.278,1350676740],[1768.15,1350676755],[2018.844,1350676770],[3937.678,1350676785],[4270.79,1350676800],[4270.79,1350676815],[4270.79,1350676830],[4270.79,1350676845],[4270.79,1350676860],[4270.79,1350676875],[4270.79,1350676890],[4270.79,1350676905],[4270.79,1350676920],[4270.79,1350676935],[4270.79,1350676950],[4270.79,1350676965],[4270.79,1350676980],[4270.79,1350676995],[4270.79,1350677010],[4270.79,1350677025],[4113.0073333,1350677040],[3087.42,1350677055],[2920.288,1350677070],[1084.428,1350677085],[584.76,1350677100],[584.76,1350677115],[584.76,1350677130],[584.76,1350677145],[584.76,1350677160],[584.76,1350677175],[584.76,1350677190],[584.76,1350677205],[584.76,1350677220],[584.76,1350677235],[584.76,1350677250],[584.76,1350677265],[584.76,1350677280],[584.76,1350677295],[584.76,1350677310],[584.76,1350677325],[1378.5933333,1350677340],[1775.51,1350677355],[1778.77,1350677370],[1800.4633333,1350677385]
 ,[1804.79,1350677400],[1804.79,1350677415],[1804.79,1350677430],[1804.79,1350677445],[1804.79,1350677460],[1804.79,1350677475],[1804.79,1350677490],[1804.79,1350677505],[1804.79,1350677520],[1804.79,1350677535],[1804.79,1350677550],[1804.79,1350677565],[1804.79,1350677580],[1804.79,1350677595],[1804.79,1350677610],[1725.4046667,1350677625],[614.01,1350677640],[614.01,1350677655],[605.13666667,1350677670],[584.75,1350677685],[584.75,1350677700],[584.75,1350677715],[584.75,1350677730],[584.75,1350677745],[584.75,1350677760],[584.75,1350677775],[584.75,1350677790],[584.75,1350677805],[584.75,1350677820],[584.75,1350677835],[584.75,1350677850],[584.75,1350677865],[584.75,1350677880],[584.75,1350677895],[584.75,1350677910],[584.75,1350677925],[584.75,1350677940],[562.34066667,1350677955],[574.87533333,1350677970],[591.03,1350677985],[591.03,1350678000],[591.03,1350678015],[591.03,1350678030],[591.03,1350678045],[591.03,1350678060],[591.03,1350678075],[591.03,1350678090],[591.03,1
 350678105],[591.03,1350678120],[591.03,1350678135],[591.03,1350678150],[591.03,1350678165],[6906.5986667,1350678180],[13515.96,1350678195],[11221.698667,1350678210],[6931.5586667,1350678225],[4934.23,1350678240],[4646.6886667,1350678255],[621.11,1350678270],[621.11,1350678285],[621.11,1350678300],[621.11,1350678315],[621.11,1350678330],[621.11,1350678345],[621.11,1350678360],[30122.352667,1350678375],[83575.23,1350678390],[83575.23,1350678405],[26390.746,1350678420],[570.07,1350678435],[570.07,1350678450],[570.07,1350678465],[570.07,1350678480],[60860.154667,1350678495],[160170.9,1350678510],[160170.9,1350678525],[28951.421333,1350678540],[583.56,1350678555],[583.56,1350678570],[583.56,1350678585],[583.56,1350678600],[2785.144,1350678615],[5301.24,1350678630],[5301.24,1350678645],[41051.028667,1350678660],[65679.61,1350678675],[56212.91,1350678690],[3387.1026667,1350678705],[628.12,1350678720],[628.12,1350678735],[628.12,1350678750],[628.12,1350678765],[628.12,1350678780],[6
 28.12,1350678795],[628.12,1350678810],[628.12,1350678825],[628.12,1350678840],[6400.9946667,1350678855],[16163.408,1350678870],[17341.74,1350678885],[54974.190667,1350678900],[78128.35,1350678915],[47193.502,1350678930],[6206.846,1350678945],[1132.21,1350678960],[0,1350678975],[0,1350678990],[0,1350679005],[0,1350679020]]}]
\ No newline at end of file

Added: incubator/ambari/branches/AMBARI-666/ambari-web/app/assets/data/cluster_metrics/network_2hr.json
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/ambari-web/app/assets/data/cluster_metrics/network_2hr.json?rev=1400490&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/ambari-web/app/assets/data/cluster_metrics/network_2hr.json (added)
+++ incubator/ambari/branches/AMBARI-666/ambari-web/app/assets/data/cluster_metrics/network_2hr.json Sat Oct 20 17:17:07 2012
@@ -0,0 +1 @@
+[{"ds_name":"a0","cluster_name":"","graph_type":"line","host_name":"","metric_name":"In ","datapoints":[[352.942,1350519840],[236.59,1350520200],[240.60791667,1350520560],[351.89730556,1350520920],[294.35841667,1350521280],[374.38777778,1350521640],[249.21122222,1350522000],[259.88830556,1350522360],[382.79436111,1350522720],[617.02863889,1350523080],[240.46,1350523440],[247.0425,1350523800],[503.92527778,1350524160],[233.43291667,1350524520],[240.355,1350524880],[229.16444444,1350525240],[227.12472222,1350525600],[239.61583333,1350525960],[345.57472222,1350526320],[451.08116667,1350526680],[0,1350527040]]},{"ds_name":"a1","cluster_name":"","graph_type":"line","host_name":"","metric_name":"Out","datapoints":[[2044.9526667,1350519840],[186.601,1350520200],[322.66416667,1350520560],[1746.4213333,1350520920],[801.19655556,1350521280],[2100.7752778,1350521640],[196.62205556,1350522000],[544.16102778,1350522360],[2467.9166389,1350522720],[6349.9070833,1350523080],[189.792,1350523
 440],[195.6495,1350523800],[3345.7549444,1350524160],[302.33,1350524520],[190.26427778,1350524880],[179.69261111,1350525240],[178.87130556,1350525600],[189.15422222,1350525960],[1709.4773889,1350526320],[2826.0326667,1350526680],[0,1350527040]]}]
\ No newline at end of file

Modified: incubator/ambari/branches/AMBARI-666/ambari-web/app/assets/licenses/NOTICE.txt
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/ambari-web/app/assets/licenses/NOTICE.txt?rev=1400490&r1=1400489&r2=1400490&view=diff
==============================================================================
--- incubator/ambari/branches/AMBARI-666/ambari-web/app/assets/licenses/NOTICE.txt (original)
+++ incubator/ambari/branches/AMBARI-666/ambari-web/app/assets/licenses/NOTICE.txt Sat Oct 20 17:17:07 2012
@@ -28,6 +28,9 @@ This product includes D3.js (http://d3js
 Copyright (c) 2012, Michael Bostock.
 
 This product includes bootstrap-datepicker.js (http://www.eyecon.ro/bootstrap-datepicker - Apache License, Version 2.0)
-Copyright 2012 Stefan Petre
+Copyright (c) 2012 Stefan Petre
 
-This product includes Font Awesome 2.0 (http://fortawesome.github.com/Font-Awesome - Creative Commons 3.0)
\ No newline at end of file
+This product includes Font Awesome 2.0 (http://fortawesome.github.com/Font-Awesome - Creative Commons 3.0)
+
+This product incudes Rickshaw 1.1.2 (http://code.shutterstock.com/rickshaw/ - MIT License)
+Copyright (C) 2011 by Shutterstock Images, LLC
\ No newline at end of file

Modified: incubator/ambari/branches/AMBARI-666/ambari-web/app/styles/application.less
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/ambari-web/app/styles/application.less?rev=1400490&r1=1400489&r2=1400490&view=diff
==============================================================================
--- incubator/ambari/branches/AMBARI-666/ambari-web/app/styles/application.less (original)
+++ incubator/ambari/branches/AMBARI-666/ambari-web/app/styles/application.less Sat Oct 20 17:17:07 2012
@@ -164,6 +164,14 @@ h1 {
   }
 }
 
+.hide{
+  visibility: hidden;
+}
+
+.show{
+  visibility: visible;
+}
+
 /***************
  * Ambari wide icon colors
  ***************/
@@ -544,6 +552,50 @@ a:focus {
 
 /*end alerts summary*/
 
+/*start cluster metrics*/
+.cluster-metrics{
+  .chart-container{
+    position: relative;
+    margin: 20px 15px 0px 15px;
+  }
+  .chart{
+    padding-bottom: 0px !important;
+    position: relative;
+    height: 160px;
+    z-index: 1;
+  }
+  .chart-y-axis{
+    position: absolute;
+    top: 0;
+    bottom: 0px;
+    width: 100px;
+    z-index: 2;
+    margin-top: 15px;
+  }
+  .chart-x-axis{
+    position: absolute;
+    top: 180px;
+    left: 35%;
+    width: 30%;
+    z-index: 2;
+  }
+  .rickshaw_legend{
+    background-color: #999999 !important;
+  }
+  .chart-overlay{
+    position: absolute;
+    top: 0;
+    bottom: 0;
+    width: 100%;
+    z-index: 5;
+  }
+  .chart-title{
+    text-align: center;
+    font-size: small;
+  }
+}
+/*end cluster metrics*/
+
 /*****end styles for dashboard page*****/
 
 /*Services*/
@@ -1168,4 +1220,4 @@ ul.inline li {
 .ui-timepicker-rtl dl { text-align: right; }
 .ui-timepicker-rtl dl dd { margin: 0 65px 10px 10px; }
 
-/* TIME RANGE WIDGET END */
\ No newline at end of file
+/* TIME RANGE WIDGET END */

Added: incubator/ambari/branches/AMBARI-666/ambari-web/app/templates/main/charts/linear_time.hbs
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/ambari-web/app/templates/main/charts/linear_time.hbs?rev=1400490&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/ambari-web/app/templates/main/charts/linear_time.hbs (added)
+++ incubator/ambari/branches/AMBARI-666/ambari-web/app/templates/main/charts/linear_time.hbs Sat Oct 20 17:17:07 2012
@@ -0,0 +1,23 @@
+<!--
+* Licensed to the Apache Software Foundation (ASF) under one
+* or more contributor license agreements.  See the NOTICE file
+* distributed with this work for additional information
+* regarding copyright ownership.  The ASF licenses this file
+* to you under the Apache License, Version 2.0 (the
+* "License"); you may not use this file except in compliance
+* with the License.  You may obtain a copy of the License at
+*
+*     http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+-->
+<div id="{{unbound view.id}}-container" class="chart-container">
+  <div id="{{unbound view.id}}-yaxis" class="chart-y-axis"></div>
+  <div id="{{unbound view.id}}-xaxis" class="chart-x-axis"></div>
+  <div id="{{unbound view.id}}-overlay" class="chart-overlay"></div>
+  <div id="{{unbound view.id}}-chart" class="chart"></div>
+</div>
\ No newline at end of file

Modified: incubator/ambari/branches/AMBARI-666/ambari-web/app/templates/main/dashboard.hbs
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/ambari-web/app/templates/main/dashboard.hbs?rev=1400490&r1=1400489&r2=1400490&view=diff
==============================================================================
--- incubator/ambari/branches/AMBARI-666/ambari-web/app/templates/main/dashboard.hbs (original)
+++ incubator/ambari/branches/AMBARI-666/ambari-web/app/templates/main/dashboard.hbs Sat Oct 20 17:17:07 2012
@@ -37,11 +37,38 @@
     </div>
   </div>
   <div class="span6">
-    <div class="box">
+		<div class="box">
+			<div class="box-header">
+				<h4>Cluster Metrics</h4>
+				<div class="btn-group">
+          <a class="btn" href="http://gangliaserver/ganglia/?t=yes" target="_blank" rel="tooltip" title="Go to Ganglia"><i class="icon-link"></i></a>
+        </div>
+			</div>
+			<div class="cluster-metrics">
+				<div class="row">
+					<div class="span6">
+						<div class="row">
+							<div class="span3">{{view App.ChartClusterMetricsNetwork}}<div class="chart-title">Network Usage</div></div>
+							<div class="span3">{{view App.ChartClusterMetricsLoad}}<div class="chart-title">Cluster Load</div></div>
+						</div>
+					</div>
+				</div>
+				<div class="row">
+					<div class="span6">
+						<div class="row">
+							<div class="span3">{{view App.ChartClusterMetricsMemory}}<div class="chart-title">Memory Usage</div></div>
+							<div class="span3">{{view App.ChartClusterMetricsCPU}}<div class="chart-title">CPU Usage</div></div>
+						</div>
+					</div>
+				</div>
+			</div>
+		</div>
+    <div class="box alerts-section">
       <div class="box-header">
         <h4>Alerts</h4>
         <div class="btn-group">
           <button class="btn btn-primary dropdown-toggle" data-toggle="dropdown">{{controller.alertsFilteredBy}} <span class="caret"></span></button>
+          <a class="btn" href="http://nagiosserver/nagios" target="_blank" rel="tooltip" title="Go to Nagios"><i class="icon-link"></i></a>
           <ul class="dropdown-menu">
             <li><a {{action alertsFilter target="controller"}} href="javascript:void(null)">All</a></li>
             {{#each service in controller.services}}
@@ -78,10 +105,6 @@
         </li>
         {{/each}}
       </ul>
-      <div class="box-footer">
-        <hr />
-        <a class="go-to" href="http://nagiosserver/nagios" target="_blank">Go to Nagios</a>
-      </div>
     </div>
-  </div>
+	</div>
 </div>
\ No newline at end of file

Modified: incubator/ambari/branches/AMBARI-666/ambari-web/app/views.js
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/ambari-web/app/views.js?rev=1400490&r1=1400489&r2=1400490&view=diff
==============================================================================
--- incubator/ambari/branches/AMBARI-666/ambari-web/app/views.js (original)
+++ incubator/ambari/branches/AMBARI-666/ambari-web/app/views.js Sat Oct 20 17:17:07 2012
@@ -24,6 +24,7 @@ require('views/application');
 require('views/common/chart');
 require('views/common/chart/pie');
 require('views/common/chart/linear');
+require('views/common/chart/linear_time');
 require('views/common/modal_popup');
 require('views/common/metric');
 require('views/common/time_range');
@@ -57,6 +58,10 @@ require('views/main/dashboard/service/hb
 require('views/main/dashboard/service/hive');
 require('views/main/dashboard/service/zookeeper');
 require('views/main/dashboard/service/oozie');
+require('views/main/dashboard/cluster_metrics/cpu');
+require('views/main/dashboard/cluster_metrics/load');
+require('views/main/dashboard/cluster_metrics/memory');
+require('views/main/dashboard/cluster_metrics/network');
 require('views/main/service');
 require('views/main/service/menu');
 require('views/main/service/item');
@@ -87,4 +92,4 @@ require('views/wizard/step2_view');
 require('views/wizard/step3_view');
 require('views/wizard/step4_view');
 require('views/wizard/step5_view');
-require('views/wizard/step6_view');
\ No newline at end of file
+require('views/wizard/step6_view');

Added: incubator/ambari/branches/AMBARI-666/ambari-web/app/views/common/chart/linear_time.js
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/ambari-web/app/views/common/chart/linear_time.js?rev=1400490&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/ambari-web/app/views/common/chart/linear_time.js (added)
+++ incubator/ambari/branches/AMBARI-666/ambari-web/app/views/common/chart/linear_time.js Sat Oct 20 17:17:07 2012
@@ -0,0 +1,282 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with this
+ * work for additional information regarding copyright ownership. The ASF
+ * licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+var App = require('app');
+
+/**
+ * @class
+ * 
+ * This is a view which GETs data from a URL and shows it as a time based line
+ * graph. Time is shown on the X axis with data series shown on Y axis. It
+ * optionally also has the ability to auto refresh itself over a given time
+ * interval.
+ * 
+ * This is an abstract class which is meant to be extended.
+ * 
+ * Extending classes should override the following:
+ * <ul>
+ * <li>url - from where the data can be retrieved
+ * <li>id - which uniquely identifies this chart in any page
+ * <li>#transformToSeries(jsonData) - function to map server data into graph
+ * series
+ * </ul>
+ * 
+ * Extending classes could optionally override the following:
+ * <ul>
+ * <li>#colorForSeries(series) - function to get custom colors per series
+ * </ul>
+ * 
+ * @extends Ember.Object
+ * @extends Ember.View
+ */
+App.ChartLinearTimeView = Ember.View
+    .extend({
+      templateName: require('templates/main/charts/linear_time'),
+
+      /**
+       * The URL from which data can be retrieved.
+       * 
+       * This property must be provided for the graph to show properly.
+       * 
+       * @type String
+       * @default null
+       */
+      url: null,
+
+      /**
+       * A unique ID for this chart.
+       * 
+       * @type String
+       * @default null
+       */
+      id: null,
+
+      /**
+       * @private
+       * 
+       * @type Rickshaw.Graph
+       * @default null
+       */
+      _graph: null,
+
+      /**
+       * Color palette used for this chart
+       * 
+       * @private
+       * @type String[]
+       */
+      _paletteScheme: [ 'rgba(181,182,169,0.4)', 'rgba(133,135,114,0.4)',
+          'rgba(120,95,67,0.4)', 'rgba(150,85,126,0.4)',
+          'rgba(70,130,180,0.4)', 'rgba(0,255,204,0.4)',
+          'rgba(255,105,180,0.4)', 'rgba(101,185,172,0.4)',
+          'rgba(115,192,58,0.4)', 'rgba(203,81,58,0.4)' ].reverse(),
+
+      init: function () {
+        this._super();
+      },
+
+      selector: function () {
+        return '#' + this.get('elementId');
+      }.property('elementId'),
+
+      didInsertElement: function () {
+        this._super();
+        if (this.url != null) {
+          var hash = {};
+          hash.url = this.url;
+          hash.type = 'GET';
+          hash.dataType = 'json';
+          hash.contentType = 'application/json; charset=utf-8';
+          hash.context = this;
+          hash.success = this._refreshGraph;
+          jQuery.ajax(hash);
+        }
+      },
+
+      /**
+       * Transforms the JSON data retrieved from the server into the series
+       * format that Rickshaw.Graph understands.
+       * 
+       * The series object is generally in the following format: [ { name :
+       * "Series 1", data : [ { x : 0, y : 0 }, { x : 1, y : 1 } ] } ]
+       * 
+       * Extending classes should override this method.
+       * 
+       * @param jsonData
+       *          Data retrieved from the server
+       * @type: Function
+       * 
+       */
+      transformToSeries: function (jsonData) {
+        return [ {
+          name: "Series 1",
+          data: [ {
+            x: 0,
+            y: 0
+          }, {
+            x: 1,
+            y: 1
+          } ],
+        } ]
+      },
+
+      /**
+       * Provides the formatter to use in displaying Y axis.
+       * 
+       * The default is Rickshaw.Fixtures.Number.formatKMBT which shows 10K,
+       * 300M etc.
+       * 
+       * @type Function
+       */
+      yAxisFormatter: Rickshaw.Fixtures.Number.formatKMBT,
+
+      /**
+       * Provides the color (in any HTML color format) to use for a particular
+       * series.
+       * 
+       * @param series
+       *          Series for which color is being requested
+       * @return color String. Returning null allows this chart to pick a color
+       *         from palette.
+       * @default null
+       * @type Function
+       */
+      colorForSeries: function (series) {
+        return null;
+      },
+
+      /**
+       * @private
+       * 
+       * Refreshes the graph with the latest JSON data.
+       * 
+       * @type Function
+       */
+      _refreshGraph: function (jsonData) {
+        var seriesData = this.transformToSeries(jsonData);
+        if (seriesData instanceof Array) {
+          var palette = new Rickshaw.Color.Palette({
+            scheme: this._paletteScheme
+          });
+          seriesData.forEach(function (series) {
+            series.color = this.colorForSeries(series) || palette.color();
+            series.stroke = 'rgba(0,0,0,0.3)';
+          }.bind(this));
+        }
+        if (this._graph == null) {
+          var chartId = "#" + this.id + "-chart";
+          var chartOverlayId = "#" + this.id + "-overlay";
+          var xaxisElementId = "#" + this.id + "-xaxis";
+          var yaxisElementId = "#" + this.id + "-yaxis";
+          var chartElement = document.querySelector(chartId);
+          var overlayElement = document.querySelector(chartOverlayId);
+          var xaxisElement = document.querySelector(xaxisElementId);
+          var yaxisElement = document.querySelector(yaxisElementId);
+
+          this._graph = new Rickshaw.Graph({
+            height: 150,
+            element: chartElement,
+            series: seriesData,
+            interpolation: 'step-after',
+            stroke: true,
+            renderer: 'area',
+            strokeWidth: 1,
+          });
+          this._graph.renderer.unstack = true;
+
+          xAxis = new Rickshaw.Graph.Axis.Time({
+            graph: this._graph,
+          });
+          yAxis = new Rickshaw.Graph.Axis.Y({
+            tickFormat: this.yAxisFormatter,
+            element: yaxisElement,
+            graph: this._graph
+          });
+
+          overlayElement.addEventListener('mousemove', function (e) {
+            $(xaxisElement).removeClass('hide');
+            $(yaxisElement).removeClass('hide');
+            $(chartElement).children("div").removeClass('hide');
+          });
+          overlayElement.addEventListener('mouseout', function (e) {
+            $(xaxisElement).addClass('hide');
+            $(yaxisElement).addClass('hide');
+            $(chartElement).children("div").addClass('hide');
+          });
+          // Hide axes
+          this._graph.onUpdate(function () {
+            $(xaxisElement).addClass('hide');
+            $(yaxisElement).addClass('hide');
+            $(chartElement).children('div').addClass('hide');
+          });
+
+          var legend = new Rickshaw.Graph.Legend({
+            graph: this._graph,
+            element: xaxisElement
+          });
+
+          // The below code will be needed if we ever use curve
+          // smoothing in our graphs. (see rickshaw defect below)
+          // this._graph.onUpdate(jQuery.proxy(function () {
+          // this._adjustSVGHeight();
+          // }, this));
+        }
+        this._graph.render();
+
+      },
+
+      /**
+       * @private
+       * 
+       * When a graph is given a particular width and height,the lines are drawn
+       * in a slightly bigger area thereby chopping off some of the UI. Hence
+       * after the rendering, we adjust the SVGs size in the DOM to compensate.
+       * 
+       * Opened https://github.com/shutterstock/rickshaw/issues/141
+       * 
+       * @type Function
+       */
+      _adjustSVGHeight: function () {
+        if (this._graph && this._graph.element
+            && this._graph.element.firstChild) {
+          var svgElement = this._graph.element.firstChild;
+          svgElement.setAttribute('height', $(this._graph.element).height()
+              + "px");
+          svgElement.setAttribute('width', $(this._graph.element).width()
+              + "px");
+        }
+      }
+    });
+
+/**
+ * A formatter which will turn a number into computer storage sizes of the
+ * format '23 GB' etc.
+ * 
+ * @type Function
+ */
+App.ChartLinearTimeView.BytesFormatter = function (y) {
+  var value = Rickshaw.Fixtures.Number.formatBase1024KMGTP(y);
+  if (!y || y.length < 1) {
+    value = "0";
+  } else {
+    if ("string" == typeof value) {
+      value = value.replace(/\.\d+/, " ")
+      value = value + "B";
+    }
+  }
+  return value;
+}

Added: incubator/ambari/branches/AMBARI-666/ambari-web/app/views/main/dashboard/cluster_metrics/cpu.js
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/ambari-web/app/views/main/dashboard/cluster_metrics/cpu.js?rev=1400490&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/ambari-web/app/views/main/dashboard/cluster_metrics/cpu.js (added)
+++ incubator/ambari/branches/AMBARI-666/ambari-web/app/views/main/dashboard/cluster_metrics/cpu.js Sat Oct 20 17:17:07 2012
@@ -0,0 +1,66 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with this
+ * work for additional information regarding copyright ownership. The ASF
+ * licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+var App = require('app');
+
+/**
+ * @class
+ * 
+ * This is a view for showing cluster CPU metrics
+ * 
+ * @extends App.ChartLinearTimeView
+ * @extends Ember.Object
+ * @extends Ember.View
+ */
+App.ChartClusterMetricsCPU = App.ChartLinearTimeView.extend({
+  id: "cluster-metrics-cpu",
+  url: "/data/cluster_metrics/cpu_1hr.json",
+  
+  yAxisFormatter: function (y) {
+    var value = this._super(y);
+    if (!value || value.length < 1) {
+      value = "0";
+    }
+    return value + "%";
+  },
+  
+  transformToSeries: function (jsonData) {
+    var seriesArray = [];
+    if (jsonData instanceof Array) {
+      jsonData.forEach(function (data) {
+        var series = {};
+        series.name = data.metric_name.replace(/\\g/, '');
+        series.data = [];
+        for ( var index = 0; index < data.datapoints.length; index++) {
+          series.data.push({
+            x: data.datapoints[index][1],
+            y: data.datapoints[index][0]
+          });
+        }
+        seriesArray.push(series);
+      });
+    }
+    return seriesArray;
+  },
+  
+  colorForSeries: function (series) {
+    if ("Idle" == series.name){
+      return 'rgba(255,255,255,1)';
+    }
+    return null;
+  }
+});
\ No newline at end of file

Added: incubator/ambari/branches/AMBARI-666/ambari-web/app/views/main/dashboard/cluster_metrics/load.js
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/ambari-web/app/views/main/dashboard/cluster_metrics/load.js?rev=1400490&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/ambari-web/app/views/main/dashboard/cluster_metrics/load.js (added)
+++ incubator/ambari/branches/AMBARI-666/ambari-web/app/views/main/dashboard/cluster_metrics/load.js Sat Oct 20 17:17:07 2012
@@ -0,0 +1,52 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+var App = require('app');
+
+/**
+ * @class
+ * 
+ * This is a view for showing cluster load
+ * 
+ * @extends App.ChartLinearTimeView
+ * @extends Ember.Object
+ * @extends Ember.View
+ */
+App.ChartClusterMetricsLoad = App.ChartLinearTimeView.extend({
+  id: "cluster-metrics-load",
+  url: "/data/cluster_metrics/load_1hr.json",
+  
+  transformToSeries: function(jsonData){
+    var seriesArray = [];
+    if(jsonData instanceof Array){
+      jsonData.forEach(function(data){
+        var series = {};
+        series.name = data.metric_name;
+        series.data = [];
+        for(var index=0; index<data.datapoints.length; index++){
+          series.data.push({
+            x: data.datapoints[index][1],
+            y: data.datapoints[index][0]
+          });
+        }
+        seriesArray.push(series);
+      });
+    }
+    return seriesArray;
+  }
+});
\ No newline at end of file

Added: incubator/ambari/branches/AMBARI-666/ambari-web/app/views/main/dashboard/cluster_metrics/memory.js
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/ambari-web/app/views/main/dashboard/cluster_metrics/memory.js?rev=1400490&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/ambari-web/app/views/main/dashboard/cluster_metrics/memory.js (added)
+++ incubator/ambari/branches/AMBARI-666/ambari-web/app/views/main/dashboard/cluster_metrics/memory.js Sat Oct 20 17:17:07 2012
@@ -0,0 +1,59 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with this
+ * work for additional information regarding copyright ownership. The ASF
+ * licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+var App = require('app');
+
+/**
+ * @class
+ * 
+ * This is a view for showing cluster memory metrics
+ * 
+ * @extends App.ChartLinearTimeView
+ * @extends Ember.Object
+ * @extends Ember.View
+ */
+App.ChartClusterMetricsMemory = App.ChartLinearTimeView.extend({
+  id: "cluster-metrics-memory",
+  url: "/data/cluster_metrics/memory_1hr.json",
+  
+  yAxisFormatter: App.ChartLinearTimeView.BytesFormatter,
+  transformToSeries: function (jsonData) {
+    var seriesArray = [];
+    if (jsonData instanceof Array) {
+      jsonData.forEach(function (data) {
+        var series = {};
+        series.name = data.metric_name.replace(/\\g/, '');
+        series.data = [];
+        for ( var index = 0; index < data.datapoints.length; index++) {
+          series.data.push({
+            x: data.datapoints[index][1],
+            y: data.datapoints[index][0]
+          });
+        }
+        seriesArray.push(series);
+      });
+    }
+    return seriesArray;
+  },
+  
+  colorForSeries: function (series) {
+    if("Total"==series.name){
+      return 'rgba(255,255,255,1)';
+    }
+    return null;
+  }
+});
\ No newline at end of file

Added: incubator/ambari/branches/AMBARI-666/ambari-web/app/views/main/dashboard/cluster_metrics/network.js
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/ambari-web/app/views/main/dashboard/cluster_metrics/network.js?rev=1400490&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/ambari-web/app/views/main/dashboard/cluster_metrics/network.js (added)
+++ incubator/ambari/branches/AMBARI-666/ambari-web/app/views/main/dashboard/cluster_metrics/network.js Sat Oct 20 17:17:07 2012
@@ -0,0 +1,53 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+var App = require('app');
+
+/**
+ * @class
+ * 
+ * This is a view for showing cluster network metrics
+ * 
+ * @extends App.ChartLinearTimeView
+ * @extends Ember.Object
+ * @extends Ember.View
+ */
+App.ChartClusterMetricsNetwork = App.ChartLinearTimeView.extend({
+  id: "cluster-metrics-network",
+  url : "/data/cluster_metrics/network_1hr.json",
+  yAxisFormatter: App.ChartLinearTimeView.BytesFormatter,
+  
+  transformToSeries : function (jsonData) {
+    var seriesArray = [];
+    if (jsonData instanceof Array) {
+      jsonData.forEach(function (data) {
+        var series = {};
+        series.name = data.metric_name;
+        series.data = [];
+        for ( var index = 0; index < data.datapoints.length; index++) {
+          series.data.push({
+            x : data.datapoints[index][1],
+            y : data.datapoints[index][0]
+          });
+        }
+        seriesArray.push(series);
+      });
+    }
+    return seriesArray;
+  }
+});
\ No newline at end of file

Modified: incubator/ambari/branches/AMBARI-666/ambari-web/config.coffee
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/ambari-web/config.coffee?rev=1400490&r1=1400489&r2=1400490&view=diff
==============================================================================
--- incubator/ambari/branches/AMBARI-666/ambari-web/config.coffee (original)
+++ incubator/ambari/branches/AMBARI-666/ambari-web/config.coffee Sat Oct 20 17:17:07 2012
@@ -42,7 +42,8 @@ exports.config =
           'vendor/scripts/ember-i18n-1.2.0.js',
           'vendor/scripts/bootstrap.js',
           'vendor/scripts/d3.v2.js',
-          'vendor/scripts/sinon-1.4.2.js'
+          'vendor/scripts/sinon-1.4.2.js',
+          'vendor/scripts/rickshaw.js'
           ]
 
     stylesheets:
@@ -53,7 +54,8 @@ exports.config =
           'vendor/styles/bootstrap.css',
           'vendor/styles/datepicker.css'
           'vendor/styles/font-awesome.css'
-          'vendor/styles/font-awesome-ie7.css'
+          'vendor/styles/font-awesome-ie7.css',
+          'vendor/styles/rickshaw.css'
         ]
 
     templates: