Update nodepool graph to new metrics path

Change-Id: Id74a2440bcd58b131b539c8f1f5a466beffc4cde
This commit is contained in:
James E. Blair 2015-11-19 17:03:40 -08:00
parent 6b993dcf4d
commit aba3bad937

View File

@ -310,10 +310,10 @@ $("#graph-container").append($(new Image()).addClass('graph').graphite({
fgcolor: '000000',
areaMode: 'stacked',
target: [
"color(alias(sumSeries(stats.gauges.nodepool.target.building), 'Building'), 'ffbf52')",
"color(alias(sumSeries(stats.gauges.nodepool.target.ready), 'Available'), '00c868')",
"color(alias(sumSeries(stats.gauges.nodepool.target.used), 'In Use'), '6464ff')",
"color(alias(sumSeries(stats.gauges.nodepool.target.delete), 'Deleting'), 'c864ff')",
"color(alias(sumSeries(stats.gauges.nodepool.nodes.building), 'Building'), 'ffbf52')",
"color(alias(sumSeries(stats.gauges.nodepool.nodes.ready), 'Available'), '00c868')",
"color(alias(sumSeries(stats.gauges.nodepool.nodes.used), 'In Use'), '6464ff')",
"color(alias(sumSeries(stats.gauges.nodepool.nodes.delete), 'Deleting'), 'c864ff')",
],
title: "Test Nodes"
}));