Gábor Gyimesi created MINIFICPP-2534:
----------------------------------------

             Summary: Implement instance level metrics
                 Key: MINIFICPP-2534
                 URL: https://issues.apache.org/jira/browse/MINIFICPP-2534
             Project: Apache NiFi MiNiFi C++
          Issue Type: New Feature
            Reporter: Gábor Gyimesi


In the flow status minifi java can return the following metrics for instance 
option:

{
    "controllerServiceStatusList": null,
    "processorStatusList": null,
    "connectionStatusList": null,
    "remoteProcessGroupStatusList": null,
    "instanceStatus": {
        "instanceHealth": {
            "queuedCount": 4000,
            "queuedContentSize": 40000,
            "hasBulletins": false,
            "activeThreads": 0
        },
        "bulletinList": [],
        "instanceStats": {
            "bytesRead": 0,
            "bytesWritten": 2410,
            "bytesSent": 0,
            "flowfilesSent": 0,
            "bytesTransferred": 9640,
            "flowfilesTransferred": 964,
            "bytesReceived": 0,
            "flowfilesReceived": 0
        }
    },
    "systemDiagnosticsStatus": null,
    "reportingTaskStatusList": null,
    "errorsGeneratingReport": []
}

Under instanceStats we only implemented the bytes read, written, transferred 
and the flow files transferred metrics as those are available. We should 
implement instance level metrics for bytes and flowfiles being sent and 
received to be able to return these in the flow status as well.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to