mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 12:38:20 +00:00
Split cpu time metric into user/system components like prof.log
The total can be calculated from the two parts via Prometheus/Grafana if desired, so it's more informative to pass them as separate parts.
This commit is contained in:
parent
206f5cd522
commit
a6843067e9
4 changed files with 29 additions and 27 deletions
|
@ -263,7 +263,8 @@ private:
|
|||
|
||||
GaugePtr rss_gauge;
|
||||
GaugePtr vms_gauge;
|
||||
GaugePtr cpu_gauge;
|
||||
CounterPtr cpu_user_counter;
|
||||
CounterPtr cpu_system_counter;
|
||||
GaugePtr fds_gauge;
|
||||
|
||||
std::shared_ptr<prometheus::Registry> prometheus_registry;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue