You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Martin Zink (Jira)" <ji...@apache.org> on 2022/04/13 16:36:00 UTC
[jira] [Updated] (MINIFICPP-1536) Deprecated ProcessMetrics.h and SystemMetrics.h
[ https://issues.apache.org/jira/browse/MINIFICPP-1536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Zink updated MINIFICPP-1536:
-----------------------------------
Status: Patch Available (was: In Progress)
https://github.com/apache/nifi-minifi-cpp/pull/1302
> Deprecated ProcessMetrics.h and SystemMetrics.h
> -----------------------------------------------
>
> Key: MINIFICPP-1536
> URL: https://issues.apache.org/jira/browse/MINIFICPP-1536
> Project: Apache NiFi MiNiFi C++
> Issue Type: Improvement
> Reporter: Martin Zink
> Assignee: Martin Zink
> Priority: Trivial
> Labels: MiNiFi-CPP-Hygiene
> Time Spent: 10m
> Remaining Estimate: 0h
>
> There are couple unused ResponseNodes (i.e ProcessMetrics, SystemMetrics) which contain more or less the same data as DeviceInfoNode and AgentInformation.
> e.g.:
> systeminfo.systemInfo.vCores, systeminfo.systemInfo.physicalMem vs
> deviceInfo.systemInfo.vCores, deviceInfo.systemInfo.physicalMem
> The deprecated classes are not properly platform independent and provide minimal added information (only involuntary context switches)
> In my opinion we should remove these classes to avoid misusage.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)