{
    "GlobalSettings": {
      "type": "dynamic"
    },
    "vectors": [
      {
        "URL": "$BaseURL/pools/default",
        "urlId": 1,
        "path": [
          {
          "isPartOfHierarchy": true,
          "query": "$.clusterName",
          "replaceVectorKey": "Cluster"
         },{
            "isPartOfHierarchy": true,
            "query": "$.nodes.[*].hostname",
            "replaceVectorKey": "Hostname"
          }
        ],
        "metrics": [
          {
            "mPath": "$.nodes.[?(@.hostname == 'Hostname')].systemStats.",
            "attribute": [
              {
                "name": "cpu_utilization_rate",
                "index": 1,
                "type": 1
              },
              {
                "name": "swap_total",
                "index": 3,
                "convertFrom": "bytes",
                "convertTo": "GB",
                "type": 1
              },
              {
                "name": "swap_used",
                "index": 4,
                "convertFrom": "bytes",
                "convertTo": "GB",
                "type": 1
              },
              {
                "name": "swap_usedPct",
                "index": 5,
                "type": 2
              },
              {
                "name": "mem_total",
                "index": 6,
                "convertFrom": "bytes",
                "convertTo": "GB",
                "type": 1
              },
              {
                "name": "mem_free",
                "index": 9,
                "convertFrom": "bytes",
                "convertTo": "GB",
                "type": 1
              }
            ]
          },
          {
            "mPath": "$.nodes.[?(@.hostname == 'Hostname')].interestingStats.",
            "attribute": [
              
              {
                "name": "mem_used",
                "index": 7,
                "convertFrom": "bytes",
                "convertTo": "GB",
                "type": 1
              },
              {
                "name": "mem_usedPct",
                "index": 8,
                "type": 2
              },
              {
                "name": "couch_docs_actual_disk_size",
                "index": 10,
                "convertFrom": "bytes",
                "convertTo": "GB",
                "item": 1
              },
              {
                "name": "couch_docs_data_size",
                "index": 11,
                "convertFrom": "bytes",
                "convertTo": "GB",
                "type": 1
              },
              {
                "name": "couch_views_actual_disk_size",
                "index": 12,
                "convertFrom": "bytes",
                "convertTo": "GB",
                "type": 1
              },
              {
                "name": "couch_views_data_size",
                "index": 13,
                "convertFrom": "bytes",
                "convertTo": "GB",
                "type": 1
              },
              {
                "name": "curr_items_tot",
                "index": 14,
                "type": 1
              },
              {
                "name": "curr_items",
                "index": 15,
                "type": 1
              },
              {
                "name": "ep_bg_fetched",
                "index": 16,
                "item": 1
              },
              {
                "name": "get_hits",
                "index": 17,
                "type": 1
              },
              {
                "name": "cmd_get",
                "index": 18,
                "type": 1
              },
              {
                "name": "ops",
                "index": 19,
                "type": 1
              },
              {
                "name": "vb_replica_curr_items",
                "index": 20,
                "type": 1
              }
            ]
          },
          {
            "mPath": "$.nodes.[?(@.hostname == 'Hostname')].",
            "attribute": [
              {
                "name": "uptime",
                "index": 2,
                "type": 1
              },
              {
                "name": "mcdMemoryReserved",
                "index": 21,
                "convertFrom": "bytes",
                "convertTo": "GB",
                "type": 1
              },
              {
                "name": "mcdMemoryAllocated",
                "index": 22,
                "convertFrom": "bytes",
                "convertTo": "GB",
                "type": 1
              },{
                "name": "status",
                "index": 23,
                "pattern": [ 
                  {
                    "pValue": "unhealthy",
                    "updatedValue": 0,
                    "useAsRegex": false
                  },
                  {
                    "pValue": "healthy",
                    "updatedValue": 1,
                    "useAsRegex": false
                  },
                  {
                    "pValue": "pending",
                    "updatedValue": 2,
                    "useAsRegex": false
                  },
                  {
                    "pValue": "offline",
                    "updatedValue": 3,
                    "useAsRegex": false
                  },
                  {
                    "pValue": "degraded",
                    "updatedValue": 4,
                    "useAsRegex": false
                  }
                ],
                "type": 1
              }
            ]
          }
        ]
      }
    ]
  }
