{
  "GlobalSettings": {
    "type": "dynamic"
  },
  "vectors": [
    {
      "URL": "$BaseURL/nifi-api/process-groups/root/process-groups",
      "urlId": 1,
      "path": [
        {
          "isPartOfHierarchy": true,
          "query": "$.processGroups[*].status.id",
          "replaceVectorKey": "processGroupId"
        },
        {
          "isPartOfHierarchy": true,
          "query": "$.processGroups[?(@.id == 'processGroupId')].status.aggregateSnapshot.name"
        }
      ],
      "metrics": [
        {
          "mPath": "$.processGroups[?(@.id == 'processGroupId')].status.aggregateSnapshot.",
          "attribute": [
            {
              "name": "activeThreadCount",
              "index": 1
            },
            {
              "name": "flowFilesIn",
              "index": 2
            },
            {
              "name": "bytesIn",
              "index": 3,
			  "convertTo": "kb",
              "convertFrom": "bytes"
            },
            {
              "name": "flowFilesOut",
              "index": 4
            },
            {
              "name": "bytesOut",
              "index": 5,
			  "convertTo": "kb",
              "convertFrom": "bytes"
            },
            {
              "name": "flowFilesQueued",
              "index": 6
            },
            {
              "name": "bytesQueued",
              "index": 7,
			  "convertTo": "kb",
              "convertFrom": "bytes"
            },
            {
              "name": "bytesRead",
              "index": 8
            },
            {
              "name": "bytesWritten",
              "index": 9
            },
            {
              "name": "flowFilesTransferred",
              "index": 10
            },
            {
              "name": "bytesTransferred",
              "index": 11,
			  "convertTo": "kb",
              "convertFrom": "bytes"
            }
          ]
        }
      ]
    }
  ]
}
