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 C3F68200B4D for ; Sat, 9 Jul 2016 00:32:53 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C1A78160A77; Fri, 8 Jul 2016 22:32:53 +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 135A9160A5A for ; Sat, 9 Jul 2016 00:32:52 +0200 (CEST) Received: (qmail 20200 invoked by uid 500); 8 Jul 2016 22:32:52 -0000 Mailing-List: contact dev-help@mesos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mesos.apache.org Delivered-To: mailing list dev@mesos.apache.org Received: (qmail 20176 invoked by uid 99); 8 Jul 2016 22:32:51 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jul 2016 22:32:51 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 4F1BE1A5296 for ; Fri, 8 Jul 2016 22:32:51 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.179 X-Spam-Level: * X-Spam-Status: No, score=1.179 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id hWnc_869yD-g for ; Fri, 8 Jul 2016 22:32:50 +0000 (UTC) Received: from mail-oi0-f51.google.com (mail-oi0-f51.google.com [209.85.218.51]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id 59FE35F23D for ; Fri, 8 Jul 2016 22:32:50 +0000 (UTC) Received: by mail-oi0-f51.google.com with SMTP id s66so77966535oif.1 for ; Fri, 08 Jul 2016 15:32:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=wtOiCaq/DzYOqCjAb3EskJ/ihlF7EO+Xghwev5hI/Pk=; b=qlU31Zg7I6T4tYGhCy6mI7ZSsp48xRym/KXz/AdMrwk9IH6gwdzq4Pt8JTP3+foVgx M6p1EwRjWeplNcn8RF64aB2At5Y6wHBYB5h9OUvnGYOYu0dRwhOkhhYFAeuaLbpJZ3AR 5VOwLgpERCfVHGzMkOJTYDAU7ulFAdwDvLAOyO7p2v+HlCHhWy+SFoG7gL0ujZdrBeXH 1s8qfjN3aGr/9faY68r8p7rDv7BiIKYimcQElsHX1b7XYWsrA7BM5+Nu/37FBdpYxoNt gEDEbaUMuwsxye8UxSJOeAn9oB9OxGOZ3SRsyEhdgenwPYXkd965SFlGjj7Td0uSX7af 2iyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=wtOiCaq/DzYOqCjAb3EskJ/ihlF7EO+Xghwev5hI/Pk=; b=fX7IBGmgKat7ztZQ+QS+F9h8nZBjvbmJY+HYMMv1DGK1Jg403R7RLpNn/LHE5b5XgR 9OmReyvkPFdiqtvXbuZANO0wqBJzaq+m53tmV5RqtswyMaamYKdilkqpo2KqnhuilTJd muM20VQ/7KK1HKJFfSjSLghKEllwAt+SUAQVOlVuQfp3aFkXrBU3Ix4m+WhvBh0D8KrX wcI73NcUQU7UCczY93vfnTcM9tP4S1ssJ4Ycf03nT3wZlooHhapma5PzYXXZrzxmTLCQ dfsblp6PQOddsxtYBQuMqlxCnPHNOprqCIQjK0nXqvRwdO1u9n6IVeCjGWmylIFG935T qXTQ== X-Gm-Message-State: ALyK8tKcRcalMkVZCjz5vK2X6PyAae+XWUMi0OmZVyT0ycdIx+Gt1dM6u/vSz2Ppx/UyAKsW/SxKIclqrlsk7g== X-Received: by 10.157.61.139 with SMTP id l11mr4778743otc.183.1468017169280; Fri, 08 Jul 2016 15:32:49 -0700 (PDT) MIME-Version: 1.0 Received: by 10.202.179.195 with HTTP; Fri, 8 Jul 2016 15:32:09 -0700 (PDT) From: Tuan-Anh Hoang-Vu Date: Fri, 8 Jul 2016 15:32:09 -0700 Message-ID: Subject: MESOS-5731 Add metric types to GetMetrics v1 api To: dev@mesos.apache.org Content-Type: multipart/alternative; boundary=001a114928b2e635a5053727618e archived-at: Fri, 08 Jul 2016 22:32:54 -0000 --001a114928b2e635a5053727618e Content-Type: text/plain; charset=UTF-8 Hi all, I've finished implementing and testing this issue https://issues.apache.org/jira/browse/MESOS-5731 and would like to find a shepherd for my patch. Should I go ahead and submit the patch? Following Vinod's suggestion, I've changed Response::GetMetrics in master.proto and v1/master.proto from message GetMetrics { repeated Metric metrics = 1; } to message GetMetrics { repeated Metric counters = 1; repeated Metric gauges = 2; repeated Metric timers = 3; } --001a114928b2e635a5053727618e--