lordgamez commented on code in PR #1360:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1360#discussion_r943168406


##########
C2.md:
##########
@@ -126,85 +128,87 @@ The options below metrics define the sub-trees within 
metrics: typedmetrics and
 The classes sub option will define the metrics classes that are placed within 
this sub-tree. For the RESTProtocol, the above
 configuration produces the following JSON:
 
-  "metrics": {
-    "RuntimeMetrics": {
-        "deviceInfo": {
-            "systemInfo": {
-                "cpuUtilization": -1,
-                "machinearch": "x86_64",
-                "memoryUsage": 13103550464,
-                "operatingSystem": "Linux",
-                "physicalMem": 67024097280,
-                "vCores": 12
-            },
-            "networkInfo": {
-                "hostname": "ggyimesi-5540-ubuntu",
-                "ipAddress": "192.168.50.181"
-            },
-            "identifier": "13396751919892753964"
-        },
-        "flowInfo": {
-            "versionedFlowSnapshotURI": {
-                "bucketId": "default",
-                "flowId": "8db40550-db5d-11ec-95d7-0433c2c9832b"
-            },
-            "queues": {
-                "2438e3c8-015a-1000-79ca-83af40ec1997": {
-                    "dataSize": 0,
-                    "dataSizeMax": 1048576,
-                    "name": "GetFile/success/LogAttribute",
-                    "size": 0,
-                    "sizeMax": 0,
-                    "uuid": "2438e3c8-015a-1000-79ca-83af40ec1997"
-                }
-            },
-            "components": {
-                "FlowController": {
-                    "running": true,
-                    "uuid": "2438e3c8-015a-1000-79ca-83af40ec1990"
-                },
-                "GetFile": {
-                    "running": false,
-                    "uuid": "2438e3c8-015a-1000-79ca-83af40ec1991"
-                },
-                "LogAttribute": {
-                    "running": true,
-                    "uuid": "2438e3c8-015a-1000-79ca-83af40ec1992"
-                }
-            },
-            "flowId": "8db40550-db5d-11ec-95d7-0433c2c9832b"
-        }
-    },
-    "LoadMetrics": {
-        "QueueMetrics": {
-            "GetFile/success/LogAttribute": {
-                "datasize": "0",
-                "datasizemax": "1048576",
-                "queued": "0",
-                "queuedmax": "0"
-            }
-        },
-        "RepositoryMetrics": {
-            "ff": {
-                "full": false,
-                "running": false,
-                "size": "0"
-            },
-            "repo_name": {
-                "full": false,
-                "running": true,
-                "size": "0"
-            }
-        }
-    },
-    "ProcessorMetrics": {
-        "GetFileMetrics": {
-            "AcceptedFiles": 0,
-            "InputBytes": 0,
-            "OnTriggerInvocations": 0
-        }
+    "metrics": {
+      "RuntimeMetrics": {
+          "deviceInfo": {
+              "systemInfo": {
+                  "cpuUtilization": -1,
+                  "machinearch": "x86_64",
+                  "memoryUsage": 13103550464,
+                  "operatingSystem": "Linux",
+                  "physicalMem": 67024097280,
+                  "vCores": 12
+              },
+              "networkInfo": {
+                  "hostname": "ggyimesi-5540-ubuntu",
+                  "ipAddress": "192.168.50.181"
+              },
+              "identifier": "13396751919892753964"
+          },
+          "flowInfo": {
+              "versionedFlowSnapshotURI": {
+                  "bucketId": "default",
+                  "flowId": "8db40550-db5d-11ec-95d7-0433c2c9832b"
+              },
+              "queues": {
+                  "2438e3c8-015a-1000-79ca-83af40ec1997": {
+                      "dataSize": 0,
+                      "dataSizeMax": 1048576,
+                      "name": "GetFile/success/LogAttribute",
+                      "size": 0,
+                      "sizeMax": 0,
+                      "uuid": "2438e3c8-015a-1000-79ca-83af40ec1997"
+                  }
+              },
+              "components": {
+                  "FlowController": {
+                      "running": true,
+                      "uuid": "2438e3c8-015a-1000-79ca-83af40ec1990"
+                  },
+                  "GetFile": {
+                      "running": false,
+                      "uuid": "2438e3c8-015a-1000-79ca-83af40ec1991"
+                  },
+                  "LogAttribute": {
+                      "running": true,
+                      "uuid": "2438e3c8-015a-1000-79ca-83af40ec1992"
+                  }
+              },
+              "flowId": "8db40550-db5d-11ec-95d7-0433c2c9832b"
+          }
+      },
+      "LoadMetrics": {
+          "QueueMetrics": {
+              "GetFile/success/LogAttribute": {
+                  "datasize": "0",
+                  "datasizemax": "1048576",
+                  "queued": "0",
+                  "queuedmax": "0"
+              }
+          },
+          "RepositoryMetrics": {
+              "ff": {
+                  "full": false,
+                  "running": false,
+                  "size": "0"
+              },
+              "repo_name": {
+                  "full": false,
+                  "running": true,
+                  "size": "0"
+              }
+          }
+      },
+      "ProcessorMetrics": {
+          "GetFileMetrics": {
+              "GetFile1": {

Review Comment:
   Good catch, I forgot to update the documentation, updated in 
bf46f4dbb1245cd6b1ba4108f08cfaf56694d0ae



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@nifi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to