Tags: f18m/cmonitor
Tags
Several Python tools enhancements cmonitor_chart: * BACKWARD INCOMPATIBLE CHANGE: remove --input option in favour of more standard positional argument for input * BACKWARD INCOMPATIBLE CHANGE: remove --filter option moved into new cmonitor_filter --task_name option * add support for reading JSON directly from stdin using '-' * add custom metadata in chart output under "Configuration" * add commit hash into --version output * refactoring to share code with other Python utils * refactoring to allow using cmonitor_chart from other Python programs by moving all core classes into system-wide python modules cmonitor_statistics: * BACKWARD INCOMPATIBLE CHANGE: remove --input option in favour of more standard positional argument for input * add support for reading JSON directly from stdin using '-' * add commit hash into --version output * refactoring to share code with other Python utils * refactoring to allow using cmonitor_statistics from other Python programs by moving all core classes into system-wide python modules cmonitor_collector: * add commit hash into --version output others: * add new cmonitor_filter utility that can be used as filtering stage before cmonitor_statistics or cmonitor_chart are used * all components: bump to a 3digits version 2.3.0 plus release number for RPMs fixed to 0; this is to better match github tags
cmonitor_collector developments to improve the Docker-monitoring-Dock… …er scenario cmonitor_collector: * formalize list of monitored files and dump it as debug log after initialization using new helper get_list_monitored_files() * create CMonitorSystem::sample_memory() using newer FastFileReader method instead of proc_read_numeric_stats_from() * remove slow proc_read_numeric_stats_from() using fopen()+sscanf() * move all checks against "m_nCollectFlags" into each sample_*() function to be coherent with new get_list_monitored_files() * move info FastFileReader some generic parsers to read simple stats from the file * move into "deep" collection mode several per-process KPIs to make the output JSON more compact in general case * fix regression where the first samples would have CPU close to 100% int he "cgroup_tasks" JSON section * share the PID reader between cgroup processes/network stats collector code * get rid of lscpu dependency, not available in the alpine docker image and rather read more kernel files about CPU min/max frequency, NUMA topology, etc * add docker-collecting-docker-stats example cmonitor_chart: * remove use of "lscpu" section from input JSON and instead process the "cpuinfo" section with some logic to produce results similar to the ones of "lscpu" * remove use of "cpu_tot" KPI that was removed
Feature/cgroups v2 (#23) Feature/cgroups v2 (#23) * add support for "cpu" and "memory" cgroup controllers v2 * bump major version of cmonitor_collector and cmonitor_tools from 1.8-5 to 2.0-0 * add new data collected from kernel of Fedora35 * backward incompat change: change cgroups v1 memory stats replacing the "total_" prefix with "stat." to make them more similar to cgroups v2 stats * add major version check in cmonitor_chart and cmonitor_statistics to avoid troubles when mixing by mistake recordings obtained with version 1.8-5 and version 2.0-0 * regenerate all examples
PreviousNext