{
  "GlobalSettings": {
    "type": "dynamic"
  },
  "vectors": [
    {
      "URL": "$BaseURL/nifi-api/process-groups/root/process-groups",
      "urlId": 1,
      "replaceParams": [
        {
          "param": "processGroupId",
          "path": "$.processGroups[*].id"
        }
      ]
    },
    {
      "URL": "$BaseURL/nifi-api/process-groups/processGroupId#1",
      "urlId": 2,
      "depURLIds": [
        1
      ],
      "path": [
        {
          "isPartOfHierarchy": true,
          "defName": "processGroupId#1"
        },
        {
          "isPartOfHierarchy": true,
          "query": "$.component.name"
        }
      ],
      "metrics": [
        {
          "mPath": "$.component.",
          "attribute": [
            {
              "name": "runningCount",
              "index": 1
            },
            {
              "name": "stoppedCount",
              "index": 2
            },
            {
              "name": "invalidCount",
              "index": 3
            },
            {
              "name": "disabledCount",
              "index": 4
            },
            {
              "name": "activeRemotePortCount",
              "index": 5
            },
            {
              "name": "inactiveRemotePortCount",
              "index": 6
            },
            {
              "name": "inputPortCount",
              "index": 7
            },
            {
              "name": "outputPortCount",
              "index": 8
            }
          ]
        }
      ]
    }
  ]
}
