You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pegasus.apache.org by GitBox <gi...@apache.org> on 2023/01/20 06:59:26 UTC

[GitHub] [incubator-pegasus] empiredan opened a new issue, #1321: Feature(new_metrics): collect built-in metrics

empiredan opened a new issue, #1321:
URL: https://github.com/apache/incubator-pegasus/issues/1321

   In the framework of `perf_counters`, built-in metrics are actually two metrics:
   
   - *memused.res(MB)*, the usage of physical memory
   - *memused.virt(MB)*, the size of virtual memory
   
   They are collected in a timer each `FLAGS_perf_counter_update_interval_seconds` (typically 10 seconds).
   
   In the framework of new metrics, we can also introduce the built-in metrics. During `start()` for both `pegasus_replication_service_app` and `pegasus_meta_service_app`, a timer will be launched to collect built-in metrics periodically. The built-in metrics will be attached to *server* entity, which is defined in `metrics.cpp`.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@pegasus.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pegasus.apache.org
For additional commands, e-mail: dev-help@pegasus.apache.org