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 449AA200BAB for ; Fri, 7 Oct 2016 17:02:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 43635160AD6; Fri, 7 Oct 2016 15:02:22 +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 829F2160AE8 for ; Fri, 7 Oct 2016 17:02:21 +0200 (CEST) Received: (qmail 82679 invoked by uid 500); 7 Oct 2016 15:02:20 -0000 Mailing-List: contact dev-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 dev@flink.apache.org Received: (qmail 82656 invoked by uid 99); 7 Oct 2016 15:02:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Oct 2016 15:02:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 780AB2C0D52 for ; Fri, 7 Oct 2016 15:02:20 +0000 (UTC) Date: Fri, 7 Oct 2016 15:02:20 +0000 (UTC) From: "Chesnay Schepler (JIRA)" To: dev@flink.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (FLINK-4775) Simplify access to MetricStore MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 07 Oct 2016 15:02:22 -0000 Chesnay Schepler created FLINK-4775: --------------------------------------- Summary: Simplify access to MetricStore Key: FLINK-4775 URL: https://issues.apache.org/jira/browse/FLINK-4775 Project: Flink Issue Type: Improvement Components: Metrics, Webfrontend Affects Versions: 1.1.2 Reporter: Chesnay Schepler Assignee: Chesnay Schepler Fix For: 1.2.0 A few utility methods can be added to the MetricStore, which would make working with it a lot easier. This includes getXMetricStore(args) methods that, for example, return the appropriate TaskMetricStore, without requiring the accessor to traverse the structure(and do several null checks) themselves. In addition, a getMetric(name, defaultValue) method would ease the issue of metrics not being updated yet. -- This message was sent by Atlassian JIRA (v6.3.4#6332)