diff --git a/client/WEB-INF/classes/resources/messages.properties b/client/WEB-INF/classes/resources/messages.properties index eae44d895b1..45ba35c287c 100644 --- a/client/WEB-INF/classes/resources/messages.properties +++ b/client/WEB-INF/classes/resources/messages.properties @@ -485,10 +485,6 @@ label.cpu.limits=CPU limits label.cpu.mhz=CPU (in MHz) label.cpu.utilized=CPU Utilized label.cpu=CPU -label.cpu.usage=CPU Usage -label.cpu.used.avg=Average CPU -label.cpu.max.dev=CPU Max Deviation -label.cpu.total.ghz=Total CPU (Ghz) label.create.project=Create project label.create.template=Create template label.create.VPN.connection=Create VPN Connection @@ -795,10 +791,6 @@ label.memory.mb=Memory (in MB) label.memory.total=Memory Total label.memory.used=Memory Used label.memory=Memory -label.memory.usage=Memory Usage -label.memory.used.avg=Average Memory -label.memory.max.dev=Mem Max Deviation -label.memory.total.gb=Total Memory (GB) label.menu.accounts=Accounts label.menu.alerts=Alerts label.menu.all.accounts=All Accounts @@ -840,6 +832,29 @@ label.menu.virtual.appliances=Virtual Appliances label.menu.virtual.resources=Virtual Resources label.menu.volumes=Volumes label.metrics=Metrics +label.metrics.allocated=Allocated +label.metrics.clusters=Clusters +label.metrics.cpu.allocated=CPU Allocated +label.metrics.cpu.max.dev=CPU Max Dev +label.metrics.cpu.total.ghz=Total CPU GHz +label.metrics.cpu.usage=CPU Usage +label.metrics.cpu.used.avg=Avg CPU +label.metrics.disk.iops.total=IOPS Total +label.metrics.disk.read.bytes=Disk Read Bytes +label.metrics.disk.usage=Disk Usage +label.metrics.disk.write.bytes=Disk Write Bytes +label.metrics.hosts=Hosts +label.metrics.memory.allocated=Mem Allocated +label.metrics.memory.max.dev=Mem Max Dev +label.metrics.memory.total.gb=Total Mem GB +label.metrics.memory.usage=Memory Usage +label.metrics.memory.used.avg=Avg Mem +label.metrics.name=Name +label.metrics.network.usage=Network Usage +label.metrics.network.read=Net Read GB +label.metrics.network.write=Net Write GB +label.metrics.num.cpu.cores=Cores +label.metrics.state=State label.migrate.instance.to.host=Migrate instance to another host label.migrate.instance.to.ps=Migrate instance to another primary storage label.migrate.instance.to=Migrate instance to diff --git a/ui/dictionary.jsp b/ui/dictionary.jsp index 376c794f58b..74037234ce9 100644 --- a/ui/dictionary.jsp +++ b/ui/dictionary.jsp @@ -500,10 +500,6 @@ dictionary = { 'label.cpu.limits': '', 'label.cpu.mhz': '', 'label.cpu.utilized': '', -'label.cpu.usage': '', -'label.cpu.used.avg': '', -'label.cpu.max.dev': '', -'label.cpu.total.ghz': '', 'label.created.by.system': '', 'label.created': '', 'label.create.project': '', @@ -796,10 +792,6 @@ dictionary = { 'label.memory.mb': '', 'label.memory.total': '', 'label.memory.used': '', -'label.memory.usage': '', -'label.memory.used.avg': '', -'label.memory.max.dev': '', -'label.memory.total.gb': '', 'label.menu.accounts': '', 'label.menu.alerts': '', 'label.menu.all.accounts': '', @@ -841,6 +833,29 @@ dictionary = { 'label.menu.virtual.resources': '', 'label.menu.volumes': '', 'label.metrics': '', +'label.metrics.allocated': '', +'label.metrics.clusters': '', +'label.metrics.cpu.allocated': '', +'label.metrics.cpu.max.dev': '', +'label.metrics.cpu.total.ghz': '', +'label.metrics.cpu.usage': '', +'label.metrics.cpu.used.avg': '', +'label.metrics.disk.iops.total': '', +'label.metrics.disk.read.bytes': '', +'label.metrics.disk.usage': '', +'label.metrics.disk.write.bytes': '', +'label.metrics.hosts': '', +'label.metrics.memory.allocated': '', +'label.metrics.memory.max.dev': '', +'label.metrics.memory.total.gb': '', +'label.metrics.memory.usage': '', +'label.metrics.memory.used.avg': '', +'label.metrics.name': '', +'label.metrics.network.read': '', +'label.metrics.network.usage': '', +'label.metrics.network.write': '', +'label.metrics.num.cpu.cores': '', +'label.metrics.state': '', 'label.migrate.instance.to': '', 'label.migrate.instance.to.host': '', 'label.migrate.instance.to.ps': '', diff --git a/ui/scripts/metrics.js b/ui/scripts/metrics.js index efd14e3a498..b694ab86d40 100644 --- a/ui/scripts/metrics.js +++ b/ui/scripts/metrics.js @@ -35,10 +35,10 @@ id: 'zones', fields: { name: { - label: 'label.name' + label: 'label.metrics.name' }, state: { - label: 'label.state', + label: 'label.metrics.state', converter: function (str) { // For localization return str; @@ -51,14 +51,14 @@ } }, clusters : { - label: 'label.clusters' + label: 'label.metrics.clusters' }, cpuused: { - label: 'label.cpu.usage', + label: 'label.metrics.cpu.usage', collapsible: true, columns: { cpuusedavg: { - label: 'label.cpu.used.avg', + label: 'label.metrics.cpu.used.avg', thresholdcolor: true, thresholds: { notification: 'cpunotificationthreshold', @@ -66,16 +66,16 @@ } }, cpumaxdev: { - label: 'label.cpu.max.dev' + label: 'label.metrics.cpu.max.dev' } } }, cpuallocated: { - label: 'label.cpu.allocated', + label: 'label.metrics.cpu.allocated', collapsible: true, columns: { cpuallocated: { - label: 'label.allocated', + label: 'label.metrics.allocated', thresholdcolor: true, thresholds: { notification: 'cpunotificationthreshold', @@ -83,16 +83,16 @@ } }, cputotal: { - label: 'label.cpu.total.ghz' + label: 'label.metrics.cpu.total.ghz' } } }, memused: { - label: 'label.memory.usage', + label: 'label.metrics.memory.usage', collapsible: true, columns: { memusedavg: { - label: 'label.memory.used.avg', + label: 'label.metrics.memory.used.avg', thresholdcolor: true, thresholds: { notification: 'memnotificationthreshold', @@ -100,16 +100,16 @@ } }, memmaxdev: { - label: 'label.memory.max.dev' + label: 'label.metrics.memory.max.dev' } } }, memallocated: { - label: 'label.memory.allocated', + label: 'label.metrics.memory.allocated', collapsible: true, columns: { memallocated: { - label: 'label.allocated', + label: 'label.metrics.allocated', thresholdcolor: true, thresholds: { notification: 'memnotificationthreshold', @@ -117,7 +117,7 @@ } }, memtotal: { - label: 'label.memory.total.gb' + label: 'label.metrics.memory.total.gb' } } } @@ -267,10 +267,10 @@ id: 'clusters', fields: { name: { - label: 'label.name' + label: 'label.metrics.name' }, state: { - label: 'label.state', + label: 'label.metrics.state', converter: function (str) { // For localization return str; @@ -283,14 +283,14 @@ } }, hosts: { - label: 'label.hosts' + label: 'label.metrics.hosts' }, cpuused: { - label: 'label.cpu.usage', + label: 'label.metrics.cpu.usage', collapsible: true, columns: { cpuusedavg: { - label: 'label.cpu.used.avg', + label: 'label.metrics.cpu.used.avg', thresholdcolor: true, thresholds: { notification: 'cpunotificationthreshold', @@ -298,16 +298,16 @@ } }, cpumaxdev: { - label: 'label.cpu.max.dev' + label: 'label.metrics.cpu.max.dev' } } }, cpuallocated: { - label: 'label.cpu.allocated', + label: 'label.metrics.cpu.allocated', collapsible: true, columns: { cpuallocated: { - label: 'label.allocated', + label: 'label.metrics.allocated', thresholdcolor: true, thresholds: { notification: 'cpunotificationthreshold', @@ -315,16 +315,16 @@ } }, cputotal: { - label: 'label.cpu.total.ghz' + label: 'label.metrics.cpu.total.ghz' } } }, memused: { - label: 'label.memory.usage', + label: 'label.metrics.memory.usage', collapsible: true, columns: { memusedavg: { - label: 'label.memory.used.avg', + label: 'label.metrics.memory.used.avg', thresholdcolor: true, thresholds: { notification: 'memnotificationthreshold', @@ -332,16 +332,16 @@ } }, memmaxdev: { - label: 'label.memory.max.dev' + label: 'label.metrics.memory.max.dev' } } }, memallocated: { - label: 'label.memory.allocated', + label: 'label.metrics.memory.allocated', collapsible: true, columns: { memallocated: { - label: 'label.allocated', + label: 'label.metrics.allocated', thresholdcolor: true, thresholds: { notification: 'memnotificationthreshold', @@ -349,7 +349,7 @@ } }, memtotal: { - label: 'label.memory.total.gb' + label: 'label.metrics.memory.total.gb' } } } @@ -516,10 +516,10 @@ id: 'hosts', fields: { name: { - label: 'label.name' + label: 'label.metrics.name' }, state: { - label: 'label.state', + label: 'label.metrics.state', converter: function (str) { // For localization return str; @@ -534,17 +534,17 @@ } }, cpuused: { - label: 'label.cpu.usage', + label: 'label.metrics.cpu.usage', collapsible: true, columns: { cores: { - label: 'label.num.cpu.cores', + label: 'label.metrics.num.cpu.cores', }, cputotal: { - label: 'label.cpu.total.ghz' + label: 'label.metrics.cpu.total.ghz' }, cpuusedavg: { - label: 'label.cpu.used.avg', + label: 'label.metrics.cpu.used.avg', thresholdcolor: true, thresholds: { notification: 'cpunotificationthreshold', @@ -552,7 +552,7 @@ } }, cpuallocated: { - label: 'label.allocated', + label: 'label.metrics.allocated', thresholdcolor: true, thresholds: { notification: 'cpunotificationthreshold', @@ -562,14 +562,14 @@ } }, memused: { - label: 'label.memory.usage', + label: 'label.metrics.memory.usage', collapsible: true, columns: { memtotal: { - label: 'label.memory.total.gb' + label: 'label.metrics.memory.total.gb' }, memallocated: { - label: 'label.allocated', + label: 'label.metrics.allocated', thresholdcolor: true, thresholds: { notification: 'memnotificationthreshold', @@ -577,7 +577,7 @@ } }, memusedavg: { - label: 'label.memory.used.avg', + label: 'label.metrics.memory.used.avg', thresholdcolor: true, thresholds: { notification: 'memnotificationthreshold', @@ -587,14 +587,14 @@ } }, network: { - label: 'label.network', + label: 'label.metrics.network.usage', collapsible: true, columns: { networkread: { - label: 'label.network.read' + label: 'label.metrics.network.read' }, networkwrite: { - label: 'label.network.write' + label: 'label.metrics.network.write' } } } @@ -696,10 +696,10 @@ id: 'instances', fields: { name: { - label: 'label.name' + label: 'label.metrics.name' }, state: { - label: 'label.state', + label: 'label.metrics.state', converter: function (str) { // For localization return str; @@ -712,56 +712,56 @@ } }, cpuused: { - label: 'label.cpu.usage', + label: 'label.metrics.cpu.usage', collapsible: true, columns: { cores: { - label: 'label.num.cpu.cores', + label: 'label.metrics.num.cpu.cores', }, cputotal: { - label: 'label.cpu.total.ghz' + label: 'label.metrics.cpu.total.ghz' }, cpuused: { - label: 'label.cpu.used.avg', + label: 'label.metrics.cpu.used.avg', } } }, memused: { - label: 'label.memory.usage', + label: 'label.metrics.memory.usage', collapsible: true, columns: { memallocated: { - label: 'label.allocated' + label: 'label.metrics.allocated' }, memused: { - label: 'label.memory.used.avg' + label: 'label.metrics.memory.used.avg' } } }, network: { - label: 'label.network', + label: 'label.metrics.network.usage', collapsible: true, columns: { networkread: { - label: 'label.network.read' + label: 'label.metrics.network.read' }, networkwrite: { - label: 'label.network.write' + label: 'label.metrics.network.write' } } }, disk: { - label: 'label.disk.volume', + label: 'label.metrics.disk.usage', collapsible: true, columns: { diskread: { - label: 'label.disk.read.bytes' + label: 'label.metrics.disk.read.bytes' }, diskwrite: { - label: 'label.disk.write.bytes' + label: 'label.metrics.disk.write.bytes' }, diskiops: { - label: 'label.disk.iops.total' + label: 'label.metrics.disk.iops.total' } } }