{
  "GlobalSettings": {
    "type": "dynamic",
    "separator": "_",
    "commonReplaceChars": "/"
  },
  "vectors": [
    {
      "URL": "$BaseURL/providers/microsoft.insights/metrics?api-version={$apiVersion}&metricnames=registration.all%2Cregistration.create%2Cregistration.update%2Cregistration.get%2Cregistration.delete%2Cincoming%2Cincoming.scheduled%2Cincoming.scheduled.cancel%2Cscheduled.pending%2Cinstallation.all%2Cinstallation.get%2Cinstallation.upsert%2Cinstallation.patch%2Cinstallation.delete%2Coutgoing.allpns.success%2Coutgoing.allpns.invalidpayload%2Coutgoing.allpns.pnserror%2Coutgoing.allpns.channelerror%2Coutgoing.allpns.badorexpiredchannel%2Coutgoing.wns.success&timespan={$start_time}/{$end_time}",
      "URLSetting": {
        "requestType": "get"
      },
      "metrics": [
        {
          "mPath": "$.value[0].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "total",
              "index": 1,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[1].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "total",
              "index": 2,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[2].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "total",
              "index": 3,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[3].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "total",
              "index": 4,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[4].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "total",
              "index": 5,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[5].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "total",
              "index": 6,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[6].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "total",
              "index": 7,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[7].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "total",
              "index": 8,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[8].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "total",
              "index": 9,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[9].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "total",
              "index": 10,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[10].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "total",
              "index": 11,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[11].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "total",
              "index": 12,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[12].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "total",
              "index": 13,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[13].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "total",
              "index": 14,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[14].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "total",
              "index": 15,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[15].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "total",
              "index": 16,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[16].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "total",
              "index": 17,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[17].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "total",
              "index": 18,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[18].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "total",
              "index": 19,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[19].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "total",
              "index": 20,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        }
      ],
      "path": [
        {
          "isPartOfHierarchy": true,
          "query": "$.resourceregion"
        },
        {
          "isPartOfHierarchy": true,
          "query": "$.value[*].id",
          "splitChar": "/",
          "pickIndex": "4"
        },
        {
          "isPartOfHierarchy": true,
          "query": "$.value[*].id",
          "splitChar": "/",
          "pickIndex": "8"
        }
      ]
    },
    {
      "URL": "$BaseURL/providers/microsoft.insights/metrics?api-version={$apiVersion}&metricnames=outgoing.wns.invalidcredentials%2Coutgoing.wns.badchannel%2Coutgoing.wns.expiredchannel%2Coutgoing.wns.throttled%2Coutgoing.wns.tokenproviderunreachable%2Coutgoing.wns.invalidtoken%2Coutgoing.wns.wrongtoken%2Coutgoing.wns.invalidnotificationformat%2Coutgoing.wns.invalidnotificationsize%2Coutgoing.wns.channelthrottled%2Coutgoing.wns.channeldisconnected%2Coutgoing.wns.dropped%2Coutgoing.wns.pnserror%2Coutgoing.wns.authenticationerror%2Coutgoing.apns.success%2Coutgoing.apns.invalidcredentials%2Coutgoing.apns.badchannel%2Coutgoing.apns.expiredchannel%2Coutgoing.apns.invalidnotificationsize%2Coutgoing.apns.pnserror&timespan={$start_time}/{$end_time}",
      "URLSetting": {
        "requestType": "get"
      },
      "metrics": [
        {
          "mPath": "$.value[0].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "total",
              "index": 21,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[1].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "total",
              "index": 22,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[2].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "total",
              "index": 23,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[3].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "total",
              "index": 24,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[4].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "total",
              "index": 25,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[5].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "total",
              "index": 26,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[6].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "total",
              "index": 27,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[7].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "total",
              "index": 28,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[8].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "total",
              "index": 29,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[9].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "total",
              "index": 30,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[10].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "total",
              "index": 31,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[11].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "total",
              "index": 32,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[12].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "total",
              "index": 33,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[13].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "total",
              "index": 34,
              "type": 1,
              "operation": "none",
              "defValue": 56
			  }
			  ],
          "operation": "none"
            },
			{
          "mPath": "$.value[14].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "total",
              "index": 35,
              "type": 1,
              "operation": "none",
              "defValue": 56
			  }
			  ],
          "operation": "none"
            },
			{
          "mPath": "$.value[15].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "total",
              "index": 36,
              "type": 1,
              "operation": "none",
              "defValue": 56
			  }
			  ],
          "operation": "none"
            },
			{
          "mPath": "$.value[16].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "total",
              "index": 37,
              "type": 1,
              "operation": "none",
              "defValue": 56
			  }
			  ],
          "operation": "none"
            },
			{
          "mPath": "$.value[17].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "total",
              "index": 38,
              "type": 1,
              "operation": "none",
              "defValue": 56
			  }
			  ],
          "operation": "none"
            },
			{
          "mPath": "$.value[18].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "total",
              "index": 39,
              "type": 1,
              "operation": "none",
              "defValue": 56
			  }
			  ],
          "operation": "none"
            },
			{
          "mPath": "$.value[19].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "total",
              "index": 40,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
         
          "operation": "none"
        }
      ],
      "path": [
        {
          "isPartOfHierarchy": true,
          "query": "$.resourceregion"
        },
        {
          "isPartOfHierarchy": true,
          "query": "$.value[*].id",
          "splitChar": "/",
          "pickIndex": "4"
        },
        {
          "isPartOfHierarchy": true,
          "query": "$.value[*].id",
          "splitChar": "/",
          "pickIndex": "8"
        }
      ]
    },
    {
      "URL": "$BaseURL/providers/microsoft.insights/metrics?api-version={$apiVersion}&metricnames=outgoing.gcm.success%2Coutgoing.gcm.invalidcredentials%2Coutgoing.gcm.badchannel%2Coutgoing.gcm.expiredchannel%2Coutgoing.gcm.throttled%2Coutgoing.gcm.invalidnotificationformat%2Coutgoing.gcm.invalidnotificationsize%2Coutgoing.gcm.wrongchannel%2Coutgoing.gcm.pnserror%2Coutgoing.gcm.authenticationerror%2Coutgoing.mpns.success%2Coutgoing.mpns.invalidcredentials%2Coutgoing.mpns.badchannel%2Coutgoing.mpns.throttled%2Coutgoing.mpns.invalidnotificationformat%2Coutgoing.mpns.channeldisconnected&timespan={$start_time}/{$end_time}",
      "URLSetting": {
        "requestType": "get"
      },
      "metrics": [
         {
          "mPath": "$.value[0].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "total",
              "index": 41,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
		{
          "mPath": "$.value[1].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "total",
              "index": 42,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[2].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "total",
              "index": 43,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[3].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "total",
              "index": 44,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[4].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "total",
              "index": 45,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[5].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "total",
              "index": 46,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[6].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "total",
              "index": 47,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[7].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "total",
              "index": 48,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[8].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "total",
              "index": 49,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[9].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "total",
              "index": 50,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
		{
          "mPath": "$.value[10].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "total",
              "index": 51,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
		{
          "mPath": "$.value[11].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "total",
              "index": 52,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
		{
          "mPath": "$.value[12].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "total",
              "index": 53,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
		{
          "mPath": "$.value[13].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "total",
              "index": 54,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
		{
          "mPath": "$.value[14].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "total",
              "index": 55,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
		{
          "mPath": "$.value[15].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "total",
              "index": 56,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        }
      ],
      "path": [
        {
          "isPartOfHierarchy": true,
          "query": "$.resourceregion"
        },
        {
          "isPartOfHierarchy": true,
          "query": "$.value[*].id",
          "splitChar": "/",
          "pickIndex": "4"
        },
        {
          "isPartOfHierarchy": true,
          "query": "$.value[*].id",
          "splitChar": "/",
          "pickIndex": "8"
		  }
      ]
    },
    {
      "URL": "$BaseURL/providers/microsoft.insights/metrics?api-version={$apiVersion}&metricnames=outgoing.mpns.dropped%2Coutgoing.mpns.pnserror%2Coutgoing.mpns.authenticationerror%2Cnotificationhub.pushes%2Cincoming.all.requests%2Cincoming.all.failedrequests&timespan={$start_time}/{$end_time}",
      "URLSetting": {
        "requestType": "get"
      },
      "metrics": [
         {
          "mPath": "$.value[0].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "total",
              "index": 57,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
		{
          "mPath": "$.value[1].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "total",
              "index": 58,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[2].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "total",
              "index": 59,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[3].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "total",
              "index": 60,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
		   },
		   {
          "mPath": "$.value[4].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "total",
              "index": 61,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
		   },
		   {
          "mPath": "$.value[5].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "total",
              "index": 62,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
		   }
      ],
      "path": [
        {
          "isPartOfHierarchy": true,
          "query": "$.resourceregion"
        },
        {
          "isPartOfHierarchy": true,
          "query": "$.value[*].id",
          "splitChar": "/",
          "pickIndex": "4"
        },
        {
          "isPartOfHierarchy": true,
          "query": "$.value[*].id",
          "splitChar": "/",
          "pickIndex": "8"
		  
		  
        }
      ]
    }
  ]
 }
