pulsar-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] sijie opened a new pull request #2686: [functions][metrics] Update function metrics
Date Sun, 30 Sep 2018 23:57:03 GMT
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

Mime
View raw message