{
  "GlobalSettings": {
    "type": "dynamic",
    "separator": "_",
    "commonReplaceChars": "/"
  },
  "vectors": [
    {
      "URL": "$BaseURL/providers/microsoft.insights/metrics?api-version={$apiVersion}&metricnames=AddRegion%2CAutoscaleMaxThroughput%2CAvailableStorage%2CCassandraConnectorAvgReplicationLatency%2CCassandraConnectorReplicationHealthStatus%2CCassandraKeyspaceCreate%2CCassandraKeyspaceDelete%2CCassandraKeyspaceThroughputUpdate%2CCassandraKeyspaceUpdate%2CCassandraTableCreate%2CCassandraTableDelete%2CCassandraTableThroughputUpdate%2CCassandraTableUpdate%2CCreateAccount%2CDataUsage%2CDeleteAccount%2CDocumentCount%2CRemoveRegion%2CSqlContainerDelete%2CSqlContainerThroughputUpdate&timespan={$start_time}/{$end_time}",
      "URLSetting": {
        "requestType": "get"
      },
      "metrics": [
        {
          "mPath": "$.value[0].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "count",
              "index": 1,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[1].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "count",
              "index": 2,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[2].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "count",
              "index": 3,
              "type": 1,
              "operation": "none",
              "defValue": 56,
			  "convertTo": "GB",
              "convertFrom": "bytes"
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[3].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "count",
              "index": 4,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[4].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "count",
              "index": 5,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[5].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "count",
              "index": 6,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[6].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "count",
              "index": 7,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[7].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "count",
              "index": 8,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[8].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "count",
              "index": 9,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[9].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "count",
              "index": 10,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[10].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "count",
              "index": 11,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[11].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "count",
              "index": 12,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[12].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "count",
              "index": 13,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[13].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "count",
              "index": 14,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[14].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "count",
              "index": 15,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[15].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "count",
              "index": 16,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[16].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "count",
              "index": 17,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[17].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "count",
              "index": 18,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[18].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "count",
              "index": 19,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[19].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "count",
              "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=GremlinGraphThroughputUpdate%2CGremlinGraphUpdate%2CIndexUsage%2CMetadataRequests%2CMongoCollectionDelete%2CMongoCollectionThroughputUpdate%2CMongoCollectionUpdate%2CMongoDBDatabaseUpdate%2CMongoDatabaseDelete%2CMongoDatabaseThroughputUpdate%2CMongoRequestCharge%2CMongoRequests%2CMongoRequestsCount%2CMongoRequestsDelete%2CMongoRequestsInsert%2CMongoRequestsQuery%2CMongoRequestsUpdate%2CNormalizedRUConsumption%2CProvisionedThroughput%2CRegionFailover&timespan={$start_time}/{$end_time}",
      "URLSetting": {
        "requestType": "get"
      },
      "metrics": [
        {
          "mPath": "$.value[0].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "count",
              "index": 21,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[1].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "count",
              "index": 22,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[2].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "count",
              "index": 23,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[3].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "count",
              "index": 24,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[4].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "count",
              "index": 25,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[5].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "count",
              "index": 26,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[6].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "count",
              "index": 27,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[7].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "count",
              "index": 28,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[8].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "count",
              "index": 29,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[9].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "count",
              "index": 30,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[10].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "count",
              "index": 31,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[11].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "count",
              "index": 32,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[12].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "count",
              "index": 33,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[13].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "count",
              "index": 34,
              "type": 1,
              "operation": "none",
              "defValue": 56
			  }
			  ],
          "operation": "none"
            },
			{
          "mPath": "$.value[14].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "count",
              "index": 35,
              "type": 1,
              "operation": "none",
              "defValue": 56
			  }
			  ],
          "operation": "none"
            },
			{
          "mPath": "$.value[15].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "count",
              "index": 36,
              "type": 1,
              "operation": "none",
              "defValue": 56
			  }
			  ],
          "operation": "none"
            },
			{
          "mPath": "$.value[16].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "count",
              "index": 37,
              "type": 1,
              "operation": "none",
              "defValue": 56
			  }
			  ],
          "operation": "none"
            },
			{
          "mPath": "$.value[17].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "count",
              "index": 38,
              "type": 1,
              "operation": "none",
              "defValue": 56
			  }
			  ],
          "operation": "none"
            },
			{
          "mPath": "$.value[18].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "count",
              "index": 39,
              "type": 1,
              "operation": "none",
              "defValue": 56
			  }
			  ],
          "operation": "none"
            },
			{
          "mPath": "$.value[19].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "count",
              "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=SqlContainerUpdate%2CSqlDatabaseDelete%2CSqlDatabaseThroughputUpdate%2CSqlDatabaseUpdate%2CTableTableThroughputUpdate%2CTableTableUpdate%2CUpdateAccountKeys%2CUpdateAccountNetworkSettings%2CUpdateAccountReplicationSettings%2CUpdateDiagnosticsSettings%2CDocumentQuota%2CGremlinDatabaseCreate%2CGremlinDatabaseDelete%2CGremlinDatabaseThroughputUpdate%2CGremlinDatabaseUpdate%2CGremlinGraphCreate&timespan={$start_time}/{$end_time}",
      "URLSetting": {
        "requestType": "get"
      },
      "metrics": [
         {
          "mPath": "$.value[0].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "count",
              "index": 41,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
		{
          "mPath": "$.value[1].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "count",
              "index": 42,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[2].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "count",
              "index": 43,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[3].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "count",
              "index": 44,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[4].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "count",
              "index": 45,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[5].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "count",
              "index": 46,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[6].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "count",
              "index": 47,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[7].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "count",
              "index": 48,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[8].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "count",
              "index": 49,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[9].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "count",
              "index": 50,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
		{
          "mPath": "$.value[10].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "count",
              "index": 51,
              "type": 1,
              "operation": "none",
              "defValue": 56,
			  "convertTo": "GB",
              "convertFrom": "bytes"
            }
          ],
          "operation": "none"
        },
		{
          "mPath": "$.value[11].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "count",
              "index": 52,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
		{
          "mPath": "$.value[12].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "count",
              "index": 53,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
		{
          "mPath": "$.value[13].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "count",
              "index": 54,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
		{
          "mPath": "$.value[14].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "count",
              "index": 55,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
		{
          "mPath": "$.value[15].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "count",
              "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=ReplicationLatency%2CTotalRequests%2CTotalRequestUnits%2CServiceAvailability&timespan={$start_time}/{$end_time}",
      "URLSetting": {
        "requestType": "get"
      },
      "metrics": [
         {
          "mPath": "$.value[0].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "count",
              "index": 57,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
		{
          "mPath": "$.value[1].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "count",
              "index": 58,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[2].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "count",
              "index": 59,
              "type": 1,
              "operation": "none",
              "defValue": 56
            }
          ],
          "operation": "none"
        },
        {
          "mPath": "$.value[3].timeseries[*].data[-1].",
          "attribute": [
            {
              "name": "count",
              "index": 60,
              "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"
		  
		  
        }
      ]
    }
  ]
 }
