From commits-return-15348-archive-asf-public=cust-asf.ponee.io@pulsar.apache.org Mon Oct 1 01:57:05 2018 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 [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 26C86180677 for ; Mon, 1 Oct 2018 01:57:04 +0200 (CEST) Received: (qmail 50025 invoked by uid 500); 30 Sep 2018 23:57:04 -0000 Mailing-List: contact commits-help@pulsar.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@pulsar.apache.org Delivered-To: mailing list commits@pulsar.apache.org Received: (qmail 50016 invoked by uid 99); 30 Sep 2018 23:57:04 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Sep 2018 23:57:04 +0000 From: GitBox To: commits@pulsar.apache.org Subject: [GitHub] sijie opened a new pull request #2686: [functions][metrics] Update function metrics Message-ID: <153835182370.24435.6160905033936192759.gitbox@gitbox.apache.org> Date: Sun, 30 Sep 2018 23:57:03 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit sijie opened a new pull request #2686: [functions][metrics] Update function metrics URL: https://github.com/apache/pulsar/pull/2686 some prometheus agent are picky at the prometheus output format. this change to make metric type is by the metric. The resulting output is showed as below ``` # TYPE pulsar_function__total_processed__sum gauge pulsar_function__total_processed__sum{cluster="standalone",namespace="test/test-namespace",name="example",instanceId="0"} 0.0 1538351566227 # TYPE pulsar_function__total_successfully_processed__count gauge pulsar_function__total_successfully_processed__count{cluster="standalone",namespace="test/test-namespace",name="example",instanceId="0"} 0.0 1538351566227 # TYPE pulsar_function__total_successfully_processed__max gauge pulsar_function__total_successfully_processed__max{cluster="standalone",namespace="test/test-namespace",name="example",instanceId="0"} 0.0 1538351566227 # TYPE pulsar_function__total_successfully_processed__min gauge pulsar_function__total_successfully_processed__min{cluster="standalone",namespace="test/test-namespace",name="example",instanceId="0"} 0.0 1538351566227 # TYPE pulsar_function__total_successfully_processed__sum gauge pulsar_function__total_successfully_processed__sum{cluster="standalone",namespace="test/test-namespace",name="example",instanceId="0"} 0.0 1538351566227 # TYPE pulsar_function__total_system_exceptions__count gauge pulsar_function__total_system_exceptions__count{cluster="standalone",namespace="test/test-namespace",name="example",instanceId="0"} 0.0 1538351566227 # TYPE pulsar_function__total_system_exceptions__max gauge pulsar_function__total_system_exceptions__max{cluster="standalone",namespace="test/test-namespace",name="example",instanceId="0"} 0.0 1538351566227 # TYPE pulsar_function__total_system_exceptions__min gauge pulsar_function__total_system_exceptions__min{cluster="standalone",namespace="test/test-namespace",name="example",instanceId="0"} 0.0 1538351566227 # TYPE pulsar_function__total_system_exceptions__sum gauge pulsar_function__total_system_exceptions__sum{cluster="standalone",namespace="test/test-namespace",name="example",instanceId="0"} 0.0 1538351566227 # TYPE pulsar_function__total_user_exceptions__count gauge pulsar_function__total_user_exceptions__count{cluster="standalone",namespace="test/test-namespace",name="example",instanceId="0"} 0.0 1538351566227 # TYPE pulsar_function__total_user_exceptions__max gauge ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: users@infra.apache.org With regards, Apache Git Services