pulsar-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] rdhabalia commented on issue #2128: Schedule task to update function stats separately
Date Wed, 11 Jul 2018 18:53:13 GMT
rdhabalia commented on issue #2128: Schedule task to update function stats separately
URL: https://github.com/apache/incubator-pulsar/pull/2128#issuecomment-404274032
 
 
   > Might be worthwhile to go over this in detail about what we are trying to achieve
and why there are so many touch points
   
   actually, getAndReset doesn't store any sample because it gets current sample and resets
it. right now, it is only used by prometheus to feed into metrics. but if we want to fetch
metrics on demand then we want to update metrics (reset) periodically and get metrics on demand.
PR #2130 in created on top of this one which aggregates metrics into function stats so, we
can always see function metrics on demand using getMetrics api similar like we can get for
topic: pulsar-admin persistent stats <topic> which gives current topic stats using cli
api. also, we can add additional REST api which can generate metrics in different format other
than prometheus.

----------------------------------------------------------------
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