{
  "GlobalSettings": {
    "type": "dynamic"
  },
  "vectors": [
    {
      "URL": "$BaseURL/apis/apps/v1/deployments",
      "urlId": 1,
      "path": [
        {
          "isPartOfHierarchy": true,
          "query": "$.items[*].metadata.namespace",
          "replaceVectorKey": "nameSpace"
        },
        {
          "isPartOfHierarchy": true,
          "query": "$.items[?(@.metadata.namespace == 'nameSpace')].metadata.name",
          "replaceVectorKey": "replicaName"
        }
      ],
      "metrics": [
        {
          "mPath": "$.items[?(@.metadata.namespace == 'nameSpace' && @.metadata.name == 'replicaName')].status.",
          "attribute": [
            {
              "name": "replicas",
              "index": 1,
              "type": 1,
              "defValue": 0
            },
            {
              "name": "availableReplicas",
              "index": 2,
              "type": 1,
              "defValue": 0
            },
            {
              "name": "availableBytes",
              "index": 3,
              "type": 2,
              "defValue": 0
            },
            {
              "name": "updatedReplicas",
              "index": 4,
              "type": 1,
              "defValue": 0
            }
          ]
        }
      ]
    }
  ]
}