Project

General

Profile

Feature #22827

Collect system metrics for the benefit of metric backends such as file_metric which do not collect that information independently

Added by Eric Flumerfelt over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Category:
artdaq-utilities
Start date:
06/27/2019
Due date:
% Done:

0%

Estimated time:
Experiment:
-
Co-Assignees:
Duration:

Description

Several system metrics are of interest to the DAQ, including CPU, RAM, Disk and Network utilization. The file_metric plugin writes metrics to a file, but detailed analysis of the metrics after-the-fact lacks these quantities. Other metric back-ends may or may not have access to these metrics (i.e. Ganglia does, but not per-process).

I have created a class, SystemMetricCollector which reads the current system CPU, RAM, and Network utilization, and also the host process' CPU and RAM usage.

History

#1 Updated by Eric Flumerfelt over 1 year ago

  • Status changed from New to Resolved

Implementation on artdaq-utilities:feature/22827_SystemMetricCollector

#2 Updated by Eric Flumerfelt over 1 year ago

  • Status changed from Resolved to Work in progress

I may want to add additional configuration as to whether to collect system-level metrics or just the process-specific ones. Even for Ganglia/Graphite/EPICS metric outputs where CPU, RAM, and net usage are available system-wide, they don't have the specific artdaq process' share...

#3 Updated by Eric Flumerfelt over 1 year ago

  • Assignee set to Eric Flumerfelt
  • Status changed from Work in progress to Resolved

I've added "send_system_metrics" and "send_process_metrics" FHiCL configuration variables to MetricManager. These should appear within the metrics: {} block. "send_system_metrics" implies "send_process_metrics", but in anticipation of #22342, I have made sure that all of these metrics are sent on specific metric levels.

#4 Updated by Ron Rechenmacher over 1 year ago

  • Status changed from Resolved to Reviewed

merged into develop, ran demo, looked at metrics file, pushed.

#5 Updated by Eric Flumerfelt over 1 year ago

  • Target version set to artdaq_utilities v1_05_00
  • Status changed from Reviewed to Closed
  • Category set to artdaq-utilities
  • Co-Assignees Ron Rechenmacher added

Also available in: Atom PDF