Return-Path: X-Original-To: apmail-flink-commits-archive@minotaur.apache.org Delivered-To: apmail-flink-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B784618F5E for ; Mon, 30 Nov 2015 18:20:57 +0000 (UTC) Received: (qmail 99994 invoked by uid 500); 30 Nov 2015 18:20:57 -0000 Delivered-To: apmail-flink-commits-archive@flink.apache.org Received: (qmail 99940 invoked by uid 500); 30 Nov 2015 18:20:57 -0000 Mailing-List: contact commits-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flink.apache.org Delivered-To: mailing list commits@flink.apache.org Received: (qmail 99931 invoked by uid 99); 30 Nov 2015 18:20:57 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Nov 2015 18:20:57 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 7F0BEDFDD7; Mon, 30 Nov 2015 18:20:57 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: sewen@apache.org To: commits@flink.apache.org Date: Mon, 30 Nov 2015 18:20:57 -0000 Message-Id: <72c938b87a634ef595a577b11a41f826@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [1/7] flink git commit: [FLINK-3056] [web-dashboard] Represent bytes in more readable form. Repository: flink Updated Branches: refs/heads/master 2b358cde0 -> d5a6b13ab http://git-wip-us.apache.org/repos/asf/flink/blob/80512229/flink-runtime-web/web-dashboard/web/partials/jobs/job.plan.node-list.overview.html ---------------------------------------------------------------------- diff --git a/flink-runtime-web/web-dashboard/web/partials/jobs/job.plan.node-list.overview.html b/flink-runtime-web/web-dashboard/web/partials/jobs/job.plan.node-list.overview.html index daba67d..4d05cc3 100644 --- a/flink-runtime-web/web-dashboard/web/partials/jobs/job.plan.node-list.overview.html +++ b/flink-runtime-web/web-dashboard/web/partials/jobs/job.plan.node-list.overview.html @@ -38,9 +38,9 @@ limitations under the License. {{ v['end-time'] | amDateFormat:'YYYY-MM-DD, H:mm:ss' }} {{v.duration | humanizeDuration:true}} {{ v.name | humanizeText }} - {{ v.metrics['read-bytes'] | number }} + {{ v.metrics['read-bytes'] | humanizeBytes }} {{ v.metrics['read-records'] | number }} - {{ v.metrics['write-bytes'] | number }} + {{ v.metrics['write-bytes'] | humanizeBytes }} {{ v.metrics['write-records'] | number }}
http://git-wip-us.apache.org/repos/asf/flink/blob/80512229/flink-runtime-web/web-dashboard/web/partials/jobs/job.plan.node.subtasks.html ---------------------------------------------------------------------- diff --git a/flink-runtime-web/web-dashboard/web/partials/jobs/job.plan.node.subtasks.html b/flink-runtime-web/web-dashboard/web/partials/jobs/job.plan.node.subtasks.html index 147b14d..874ed88 100644 --- a/flink-runtime-web/web-dashboard/web/partials/jobs/job.plan.node.subtasks.html +++ b/flink-runtime-web/web-dashboard/web/partials/jobs/job.plan.node.subtasks.html @@ -38,9 +38,9 @@ limitations under the License. {{ subtask['start-time'] | amDateFormat:'YYYY-MM-DD, H:mm:ss' }} {{ subtask['end-time'] | amDateFormat:'YYYY-MM-DD, H:mm:ss' }} {{subtask.duration | humanizeDuration:true}} - {{ subtask.metrics['read-bytes'] | number }} + {{ subtask.metrics['read-bytes'] | humanizeBytes}} {{ subtask.metrics['read-records'] | number }} - {{ subtask.metrics['write-bytes'] | number }} + {{ subtask.metrics['write-bytes'] | humanizeBytes}} {{ subtask.metrics['write-records'] | number }} {{ subtask.attempt + 1 }} {{ subtask.host }} http://git-wip-us.apache.org/repos/asf/flink/blob/80512229/flink-runtime-web/web-dashboard/web/partials/taskmanager/index.html ---------------------------------------------------------------------- diff --git a/flink-runtime-web/web-dashboard/web/partials/taskmanager/index.html b/flink-runtime-web/web-dashboard/web/partials/taskmanager/index.html index bf37409..f56dcbe 100644 --- a/flink-runtime-web/web-dashboard/web/partials/taskmanager/index.html +++ b/flink-runtime-web/web-dashboard/web/partials/taskmanager/index.html @@ -48,9 +48,9 @@ limitations under the License. {{ manager.slotsNumber }} {{ manager.freeSlots }} {{ manager.cpuCores }} - {{ manager.physicalMemory | bytes:MB }} - {{ manager.freeMemory | bytes:MB }} - {{ manager.managedMemory | bytes:MB }} + {{ manager.physicalMemory | humanizeBytes }} + {{ manager.freeMemory | humanizeBytes }} + {{ manager.managedMemory | humanizeBytes }} http://git-wip-us.apache.org/repos/asf/flink/blob/80512229/flink-runtime-web/web-dashboard/web/partials/taskmanager/taskmanager.metrics.html ---------------------------------------------------------------------- diff --git a/flink-runtime-web/web-dashboard/web/partials/taskmanager/taskmanager.metrics.html b/flink-runtime-web/web-dashboard/web/partials/taskmanager/taskmanager.metrics.html index 2a8b51e..691490e 100644 --- a/flink-runtime-web/web-dashboard/web/partials/taskmanager/taskmanager.metrics.html +++ b/flink-runtime-web/web-dashboard/web/partials/taskmanager/taskmanager.metrics.html @@ -30,21 +30,21 @@ limitations under the License. Heap - - - + {{metrics.metrics.gauges['memory.heap.committed'].value | humanizeBytes}} + {{metrics.metrics.gauges['memory.heap.init'].value | humanizeBytes}} + {{metrics.metrics.gauges['memory.heap.max'].value | humanizeBytes}} Non-Heap - - - + {{metrics.metrics.gauges['memory.non-heap.committed'].value | humanizeBytes}} + {{metrics.metrics.gauges['memory.non-heap.init'].value | humanizeBytes}} + {{metrics.metrics.gauges['memory.non-heap.max'].value | humanizeBytes}} Total - - - + {{metrics.metrics.gauges['memory.total.committed'].value | humanizeBytes}} + {{metrics.metrics.gauges['memory.total.init'].value | humanizeBytes}} + {{metrics.metrics.gauges['memory.total.max'].value | humanizeBytes}} @@ -66,9 +66,9 @@ limitations under the License. {{ metrics.slotsNumber }} {{ metrics.freeSlots }} {{ metrics.cpuCores }} - {{ metrics.physicalMemory | bytes:MB }} - {{ metrics.freeMemory | bytes:MB }} - {{ metrics.managedMemory | bytes:MB }} + {{ metrics.physicalMemory | humanizeBytes }} + {{ metrics.freeMemory | humanizeBytes }} + {{ metrics.managedMemory | humanizeBytes }}