From user-return-29864-archive-asf-public=cust-asf.ponee.io@flink.apache.org Thu Sep 19 03:02:55 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 2B585180634 for ; Thu, 19 Sep 2019 05:02:55 +0200 (CEST) Received: (qmail 48498 invoked by uid 500); 19 Sep 2019 03:02:53 -0000 Mailing-List: contact user-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list user@flink.apache.org Received: (qmail 48488 invoked by uid 99); 19 Sep 2019 03:02:52 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Sep 2019 03:02:52 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 59EC9C22B7 for ; Thu, 19 Sep 2019 03:02:52 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.05 X-Spam-Level: ** X-Spam-Status: No, score=2.05 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-he-de.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 7X5aMfmzSr7F for ; Thu, 19 Sep 2019 03:02:49 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2607:f8b0:4864:20::d44; helo=mail-io1-xd44.google.com; envelope-from=mmyy1110@gmail.com; receiver= Received: from mail-io1-xd44.google.com (mail-io1-xd44.google.com [IPv6:2607:f8b0:4864:20::d44]) by mx1-he-de.apache.org (ASF Mail Server at mx1-he-de.apache.org) with ESMTPS id 4BBA67D723 for ; Thu, 19 Sep 2019 03:02:49 +0000 (UTC) Received: by mail-io1-xd44.google.com with SMTP id a1so4217539ioc.6 for ; Wed, 18 Sep 2019 20:02:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=nElKVlEJue3InwX1pYL8gdGxQXNscWotpPgd1ZKGNlE=; b=FQAG/MlJDMKlPoXRXya+RnSllyeX3Tw7Vg3VgA1/4zTwaugfCF/CiBBVqSuFjHQWBg 7pfGFQKaKbK0tVSxhtr6I8PQ5a2Tnuh8F9NTGqz+R/lu+bE1KwVVtjjycyZQCNfw0g/J nNE7/Y7IqdhJqjEi92k+ni7UFcgvCz1+YOuCgcCbpCDo6q6+D5rRHff5VIk9xjEx6qpZ plK2mJkO+OaK8gpru4UGQKwQLLz85azre0/q8rMw/KNCvP1CvIux/LeVP3XbgeVhTl/m 1iLIBurrvzdy/oH7HePSuFYNVAxODxju3+wgWPkh9o+tcBRxAdy+9/6dc8GiTfx4QfyL ZsxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=nElKVlEJue3InwX1pYL8gdGxQXNscWotpPgd1ZKGNlE=; b=PdyooHOuy8nqpmsFY8KvONYiqibpFqUnomIKUKUax3/lta44opag2yUVd/vtRNoZPX Gp8H2D6+C5wBThmUvqceZYhNrsbBaSucCX3bwjguY5YK9M4G+RoRw9dRizorBk+dqb4H LBtCcUScssEG1/nxktsI2nMcoCh7Ue/ABoUPCj3RmaktC7VY5Klix9w9Sz/zAy4+Tny1 STJpM26zuEazNG4bcWCDJ10bGud3tB3GIUx1mP8pzT5U+kwnE9f7YS2O7gDB1C6pYNHn 8KolNCk0F5EBdqwnScl81FtpWNkS9yNcOS7iJkrvRtFvcsHIsOjSZBXjlbp3p2jXVKAT 5Egg== X-Gm-Message-State: APjAAAX7aX2MPbpNgB1woe0jEONZtgBkbxGFFD9q/pV+WfG7UiuPDGTy Kgfwr1uV//HqlEoSOqS4uYmucZ2Kdch/Up9tKxM9vSly X-Google-Smtp-Source: APXvYqz9oVbOqhFrslI67WoW36KaH9K+Re3XGKUCGCwQ9JrVDg/fzs6Tl8nSK8nMmzXGp1Huxb/jyMHR2uIPEaolAK4= X-Received: by 2002:a6b:7a42:: with SMTP id k2mr3009350iop.303.1568862167818; Wed, 18 Sep 2019 20:02:47 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Biao Liu Date: Thu, 19 Sep 2019 11:02:36 +0800 Message-ID: Subject: Re: Client for Monitoring API! To: Anis Nasir Cc: user Content-Type: multipart/alternative; boundary="00000000000036e9650592df3050" --00000000000036e9650592df3050 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Anis, Have you tried Flink metric reporter? It's a better way to handle metrics than through rest api. Flink supports reporting metrics to external system. You could find the list of external systems supported here [1]. 1. https://ci.apache.org/projects/flink/flink-docs-release-1.9/monitoring/metr= ics.html#reporter Thanks, Biao /'b=C9=AA.a=CA=8A/ On Wed, 18 Sep 2019 at 19:36, Anis Nasir wrote: > Hey all, > > Is there any client library that we can use to fetch/store the metrics > expose through flink monitoring rest api ? > > > Regards, > Anis > --00000000000036e9650592df3050 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi=C2=A0Anis,

Have you tried Flink metr= ic reporter? It's a better way to handle metrics than through rest api.=
Flink supports reporting metrics to external system. You could f= ind the list of external systems supported here [1].

1.=C2=A0https://ci.apache.org/projects/fli= nk/flink-docs-release-1.9/monitoring/metrics.html#reporter

Thanks,
Biao /&= #39;b=C9=AA.a=CA=8A/


=
On Wed= , 18 Sep 2019 at 19:36, Anis Nasir <aadi.anis@gmail.com> wrote:
Hey all,

Is there any client library that we can use to fetch/sto= re the metrics expose through flink monitoring rest api ?


Regards,
Anis
--00000000000036e9650592df3050--