{
  "GlobalSettings": {
    "type": "dynamic",
    "separator": "_",
    "commonReplaceChars": "/"
  },
  "vectors": [
    {
      "URL": "$BaseURL/$AppName/metric-data?metric-path=Application%20Infrastructure%20Performance%7C%2A%7CIndividual%20Nodes%7C%2A%7CHardware%20Resources%7CSystem%7C%2A&time-range-type=BEFORE_NOW&duration-in-mins=1",
      "urlId": 1,
      "replaceParams": [
        {
          "param": "TIER",
          "path": "$.metric-datas.metric-data.metricPath",
          "splitChar": "\\|",
          "pickIndex": "1"
        },
        {
          "param": "NODE",
          "path": "$.metric-datas.metric-data[?(@.metricPath =~/.*?TIER\\|.*?/i)].metricPath",
          "splitChar": "\\|",
          "pickIndex": "3"
        }
      ],
      "path": [
        {
          "isPartOfHierarchy": true,
          "query": "$.metric-datas.metric-data.metricPath",
          "splitChar": "\\|",
          "pickIndex": "1"
        },
        {
          "isPartOfHierarchy": true,
          "query": "$.metric-datas.metric-data[?(@.metricPath =~/.*?TIER\\|.*?/i)].metricPath",
          "splitChar": "\\|",
          "pickIndex": "3"
        }
      ],
      "metrics": [
        {
          "mPath": "$.metric-datas.metric-data[?(@.metricPath =~/.*TIER\\|.*.NODE\\|.*RQ.*/i)].metricValues.metric-value.",
          "attribute": [
            {
              "name": "min",
              "index": 2,
              "type": 1
            },
            {
              "name": "max",
              "index": 3,
              "type": 1
            },
            {
              "name": "count",
              "index": 4,
              "type": 1
            },
            {
              "name": "value",
              "index": 1,
              "type": 1
            }
          ]
        }
      ],
      "URLSetting": {
        "requestType": "get"
      }
    },
    {
      "URL": "$BaseURL/$AppName/metric-data?metric-path=Application%20Infrastructure%20Performance%7C%2A%7CHardware%20Resources%7CSystem%7C%2A&time-range-type=BEFORE_NOW&duration-in-mins=1",
      "urlId": 2,
      "depURLIds": [
        1
      ],
      "path": [
        {
          "isPartOfHierarchy": true,
          "query": "$.metric-datas.metric-data.metricPath",
          "splitChar": "\\|",
          "pickIndex": "1"
        },
        {
          "defName": "OverAll",
          "isPartOfHierarchy": true
        }
      ],
      "metrics": [
        {
          "mPath": "$.metric-datas.metric-data[?(@.metricPath =~/.*TIER#1\\|.*RQ.*/i)].metricValues.metric-value.",
          "attribute": [
            {
              "name": "min",
              "index": 2,
              "type": 1
            },
            {
              "name": "max",
              "index": 3,
              "type": 1
            },
            {
              "name": "count",
              "index": 4,
              "type": 1
            },
            {
              "name": "value",
              "index": 1,
              "type": 1
            }
          ]
        }
      ],
      "URLSetting": {
        "requestType": "get"
      }
    }
  ]
}
