Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 6144D200C22 for ; Tue, 7 Feb 2017 05:19:46 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 5FDD6160B62; Tue, 7 Feb 2017 04:19:46 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id A8319160B56 for ; Tue, 7 Feb 2017 05:19:45 +0100 (CET) Received: (qmail 73578 invoked by uid 500); 7 Feb 2017 04:19:44 -0000 Mailing-List: contact dev-help@reef.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@reef.apache.org Delivered-To: mailing list dev@reef.apache.org Received: (qmail 73567 invoked by uid 99); 7 Feb 2017 04:19:44 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Feb 2017 04:19:44 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 02D0DC0567 for ; Tue, 7 Feb 2017 04:19:44 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.999 X-Spam-Level: X-Spam-Status: No, score=-1.999 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id wvx33YnmO5Tg for ; Tue, 7 Feb 2017 04:19:43 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id CC68A5F24B for ; Tue, 7 Feb 2017 04:19:42 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id E7801E00E0 for ; Tue, 7 Feb 2017 04:19:41 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 9D2AC25286 for ; Tue, 7 Feb 2017 04:19:41 +0000 (UTC) Date: Tue, 7 Feb 2017 04:19:41 +0000 (UTC) From: "Julia (JIRA)" To: dev@reef.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (REEF-1732) Build Metrics System MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 07 Feb 2017 04:19:46 -0000 [ https://issues.apache.org/jira/browse/REEF-1732?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:all-tabpanel ] Julia updated REEF-1732: ------------------------ Summary: Build Metrics System (was: Build IMRU Metrics System) > Build Metrics System > -------------------- > > Key: REEF-1732 > URL: https://issues.apache.org/jira/browse/REEF-1732 > Project: REEF > Issue Type: New Feature > Components: IMRU, REEF > Reporter: Julia > Assignee: Julia > Attachments: IMRU Metrics System.docx > > > IMRU Metrics is to provide metrics data to the system so that it can be s= hown to the user for monitoring or diagnosis. The goal is to build an E2E f= low with simple/basic metrics data. We can then add more data later.=20 > * IMetricsProvider - there are multiple sources of metrics data: > 1.Task metrics. This is in particular for IMRU task such as current ite= ration, progress. Each task can send task state back to driver and let driv= er to aggregate it. Alternatively, as UpdateTask knows current iterations a= nd progress, to start with, we can just get task status from update task. T= he task metrics can be provided by task function like IUpdateFunction and s= end to driver by task host as TaskMessage with heartbeat.=20 > 2. Driver metrics =E2=80=93 For IMRU driver, it can be system state suc= h as WaitingForEvaluator or TasksRunning, current retry number, etc. Those = driver states are maintained inside IMRU driver.=20 > 3. IMRUDriver will implement IMetricsProvider and supply metrics data.= =20 > * IMetricsSink =E2=80=93 the metrics data will be output somewhere so tha= t it can be consumed by a monitoring tool. An interface IMetricsSink will b= e defined to sink metrics data. An implementation of the interface can stor= e the data to a remote storage. Multiple sinks can be injected.=20 > * MetricsManager =E2=80=93 It schedules a timer to get metrics from IMetr= icsProviders and output the metrics data with IMetricsSinks > Attached file shows the diagram of the design.=20 -- This message was sent by Atlassian JIRA (v6.3.15#6346)