{
  "GlobalSettings": {
    "type": "dynamic",
    "separator": "_",
    "commonReplaceChars": "/"
  },
  "vectors": [
    {
      "URL": "$BaseURL/$AppName/metric-data?metric-path=Backends%7C%2A%7C%2A&time-range-type=BEFORE_NOW&duration-in-mins=1",
      "urlId": 1,
	  "replaceParams": [
        {
          "param": "path1",
          "path": "$.metric-datas.metric-data[*].metricPath",
		  "splitChar": "\\|",
          "pickIndex": "1"
        }
	   ],
		
      "path": [
        {
          "isPartOfHierarchy": true,
          "query": "$.metric-datas.metric-data[*].metricPath",
          "splitChar": "\\|",
          "pickIndex": "1"
        }
      ],
      "metrics": [
        {
          "mPath": "$.metric-datas.metric-data[?(@.metricPath =~/.*path1\\|.*Errors.*/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
            }
          ]
        },
        {
          "mPath": "$.metric-datas.metric-data[?(@.metricPath =~/.*path1\\|.*Calls.*/i)].metricValues.metric-value.",
          "attribute": [
            {
              "name": "min",
              "index": 6,
              "type": 1
            },
            {
              "name": "max",
              "index": 7,
              "type": 1
            },
            {
              "name": "count",
              "index": 8,
              "type": 1
            },
            {
              "name": "value",
              "index": 5,
              "type": 1
            }
          ]
        },
        {
          "mPath": "$.metric-datas.metric-data[?(@.metricPath =~/.*path1\\|.*Response.*/i)].metricValues.metric-value.",
          "attribute": [
            {
              "name": "min",
              "index": 10,
              "type": 1
            },
            {
              "name": "max",
              "index": 11,
              "type": 1
            },
            {
              "name": "count",
              "index": 12,
              "type": 1
            },
            {
              "name": "value",
              "index": 9,
              "type": 1
            }
          ]
        }
      ],
      "URLSetting": {
        "requestType": "get"
      }
    }
  ]
}