Grafana dashboard: Azure / Insights / Cosmos DB 
Description: The dashboard provides insights of Azure Cosmos DB overview, throughput, requests, storage, availability latency, system and account management.

Using Azure Monitor data source, this dashboard helps you visualize Azure Cosmos DB metrics. Equipped with interactive charts showing the most essential details related to overview, throughput, requests, storage, availability latency, system and account management, this dashboard gives you 360 degree observability view of your Cosmos DB account.

More information:
- [Set up Azure Monitor data source](https://grafana.com/docs/grafana/next/datasources/azuremonitor/)
- [Azure Monitor](https://docs.microsoft.com/en-us/azure/azure-monitor/)
- [About Azure Cosmos DB](https://azure.microsoft.com/en-us/services/cosmos-db/)

Send your feedback to [azmongrafana@microsoft.com](mailto:azmongrafana@microsoft.com)

{
  "__inputs": [],
  "__requires": [
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "7.4.3"
    },
    {
      "type": "datasource",
      "id": "grafana-azure-monitor-datasource",
      "name": "Azure Monitor",
      "version": "0.3.0"
    },
    {
      "type": "panel",
      "id": "graph",
      "name": "Graph",
      "version": ""
    },
    {
      "type": "panel",
      "id": "stat",
      "name": "Stat",
      "version": ""
    },
    {
      "type": "panel",
      "id": "table",
      "name": "Table",
      "version": ""
    }
  ],
  "editable": true,
  "id": null,
  "links": [],
  "panels": [
    {
      "collapsed": true,
      "datasource": "${ds}",
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 0
      },
      "id": 4,
      "panels": [
        {
          "aliasColors": {},
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": "${ds}",
          "fieldConfig": {
            "defaults": {
              "color": {},
              "custom": {},
              "thresholds": {
                "mode": "absolute",
                "steps": []
              }
            },
            "overrides": []
          },
          "fill": 1,
          "fillGradient": 0,
          "gridPos": {
            "h": 9,
            "w": 12,
            "x": 0,
            "y": 1
          },
          "hiddenSeries": false,
          "id": 2,
          "legend": {
            "avg": false,
            "current": false,
            "max": false,
            "min": false,
            "show": true,
            "total": true,
            "values": true
          },
          "lines": true,
          "linewidth": 1,
          "nullPointMode": "null",
          "options": {
            "alertThreshold": true
          },
          "percentage": false,
          "pointradius": 2,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [],
          "spaceLength": 10,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "azureMonitor": {
                "aggOptions": [
                  "Count"
                ],
                "aggregation": "Count",
                "allowedTimeGrainsMs": [
                  60000,
                  300000,
                  900000,
                  1800000,
                  3600000,
                  21600000,
                  43200000,
                  86400000
                ],
                "dimensionFilter": "*",
                "dimensionFilters": [],
                "dimensions": [
                  {
                    "text": "DatabaseName",
                    "value": "DatabaseName"
                  },
                  {
                    "text": "CollectionName",
                    "value": "CollectionName"
                  },
                  {
                    "text": "Region",
                    "value": "Region"
                  },
                  {
                    "text": "StatusCode",
                    "value": "StatusCode"
                  },
                  {
                    "text": "OperationType",
                    "value": "OperationType"
                  },
                  {
                    "text": "Status",
                    "value": "Status"
                  }
                ],
                "metricDefinition": "$ns",
                "metricName": "TotalRequests",
                "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
                "resourceGroup": "$rg",
                "resourceName": "$resource",
                "timeGrain": "auto",
                "timeGrains": [
                  {
                    "text": "auto",
                    "value": "auto"
                  },
                  {
                    "text": "1 minute",
                    "value": "PT1M"
                  },
                  {
                    "text": "5 minutes",
                    "value": "PT5M"
                  },
                  {
                    "text": "15 minutes",
                    "value": "PT15M"
                  },
                  {
                    "text": "30 minutes",
                    "value": "PT30M"
                  },
                  {
                    "text": "1 hour",
                    "value": "PT1H"
                  },
                  {
                    "text": "6 hours",
                    "value": "PT6H"
                  },
                  {
                    "text": "12 hours",
                    "value": "PT12H"
                  },
                  {
                    "text": "1 day",
                    "value": "P1D"
                  }
                ],
                "top": "10"
              },
              "queryType": "Azure Monitor",
              "refId": "A",
              "subscription": "$sub"
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeRegions": [],
          "timeShift": null,
          "title": "Total Requests",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": "0",
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ],
          "yaxis": {
            "align": false,
            "alignLevel": null
          }
        },
        {
          "aliasColors": {},
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": "${ds}",
          "fieldConfig": {
            "defaults": {
              "color": {},
              "custom": {},
              "thresholds": {
                "mode": "absolute",
                "steps": []
              },
              "unit": "short"
            },
            "overrides": []
          },
          "fill": 1,
          "fillGradient": 0,
          "gridPos": {
            "h": 9,
            "w": 12,
            "x": 12,
            "y": 1
          },
          "hiddenSeries": false,
          "id": 19,
          "legend": {
            "avg": false,
            "current": false,
            "max": false,
            "min": false,
            "show": true,
            "total": true,
            "values": true
          },
          "lines": true,
          "linewidth": 1,
          "nullPointMode": "null as zero",
          "options": {
            "alertThreshold": true
          },
          "percentage": false,
          "pointradius": 2,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [],
          "spaceLength": 10,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "azureMonitor": {
                "aggOptions": [
                  "Count"
                ],
                "aggregation": "Count",
                "allowedTimeGrainsMs": [
                  60000,
                  300000,
                  900000,
                  1800000,
                  3600000,
                  21600000,
                  43200000,
                  86400000
                ],
                "dimensionFilter": "*",
                "dimensionFilters": [
                  {
                    "dimension": "StatusCode",
                    "filter": "429",
                    "operator": "eq"
                  }
                ],
                "dimensions": [
                  {
                    "text": "DatabaseName",
                    "value": "DatabaseName"
                  },
                  {
                    "text": "CollectionName",
                    "value": "CollectionName"
                  },
                  {
                    "text": "Region",
                    "value": "Region"
                  },
                  {
                    "text": "StatusCode",
                    "value": "StatusCode"
                  },
                  {
                    "text": "OperationType",
                    "value": "OperationType"
                  },
                  {
                    "text": "Status",
                    "value": "Status"
                  }
                ],
                "metricDefinition": "$ns",
                "metricName": "TotalRequests",
                "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
                "resourceGroup": "$rg",
                "resourceName": "$resource",
                "timeGrain": "auto",
                "timeGrains": [
                  {
                    "text": "auto",
                    "value": "auto"
                  },
                  {
                    "text": "1 minute",
                    "value": "PT1M"
                  },
                  {
                    "text": "5 minutes",
                    "value": "PT5M"
                  },
                  {
                    "text": "15 minutes",
                    "value": "PT15M"
                  },
                  {
                    "text": "30 minutes",
                    "value": "PT30M"
                  },
                  {
                    "text": "1 hour",
                    "value": "PT1H"
                  },
                  {
                    "text": "6 hours",
                    "value": "PT6H"
                  },
                  {
                    "text": "12 hours",
                    "value": "PT12H"
                  },
                  {
                    "text": "1 day",
                    "value": "P1D"
                  }
                ],
                "top": ""
              },
              "queryType": "Azure Monitor",
              "refId": "A",
              "subscription": "$sub"
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeRegions": [],
          "timeShift": null,
          "title": "Throttled Requests (429s)",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": "0",
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ],
          "yaxis": {
            "align": false,
            "alignLevel": null
          }
        },
        {
          "aliasColors": {},
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": "${ds}",
          "fieldConfig": {
            "defaults": {
              "color": {},
              "custom": {},
              "thresholds": {
                "mode": "absolute",
                "steps": []
              },
              "unit": "short"
            },
            "overrides": []
          },
          "fill": 1,
          "fillGradient": 0,
          "gridPos": {
            "h": 8,
            "w": 12,
            "x": 0,
            "y": 10
          },
          "hiddenSeries": false,
          "id": 9,
          "legend": {
            "avg": false,
            "current": false,
            "max": true,
            "min": false,
            "show": true,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 1,
          "nullPointMode": "null",
          "options": {
            "alertThreshold": true
          },
          "percentage": false,
          "pointradius": 2,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [],
          "spaceLength": 10,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "azureMonitor": {
                "aggOptions": [
                  "Maximum",
                  "Average"
                ],
                "aggregation": "Maximum",
                "allowedTimeGrainsMs": [
                  60000,
                  300000,
                  3600000,
                  86400000
                ],
                "dimensionFilter": "*",
                "dimensionFilters": [],
                "dimensions": [
                  {
                    "text": "CollectionName",
                    "value": "CollectionName"
                  },
                  {
                    "text": "DatabaseName",
                    "value": "DatabaseName"
                  },
                  {
                    "text": "Region",
                    "value": "Region"
                  },
                  {
                    "text": "PartitionKeyRangeId",
                    "value": "PartitionKeyRangeId"
                  }
                ],
                "metricDefinition": "$ns",
                "metricName": "NormalizedRUConsumption",
                "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
                "resourceGroup": "$rg",
                "resourceName": "$resource",
                "timeGrain": "auto",
                "timeGrains": [
                  {
                    "text": "auto",
                    "value": "auto"
                  },
                  {
                    "text": "1 minute",
                    "value": "PT1M"
                  },
                  {
                    "text": "5 minutes",
                    "value": "PT5M"
                  },
                  {
                    "text": "1 hour",
                    "value": "PT1H"
                  },
                  {
                    "text": "1 day",
                    "value": "P1D"
                  }
                ],
                "top": ""
              },
              "queryType": "Azure Monitor",
              "refId": "A",
              "subscription": "$sub"
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeRegions": [],
          "timeShift": null,
          "title": "Normalized RU Consumption (max)",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "percent",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ],
          "yaxis": {
            "align": false,
            "alignLevel": null
          }
        },
        {
          "aliasColors": {},
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": "${ds}",
          "fieldConfig": {
            "defaults": {
              "color": {},
              "custom": {},
              "thresholds": {
                "mode": "absolute",
                "steps": []
              },
              "unit": "short"
            },
            "overrides": []
          },
          "fill": 1,
          "fillGradient": 0,
          "gridPos": {
            "h": 8,
            "w": 12,
            "x": 12,
            "y": 10
          },
          "hiddenSeries": false,
          "id": 12,
          "legend": {
            "avg": true,
            "current": false,
            "max": false,
            "min": false,
            "show": true,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 1,
          "nullPointMode": "null",
          "options": {
            "alertThreshold": true
          },
          "percentage": false,
          "pointradius": 2,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [],
          "spaceLength": 10,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "azureMonitor": {
                "aggOptions": [
                  "Total",
                  "Average"
                ],
                "aggregation": "Total",
                "allowedTimeGrainsMs": [
                  300000
                ],
                "dimensionFilter": "*",
                "dimensionFilters": [],
                "dimensions": [
                  {
                    "text": "CollectionName",
                    "value": "CollectionName"
                  },
                  {
                    "text": "DatabaseName",
                    "value": "DatabaseName"
                  },
                  {
                    "text": "Region",
                    "value": "Region"
                  }
                ],
                "metricDefinition": "$ns",
                "metricName": "IndexUsage",
                "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
                "resourceGroup": "$rg",
                "resourceName": "$resource",
                "timeGrain": "auto",
                "timeGrains": [
                  {
                    "text": "auto",
                    "value": "auto"
                  },
                  {
                    "text": "5 minutes",
                    "value": "PT5M"
                  }
                ],
                "top": ""
              },
              "hide": false,
              "queryType": "Azure Monitor",
              "refId": "A",
              "subscription": "$sub"
            },
            {
              "azureMonitor": {
                "aggOptions": [
                  "Total",
                  "Average"
                ],
                "aggregation": "Total",
                "allowedTimeGrainsMs": [
                  300000
                ],
                "dimensionFilter": "*",
                "dimensionFilters": [],
                "dimensions": [
                  {
                    "text": "CollectionName",
                    "value": "CollectionName"
                  },
                  {
                    "text": "DatabaseName",
                    "value": "DatabaseName"
                  },
                  {
                    "text": "Region",
                    "value": "Region"
                  }
                ],
                "metricDefinition": "$ns",
                "metricName": "DataUsage",
                "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
                "resourceGroup": "$rg",
                "resourceName": "$resource",
                "timeGrain": "auto",
                "timeGrains": [
                  {
                    "text": "auto",
                    "value": "auto"
                  },
                  {
                    "text": "5 minutes",
                    "value": "PT5M"
                  }
                ],
                "top": ""
              },
              "hide": false,
              "queryType": "Azure Monitor",
              "refId": "B",
              "subscription": "$sub"
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeRegions": [],
          "timeShift": null,
          "title": "Index & Data Usage",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "decbytes",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ],
          "yaxis": {
            "align": false,
            "alignLevel": null
          }
        },
        {
          "datasource": "${ds}",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "fixed"
              },
              "custom": {
                "align": null,
                "filterable": false
              },
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  }
                ]
              }
            },
            "overrides": [
              {
                "matcher": {
                  "id": "byName",
                  "options": "Total"
                },
                "properties": [
                  {
                    "id": "custom.displayMode",
                    "value": "lcd-gauge"
                  },
                  {
                    "id": "color",
                    "value": {
                      "mode": "continuous-GrYlRd"
                    }
                  }
                ]
              }
            ]
          },
          "gridPos": {
            "h": 9,
            "w": 8,
            "x": 0,
            "y": 18
          },
          "id": 11,
          "maxDataPoints": 1,
          "options": {
            "showHeader": true
          },
          "targets": [
            {
              "azureMonitor": {
                "aggOptions": [
                  "Count"
                ],
                "aggregation": "Count",
                "allowedTimeGrainsMs": [
                  60000,
                  300000,
                  900000,
                  1800000,
                  3600000,
                  21600000,
                  43200000,
                  86400000
                ],
                "dimensionFilter": "*",
                "dimensionFilters": [
                  {
                    "dimension": "CollectionName",
                    "filter": "",
                    "operator": "eq"
                  }
                ],
                "dimensions": [
                  {
                    "text": "DatabaseName",
                    "value": "DatabaseName"
                  },
                  {
                    "text": "CollectionName",
                    "value": "CollectionName"
                  },
                  {
                    "text": "Region",
                    "value": "Region"
                  },
                  {
                    "text": "StatusCode",
                    "value": "StatusCode"
                  },
                  {
                    "text": "OperationType",
                    "value": "OperationType"
                  },
                  {
                    "text": "Status",
                    "value": "Status"
                  }
                ],
                "metricDefinition": "$ns",
                "metricName": "TotalRequests",
                "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
                "resourceGroup": "$rg",
                "resourceName": "$resource",
                "timeGrain": "auto",
                "timeGrains": [
                  {
                    "text": "auto",
                    "value": "auto"
                  },
                  {
                    "text": "1 minute",
                    "value": "PT1M"
                  },
                  {
                    "text": "5 minutes",
                    "value": "PT5M"
                  },
                  {
                    "text": "15 minutes",
                    "value": "PT15M"
                  },
                  {
                    "text": "30 minutes",
                    "value": "PT30M"
                  },
                  {
                    "text": "1 hour",
                    "value": "PT1H"
                  },
                  {
                    "text": "6 hours",
                    "value": "PT6H"
                  },
                  {
                    "text": "12 hours",
                    "value": "PT12H"
                  },
                  {
                    "text": "1 day",
                    "value": "P1D"
                  }
                ],
                "top": ""
              },
              "hide": false,
              "queryType": "Azure Monitor",
              "refId": "A",
              "subscription": "$sub"
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Total Requests (Count) By Collection",
          "transformations": [
            {
              "id": "reduce",
              "options": {
                "reducers": [
                  "sum"
                ]
              }
            }
          ],
          "type": "table"
        },
        {
          "datasource": "${ds}",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "fixed"
              },
              "custom": {
                "align": null,
                "filterable": false
              },
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  }
                ]
              }
            },
            "overrides": [
              {
                "matcher": {
                  "id": "byName",
                  "options": "Total"
                },
                "properties": [
                  {
                    "id": "custom.displayMode",
                    "value": "lcd-gauge"
                  },
                  {
                    "id": "color",
                    "value": {
                      "mode": "continuous-GrYlRd"
                    }
                  }
                ]
              }
            ]
          },
          "gridPos": {
            "h": 9,
            "w": 8,
            "x": 8,
            "y": 18
          },
          "id": 14,
          "maxDataPoints": 1,
          "options": {
            "showHeader": true
          },
          "targets": [
            {
              "azureMonitor": {
                "aggOptions": [
                  "Total",
                  "Average"
                ],
                "aggregation": "Total",
                "allowedTimeGrainsMs": [
                  300000
                ],
                "dimensionFilter": "*",
                "dimensionFilters": [
                  {
                    "dimension": "CollectionName",
                    "filter": "",
                    "operator": "eq"
                  }
                ],
                "dimensions": [
                  {
                    "text": "CollectionName",
                    "value": "CollectionName"
                  },
                  {
                    "text": "DatabaseName",
                    "value": "DatabaseName"
                  },
                  {
                    "text": "Region",
                    "value": "Region"
                  }
                ],
                "metricDefinition": "$ns",
                "metricName": "DocumentCount",
                "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
                "resourceGroup": "$rg",
                "resourceName": "$resource",
                "timeGrain": "auto",
                "timeGrains": [
                  {
                    "text": "auto",
                    "value": "auto"
                  },
                  {
                    "text": "5 minutes",
                    "value": "PT5M"
                  }
                ],
                "top": ""
              },
              "hide": false,
              "queryType": "Azure Monitor",
              "refId": "B",
              "subscription": "$sub"
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Document Count (Avg) By Collection",
          "transformations": [
            {
              "id": "reduce",
              "options": {
                "reducers": [
                  "sum"
                ]
              }
            }
          ],
          "type": "table"
        },
        {
          "datasource": "${ds}",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "fixed"
              },
              "custom": {
                "align": null,
                "filterable": false
              },
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  }
                ]
              }
            },
            "overrides": [
              {
                "matcher": {
                  "id": "byName",
                  "options": "Total"
                },
                "properties": [
                  {
                    "id": "custom.displayMode",
                    "value": "lcd-gauge"
                  },
                  {
                    "id": "color",
                    "value": {
                      "mode": "continuous-GrYlRd"
                    }
                  }
                ]
              }
            ]
          },
          "gridPos": {
            "h": 9,
            "w": 8,
            "x": 16,
            "y": 18
          },
          "id": 15,
          "maxDataPoints": 1,
          "options": {
            "showHeader": true
          },
          "targets": [
            {
              "azureMonitor": {
                "aggOptions": [
                  "Total",
                  "Average"
                ],
                "aggregation": "Total",
                "allowedTimeGrainsMs": [
                  300000
                ],
                "dimensionFilter": "*",
                "dimensionFilters": [
                  {
                    "dimension": "CollectionName",
                    "filter": "",
                    "operator": "eq"
                  }
                ],
                "dimensions": [
                  {
                    "text": "CollectionName",
                    "value": "CollectionName"
                  },
                  {
                    "text": "DatabaseName",
                    "value": "DatabaseName"
                  },
                  {
                    "text": "Region",
                    "value": "Region"
                  }
                ],
                "metricDefinition": "$ns",
                "metricName": "DataUsage",
                "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
                "resourceGroup": "$rg",
                "resourceName": "$resource",
                "timeGrain": "auto",
                "timeGrains": [
                  {
                    "text": "auto",
                    "value": "auto"
                  },
                  {
                    "text": "5 minutes",
                    "value": "PT5M"
                  }
                ],
                "top": ""
              },
              "hide": false,
              "queryType": "Azure Monitor",
              "refId": "C",
              "subscription": "$sub"
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Data Usage (Avg) By Collection",
          "transformations": [
            {
              "id": "reduce",
              "options": {
                "reducers": [
                  "sum"
                ]
              }
            }
          ],
          "type": "table"
        },
        {
          "datasource": "${ds}",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "fixed"
              },
              "custom": {
                "align": null,
                "filterable": false
              },
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  }
                ]
              }
            },
            "overrides": [
              {
                "matcher": {
                  "id": "byName",
                  "options": "Total"
                },
                "properties": [
                  {
                    "id": "custom.displayMode",
                    "value": "lcd-gauge"
                  },
                  {
                    "id": "color",
                    "value": {
                      "mode": "continuous-GrYlRd"
                    }
                  }
                ]
              }
            ]
          },
          "gridPos": {
            "h": 9,
            "w": 8,
            "x": 0,
            "y": 27
          },
          "id": 16,
          "maxDataPoints": 1,
          "options": {
            "showHeader": true
          },
          "targets": [
            {
              "azureMonitor": {
                "aggOptions": [
                  "Total",
                  "Average"
                ],
                "aggregation": "Total",
                "allowedTimeGrainsMs": [
                  300000
                ],
                "dimensionFilter": "*",
                "dimensionFilters": [
                  {
                    "dimension": "CollectionName",
                    "filter": "",
                    "operator": "eq"
                  }
                ],
                "dimensions": [
                  {
                    "text": "CollectionName",
                    "value": "CollectionName"
                  },
                  {
                    "text": "DatabaseName",
                    "value": "DatabaseName"
                  },
                  {
                    "text": "Region",
                    "value": "Region"
                  }
                ],
                "metricDefinition": "$ns",
                "metricName": "IndexUsage",
                "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
                "resourceGroup": "$rg",
                "resourceName": "$resource",
                "timeGrain": "auto",
                "timeGrains": [
                  {
                    "text": "auto",
                    "value": "auto"
                  },
                  {
                    "text": "5 minutes",
                    "value": "PT5M"
                  }
                ],
                "top": ""
              },
              "hide": false,
              "queryType": "Azure Monitor",
              "refId": "D",
              "subscription": "$sub"
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Index Usage (Avg) By Collection",
          "transformations": [
            {
              "id": "reduce",
              "options": {
                "reducers": [
                  "sum"
                ]
              }
            }
          ],
          "type": "table"
        },
        {
          "datasource": "${ds}",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "fixed"
              },
              "custom": {
                "align": null,
                "filterable": false
              },
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  }
                ]
              }
            },
            "overrides": [
              {
                "matcher": {
                  "id": "byName",
                  "options": "Total"
                },
                "properties": [
                  {
                    "id": "custom.displayMode",
                    "value": "lcd-gauge"
                  },
                  {
                    "id": "color",
                    "value": {
                      "mode": "palette-classic"
                    }
                  }
                ]
              }
            ]
          },
          "gridPos": {
            "h": 9,
            "w": 8,
            "x": 8,
            "y": 27
          },
          "id": 17,
          "maxDataPoints": 1,
          "options": {
            "showHeader": true
          },
          "targets": [
            {
              "azureMonitor": {
                "aggOptions": [
                  "Maximum"
                ],
                "aggregation": "Maximum",
                "allowedTimeGrainsMs": [
                  300000
                ],
                "dimensionFilter": "*",
                "dimensionFilters": [
                  {
                    "dimension": "CollectionName",
                    "filter": "",
                    "operator": "eq"
                  }
                ],
                "dimensions": [
                  {
                    "text": "DatabaseName",
                    "value": "DatabaseName"
                  },
                  {
                    "text": "CollectionName",
                    "value": "CollectionName"
                  }
                ],
                "metricDefinition": "$ns",
                "metricName": "ProvisionedThroughput",
                "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
                "resourceGroup": "$rg",
                "resourceName": "$resource",
                "timeGrain": "auto",
                "timeGrains": [
                  {
                    "text": "auto",
                    "value": "auto"
                  },
                  {
                    "text": "5 minutes",
                    "value": "PT5M"
                  }
                ],
                "top": ""
              },
              "hide": false,
              "queryType": "Azure Monitor",
              "refId": "E",
              "subscription": "$sub"
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Provisioned Throughput (Max) By Collection",
          "transformations": [
            {
              "id": "reduce",
              "options": {
                "reducers": [
                  "sum"
                ]
              }
            }
          ],
          "type": "table"
        },
        {
          "datasource": "${ds}",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "fixed"
              },
              "custom": {
                "align": null,
                "filterable": false
              },
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  }
                ]
              }
            },
            "overrides": [
              {
                "matcher": {
                  "id": "byName",
                  "options": "Total"
                },
                "properties": [
                  {
                    "id": "custom.displayMode",
                    "value": "lcd-gauge"
                  },
                  {
                    "id": "color",
                    "value": {
                      "mode": "palette-classic"
                    }
                  }
                ]
              }
            ]
          },
          "gridPos": {
            "h": 9,
            "w": 8,
            "x": 16,
            "y": 27
          },
          "id": 18,
          "maxDataPoints": 1,
          "options": {
            "showHeader": true
          },
          "targets": [
            {
              "azureMonitor": {
                "aggOptions": [
                  "Maximum",
                  "Average"
                ],
                "aggregation": "Maximum",
                "allowedTimeGrainsMs": [
                  60000,
                  300000,
                  3600000,
                  86400000
                ],
                "dimensionFilter": "*",
                "dimensionFilters": [
                  {
                    "dimension": "CollectionName",
                    "filter": "",
                    "operator": "eq"
                  }
                ],
                "dimensions": [
                  {
                    "text": "CollectionName",
                    "value": "CollectionName"
                  },
                  {
                    "text": "DatabaseName",
                    "value": "DatabaseName"
                  },
                  {
                    "text": "Region",
                    "value": "Region"
                  },
                  {
                    "text": "PartitionKeyRangeId",
                    "value": "PartitionKeyRangeId"
                  }
                ],
                "metricDefinition": "$ns",
                "metricName": "NormalizedRUConsumption",
                "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
                "resourceGroup": "$rg",
                "resourceName": "$resource",
                "timeGrain": "auto",
                "timeGrains": [
                  {
                    "text": "auto",
                    "value": "auto"
                  },
                  {
                    "text": "1 minute",
                    "value": "PT1M"
                  },
                  {
                    "text": "5 minutes",
                    "value": "PT5M"
                  },
                  {
                    "text": "1 hour",
                    "value": "PT1H"
                  },
                  {
                    "text": "1 day",
                    "value": "P1D"
                  }
                ],
                "top": ""
              },
              "hide": false,
              "queryType": "Azure Monitor",
              "refId": "F",
              "subscription": "$sub"
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Normalized RU Consumption (Max) By Collection",
          "transformations": [
            {
              "id": "reduce",
              "options": {
                "reducers": [
                  "sum"
                ]
              }
            }
          ],
          "type": "table"
        }
      ],
      "title": "Overview",
      "type": "row"
    },
    {
      "collapsed": true,
      "datasource": "${ds}",
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 1
      },
      "id": 21,
      "panels": [
        {
          "aliasColors": {},
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": "${ds}",
          "fieldConfig": {
            "defaults": {
              "custom": {}
            },
            "overrides": []
          },
          "fill": 1,
          "fillGradient": 0,
          "gridPos": {
            "h": 8,
            "w": 12,
            "x": 0,
            "y": 2
          },
          "hiddenSeries": false,
          "id": 23,
          "legend": {
            "avg": false,
            "current": false,
            "max": false,
            "min": false,
            "show": true,
            "total": true,
            "values": true
          },
          "lines": true,
          "linewidth": 1,
          "nullPointMode": "null",
          "options": {
            "alertThreshold": true
          },
          "percentage": false,
          "pointradius": 2,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [],
          "spaceLength": 10,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "azureMonitor": {
                "aggOptions": [
                  "Total",
                  "Average"
                ],
                "aggregation": "Total",
                "allowedTimeGrainsMs": [
                  60000,
                  300000,
                  900000,
                  1800000,
                  3600000,
                  21600000,
                  43200000,
                  86400000
                ],
                "dimensionFilter": "*",
                "dimensionFilters": [],
                "dimensions": [
                  {
                    "text": "DatabaseName",
                    "value": "DatabaseName"
                  },
                  {
                    "text": "CollectionName",
                    "value": "CollectionName"
                  },
                  {
                    "text": "Region",
                    "value": "Region"
                  },
                  {
                    "text": "StatusCode",
                    "value": "StatusCode"
                  },
                  {
                    "text": "OperationType",
                    "value": "OperationType"
                  },
                  {
                    "text": "Status",
                    "value": "Status"
                  }
                ],
                "metricDefinition": "$ns",
                "metricName": "TotalRequestUnits",
                "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
                "resourceGroup": "$rg",
                "resourceName": "$resource",
                "timeGrain": "auto",
                "timeGrains": [
                  {
                    "text": "auto",
                    "value": "auto"
                  },
                  {
                    "text": "1 minute",
                    "value": "PT1M"
                  },
                  {
                    "text": "5 minutes",
                    "value": "PT5M"
                  },
                  {
                    "text": "15 minutes",
                    "value": "PT15M"
                  },
                  {
                    "text": "30 minutes",
                    "value": "PT30M"
                  },
                  {
                    "text": "1 hour",
                    "value": "PT1H"
                  },
                  {
                    "text": "6 hours",
                    "value": "PT6H"
                  },
                  {
                    "text": "12 hours",
                    "value": "PT12H"
                  },
                  {
                    "text": "1 day",
                    "value": "P1D"
                  }
                ],
                "top": "10"
              },
              "queryType": "Azure Monitor",
              "refId": "A",
              "subscription": "$sub"
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeRegions": [],
          "timeShift": null,
          "title": "Total Request Units",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ],
          "yaxis": {
            "align": false,
            "alignLevel": null
          }
        },
        {
          "aliasColors": {},
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": "${ds}",
          "fieldConfig": {
            "defaults": {
              "custom": {}
            },
            "overrides": []
          },
          "fill": 1,
          "fillGradient": 0,
          "gridPos": {
            "h": 8,
            "w": 12,
            "x": 12,
            "y": 2
          },
          "hiddenSeries": false,
          "id": 24,
          "legend": {
            "alignAsTable": false,
            "avg": false,
            "current": false,
            "max": true,
            "min": false,
            "rightSide": false,
            "show": true,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 1,
          "nullPointMode": "null",
          "options": {
            "alertThreshold": true
          },
          "percentage": false,
          "pointradius": 2,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [],
          "spaceLength": 10,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "azureMonitor": {
                "aggOptions": [
                  "Maximum",
                  "Average"
                ],
                "aggregation": "Maximum",
                "allowedTimeGrainsMs": [
                  60000,
                  300000,
                  3600000,
                  86400000
                ],
                "dimensionFilter": "*",
                "dimensionFilters": [
                  {
                    "dimension": "PartitionKeyRangeId",
                    "filter": "",
                    "operator": "eq"
                  }
                ],
                "dimensions": [
                  {
                    "text": "CollectionName",
                    "value": "CollectionName"
                  },
                  {
                    "text": "DatabaseName",
                    "value": "DatabaseName"
                  },
                  {
                    "text": "Region",
                    "value": "Region"
                  },
                  {
                    "text": "PartitionKeyRangeId",
                    "value": "PartitionKeyRangeId"
                  }
                ],
                "metricDefinition": "$ns",
                "metricName": "NormalizedRUConsumption",
                "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
                "resourceGroup": "$rg",
                "resourceName": "$resource",
                "timeGrain": "auto",
                "timeGrains": [
                  {
                    "text": "auto",
                    "value": "auto"
                  },
                  {
                    "text": "1 minute",
                    "value": "PT1M"
                  },
                  {
                    "text": "5 minutes",
                    "value": "PT5M"
                  },
                  {
                    "text": "1 hour",
                    "value": "PT1H"
                  },
                  {
                    "text": "1 day",
                    "value": "P1D"
                  }
                ],
                "top": "10"
              },
              "queryType": "Azure Monitor",
              "refId": "A",
              "subscription": "$sub"
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeRegions": [],
          "timeShift": null,
          "title": "Normalized RU Consumption By PartitionKeyRangeID",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "percent",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ],
          "yaxis": {
            "align": false,
            "alignLevel": null
          }
        },
        {
          "datasource": "${ds}",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "thresholds"
              },
              "custom": {},
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": []
              }
            },
            "overrides": []
          },
          "gridPos": {
            "h": 6,
            "w": 24,
            "x": 0,
            "y": 10
          },
          "id": 25,
          "options": {
            "colorMode": "value",
            "graphMode": "area",
            "justifyMode": "auto",
            "orientation": "auto",
            "reduceOptions": {
              "calcs": [
                "lastNotNull"
              ],
              "fields": "",
              "values": false
            },
            "text": {},
            "textMode": "auto"
          },
          "targets": [
            {
              "azureMonitor": {
                "aggOptions": [
                  "Maximum"
                ],
                "aggregation": "Maximum",
                "allowedTimeGrainsMs": [
                  300000
                ],
                "dimensionFilter": "*",
                "dimensionFilters": [
                  {
                    "dimension": "CollectionName",
                    "filter": "",
                    "operator": "eq"
                  }
                ],
                "dimensions": [
                  {
                    "text": "DatabaseName",
                    "value": "DatabaseName"
                  },
                  {
                    "text": "CollectionName",
                    "value": "CollectionName"
                  }
                ],
                "metricDefinition": "$ns",
                "metricName": "ProvisionedThroughput",
                "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
                "resourceGroup": "$rg",
                "resourceName": "$resource",
                "timeGrain": "auto",
                "timeGrains": [
                  {
                    "text": "auto",
                    "value": "auto"
                  },
                  {
                    "text": "5 minutes",
                    "value": "PT5M"
                  }
                ],
                "top": ""
              },
              "queryType": "Azure Monitor",
              "refId": "A",
              "subscription": "$sub"
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Provisioned Throughput (Max) by Collection",
          "type": "stat"
        }
      ],
      "title": "Throughput",
      "type": "row"
    },
    {
      "collapsed": true,
      "datasource": "${ds}",
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 2
      },
      "id": 27,
      "panels": [
        {
          "aliasColors": {},
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": "${ds}",
          "fieldConfig": {
            "defaults": {
              "custom": {}
            },
            "overrides": []
          },
          "fill": 1,
          "fillGradient": 0,
          "gridPos": {
            "h": 8,
            "w": 12,
            "x": 0,
            "y": 3
          },
          "hiddenSeries": false,
          "id": 28,
          "legend": {
            "avg": false,
            "current": false,
            "max": false,
            "min": false,
            "show": true,
            "total": true,
            "values": true
          },
          "lines": true,
          "linewidth": 1,
          "nullPointMode": "null",
          "options": {
            "alertThreshold": true
          },
          "percentage": false,
          "pointradius": 2,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [],
          "spaceLength": 10,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "azureMonitor": {
                "aggOptions": [
                  "Count"
                ],
                "aggregation": "Count",
                "allowedTimeGrainsMs": [
                  60000,
                  300000,
                  900000,
                  1800000,
                  3600000,
                  21600000,
                  43200000,
                  86400000
                ],
                "dimensionFilter": "*",
                "dimensionFilters": [
                  {
                    "dimension": "StatusCode",
                    "filter": "",
                    "operator": "eq"
                  }
                ],
                "dimensions": [
                  {
                    "text": "DatabaseName",
                    "value": "DatabaseName"
                  },
                  {
                    "text": "CollectionName",
                    "value": "CollectionName"
                  },
                  {
                    "text": "Region",
                    "value": "Region"
                  },
                  {
                    "text": "StatusCode",
                    "value": "StatusCode"
                  },
                  {
                    "text": "OperationType",
                    "value": "OperationType"
                  },
                  {
                    "text": "Status",
                    "value": "Status"
                  }
                ],
                "metricDefinition": "$ns",
                "metricName": "TotalRequests",
                "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
                "resourceGroup": "$rg",
                "resourceName": "$resource",
                "timeGrain": "auto",
                "timeGrains": [
                  {
                    "text": "auto",
                    "value": "auto"
                  },
                  {
                    "text": "1 minute",
                    "value": "PT1M"
                  },
                  {
                    "text": "5 minutes",
                    "value": "PT5M"
                  },
                  {
                    "text": "15 minutes",
                    "value": "PT15M"
                  },
                  {
                    "text": "30 minutes",
                    "value": "PT30M"
                  },
                  {
                    "text": "1 hour",
                    "value": "PT1H"
                  },
                  {
                    "text": "6 hours",
                    "value": "PT6H"
                  },
                  {
                    "text": "12 hours",
                    "value": "PT12H"
                  },
                  {
                    "text": "1 day",
                    "value": "P1D"
                  }
                ],
                "top": "10"
              },
              "queryType": "Azure Monitor",
              "refId": "A",
              "subscription": "$sub"
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeRegions": [],
          "timeShift": null,
          "title": "Total Requests by Status Code",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ],
          "yaxis": {
            "align": false,
            "alignLevel": null
          }
        },
        {
          "aliasColors": {},
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": "${ds}",
          "fieldConfig": {
            "defaults": {
              "custom": {}
            },
            "overrides": []
          },
          "fill": 1,
          "fillGradient": 0,
          "gridPos": {
            "h": 8,
            "w": 12,
            "x": 12,
            "y": 3
          },
          "hiddenSeries": false,
          "id": 29,
          "legend": {
            "avg": false,
            "current": false,
            "max": false,
            "min": false,
            "show": true,
            "total": true,
            "values": true
          },
          "lines": true,
          "linewidth": 1,
          "nullPointMode": "null",
          "options": {
            "alertThreshold": true
          },
          "percentage": false,
          "pointradius": 2,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [],
          "spaceLength": 10,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "azureMonitor": {
                "aggOptions": [
                  "Count"
                ],
                "aggregation": "Count",
                "allowedTimeGrainsMs": [
                  60000,
                  300000,
                  900000,
                  1800000,
                  3600000,
                  21600000,
                  43200000,
                  86400000
                ],
                "dimensionFilter": "*",
                "dimensionFilters": [
                  {
                    "dimension": "StatusCode",
                    "filter": "429",
                    "operator": "eq"
                  }
                ],
                "dimensions": [
                  {
                    "text": "DatabaseName",
                    "value": "DatabaseName"
                  },
                  {
                    "text": "CollectionName",
                    "value": "CollectionName"
                  },
                  {
                    "text": "Region",
                    "value": "Region"
                  },
                  {
                    "text": "StatusCode",
                    "value": "StatusCode"
                  },
                  {
                    "text": "OperationType",
                    "value": "OperationType"
                  },
                  {
                    "text": "Status",
                    "value": "Status"
                  }
                ],
                "metricDefinition": "$ns",
                "metricName": "TotalRequests",
                "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
                "resourceGroup": "$rg",
                "resourceName": "$resource",
                "timeGrain": "auto",
                "timeGrains": [
                  {
                    "text": "auto",
                    "value": "auto"
                  },
                  {
                    "text": "1 minute",
                    "value": "PT1M"
                  },
                  {
                    "text": "5 minutes",
                    "value": "PT5M"
                  },
                  {
                    "text": "15 minutes",
                    "value": "PT15M"
                  },
                  {
                    "text": "30 minutes",
                    "value": "PT30M"
                  },
                  {
                    "text": "1 hour",
                    "value": "PT1H"
                  },
                  {
                    "text": "6 hours",
                    "value": "PT6H"
                  },
                  {
                    "text": "12 hours",
                    "value": "PT12H"
                  },
                  {
                    "text": "1 day",
                    "value": "P1D"
                  }
                ],
                "top": "10"
              },
              "queryType": "Azure Monitor",
              "refId": "A",
              "subscription": "$sub"
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeRegions": [],
          "timeShift": null,
          "title": "Throttled Requests (429)",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ],
          "yaxis": {
            "align": false,
            "alignLevel": null
          }
        },
        {
          "aliasColors": {},
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": "${ds}",
          "fieldConfig": {
            "defaults": {
              "custom": {}
            },
            "overrides": []
          },
          "fill": 1,
          "fillGradient": 0,
          "gridPos": {
            "h": 8,
            "w": 24,
            "x": 0,
            "y": 11
          },
          "hiddenSeries": false,
          "id": 30,
          "legend": {
            "avg": false,
            "current": false,
            "max": false,
            "min": false,
            "show": true,
            "total": true,
            "values": true
          },
          "lines": true,
          "linewidth": 1,
          "nullPointMode": "null",
          "options": {
            "alertThreshold": true
          },
          "percentage": false,
          "pointradius": 2,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [],
          "spaceLength": 10,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "azureMonitor": {
                "aggOptions": [
                  "Count"
                ],
                "aggregation": "Count",
                "allowedTimeGrainsMs": [
                  60000,
                  300000,
                  900000,
                  1800000,
                  3600000,
                  21600000,
                  43200000,
                  86400000
                ],
                "dimensionFilter": "*",
                "dimensionFilters": [
                  {
                    "dimension": "OperationType",
                    "filter": "",
                    "operator": "eq"
                  }
                ],
                "dimensions": [
                  {
                    "text": "DatabaseName",
                    "value": "DatabaseName"
                  },
                  {
                    "text": "CollectionName",
                    "value": "CollectionName"
                  },
                  {
                    "text": "Region",
                    "value": "Region"
                  },
                  {
                    "text": "StatusCode",
                    "value": "StatusCode"
                  },
                  {
                    "text": "OperationType",
                    "value": "OperationType"
                  },
                  {
                    "text": "Status",
                    "value": "Status"
                  }
                ],
                "metricDefinition": "$ns",
                "metricName": "TotalRequests",
                "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
                "resourceGroup": "$rg",
                "resourceName": "$resource",
                "timeGrain": "auto",
                "timeGrains": [
                  {
                    "text": "auto",
                    "value": "auto"
                  },
                  {
                    "text": "1 minute",
                    "value": "PT1M"
                  },
                  {
                    "text": "5 minutes",
                    "value": "PT5M"
                  },
                  {
                    "text": "15 minutes",
                    "value": "PT15M"
                  },
                  {
                    "text": "30 minutes",
                    "value": "PT30M"
                  },
                  {
                    "text": "1 hour",
                    "value": "PT1H"
                  },
                  {
                    "text": "6 hours",
                    "value": "PT6H"
                  },
                  {
                    "text": "12 hours",
                    "value": "PT12H"
                  },
                  {
                    "text": "1 day",
                    "value": "P1D"
                  }
                ],
                "top": "10"
              },
              "queryType": "Azure Monitor",
              "refId": "A",
              "subscription": "$sub"
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeRegions": [],
          "timeShift": null,
          "title": "Total Requests by Operation Type",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ],
          "yaxis": {
            "align": false,
            "alignLevel": null
          }
        }
      ],
      "title": "Requests",
      "type": "row"
    },
    {
      "collapsed": true,
      "datasource": "${ds}",
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 3
      },
      "id": 32,
      "panels": [
        {
          "aliasColors": {},
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": "${ds}",
          "fieldConfig": {
            "defaults": {
              "custom": {}
            },
            "overrides": []
          },
          "fill": 1,
          "fillGradient": 0,
          "gridPos": {
            "h": 8,
            "w": 12,
            "x": 0,
            "y": 4
          },
          "hiddenSeries": false,
          "id": 33,
          "legend": {
            "avg": true,
            "current": false,
            "max": false,
            "min": false,
            "show": true,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 1,
          "nullPointMode": "null",
          "options": {
            "alertThreshold": true
          },
          "percentage": false,
          "pointradius": 2,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [],
          "spaceLength": 10,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "azureMonitor": {
                "aggOptions": [
                  "Total",
                  "Average"
                ],
                "aggregation": "Average",
                "allowedTimeGrainsMs": [
                  300000
                ],
                "dimensionFilter": "*",
                "dimensionFilters": [
                  {
                    "dimension": null,
                    "filter": "",
                    "operator": "eq"
                  }
                ],
                "dimensions": [
                  {
                    "text": "CollectionName",
                    "value": "CollectionName"
                  },
                  {
                    "text": "DatabaseName",
                    "value": "DatabaseName"
                  },
                  {
                    "text": "Region",
                    "value": "Region"
                  }
                ],
                "metricDefinition": "$ns",
                "metricName": "DataUsage",
                "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
                "resourceGroup": "$rg",
                "resourceName": "$resource",
                "timeGrain": "auto",
                "timeGrains": [
                  {
                    "text": "auto",
                    "value": "auto"
                  },
                  {
                    "text": "5 minutes",
                    "value": "PT5M"
                  }
                ],
                "top": "10"
              },
              "queryType": "Azure Monitor",
              "refId": "A",
              "subscription": "$sub"
            },
            {
              "azureMonitor": {
                "aggOptions": [
                  "Total",
                  "Average"
                ],
                "aggregation": "Average",
                "allowedTimeGrainsMs": [
                  300000
                ],
                "dimensionFilter": "*",
                "dimensionFilters": [
                  {
                    "dimension": null,
                    "filter": "",
                    "operator": "eq"
                  }
                ],
                "dimensions": [
                  {
                    "text": "CollectionName",
                    "value": "CollectionName"
                  },
                  {
                    "text": "DatabaseName",
                    "value": "DatabaseName"
                  },
                  {
                    "text": "Region",
                    "value": "Region"
                  }
                ],
                "metricDefinition": "$ns",
                "metricName": "IndexUsage",
                "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
                "resourceGroup": "$rg",
                "resourceName": "$resource",
                "timeGrain": "auto",
                "timeGrains": [
                  {
                    "text": "auto",
                    "value": "auto"
                  },
                  {
                    "text": "5 minutes",
                    "value": "PT5M"
                  }
                ],
                "top": "10"
              },
              "hide": false,
              "queryType": "Azure Monitor",
              "refId": "B",
              "subscription": "$sub"
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeRegions": [],
          "timeShift": null,
          "title": "Data & Index Usage",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "decbytes",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ],
          "yaxis": {
            "align": false,
            "alignLevel": null
          }
        },
        {
          "aliasColors": {},
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": "${ds}",
          "fieldConfig": {
            "defaults": {
              "custom": {}
            },
            "overrides": []
          },
          "fill": 1,
          "fillGradient": 0,
          "gridPos": {
            "h": 8,
            "w": 12,
            "x": 12,
            "y": 4
          },
          "hiddenSeries": false,
          "id": 34,
          "legend": {
            "avg": true,
            "current": false,
            "max": false,
            "min": false,
            "show": true,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 1,
          "nullPointMode": "null",
          "options": {
            "alertThreshold": true
          },
          "percentage": false,
          "pointradius": 2,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [],
          "spaceLength": 10,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "azureMonitor": {
                "aggOptions": [
                  "Total",
                  "Average"
                ],
                "aggregation": "Average",
                "allowedTimeGrainsMs": [
                  300000
                ],
                "dimensionFilter": "*",
                "dimensionFilters": [
                  {
                    "dimension": null,
                    "filter": "",
                    "operator": "eq"
                  }
                ],
                "dimensions": [
                  {
                    "text": "CollectionName",
                    "value": "CollectionName"
                  },
                  {
                    "text": "DatabaseName",
                    "value": "DatabaseName"
                  },
                  {
                    "text": "Region",
                    "value": "Region"
                  }
                ],
                "metricDefinition": "$ns",
                "metricName": "DocumentCount",
                "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
                "resourceGroup": "$rg",
                "resourceName": "$resource",
                "timeGrain": "auto",
                "timeGrains": [
                  {
                    "text": "auto",
                    "value": "auto"
                  },
                  {
                    "text": "5 minutes",
                    "value": "PT5M"
                  }
                ],
                "top": "10"
              },
              "queryType": "Azure Monitor",
              "refId": "A",
              "subscription": "$sub"
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeRegions": [],
          "timeShift": null,
          "title": "Document Count",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ],
          "yaxis": {
            "align": false,
            "alignLevel": null
          }
        },
        {
          "datasource": "${ds}",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "thresholds"
              },
              "custom": {},
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              }
            },
            "overrides": []
          },
          "gridPos": {
            "h": 15,
            "w": 24,
            "x": 0,
            "y": 12
          },
          "id": 36,
          "options": {
            "colorMode": "value",
            "graphMode": "area",
            "justifyMode": "auto",
            "orientation": "auto",
            "reduceOptions": {
              "calcs": [
                "lastNotNull"
              ],
              "fields": "",
              "values": false
            },
            "text": {},
            "textMode": "auto"
          },
          "targets": [
            {
              "azureMonitor": {
                "aggOptions": [
                  "Total",
                  "Average"
                ],
                "aggregation": "Average",
                "allowedTimeGrainsMs": [
                  300000
                ],
                "dimensionFilter": "*",
                "dimensionFilters": [
                  {
                    "dimension": "CollectionName",
                    "filter": "",
                    "operator": "eq"
                  }
                ],
                "dimensions": [
                  {
                    "text": "CollectionName",
                    "value": "CollectionName"
                  },
                  {
                    "text": "DatabaseName",
                    "value": "DatabaseName"
                  },
                  {
                    "text": "Region",
                    "value": "Region"
                  }
                ],
                "metricDefinition": "$ns",
                "metricName": "DataUsage",
                "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
                "resourceGroup": "$rg",
                "resourceName": "$resource",
                "timeGrain": "auto",
                "timeGrains": [
                  {
                    "text": "auto",
                    "value": "auto"
                  },
                  {
                    "text": "5 minutes",
                    "value": "PT5M"
                  }
                ],
                "top": "10"
              },
              "queryType": "Azure Monitor",
              "refId": "A",
              "subscription": "$sub"
            },
            {
              "azureMonitor": {
                "aggOptions": [
                  "Total",
                  "Average"
                ],
                "aggregation": "Total",
                "allowedTimeGrainsMs": [
                  300000
                ],
                "dimensionFilter": "*",
                "dimensionFilters": [
                  {
                    "dimension": "CollectionName",
                    "filter": "",
                    "operator": "eq"
                  }
                ],
                "dimensions": [
                  {
                    "text": "CollectionName",
                    "value": "CollectionName"
                  },
                  {
                    "text": "DatabaseName",
                    "value": "DatabaseName"
                  },
                  {
                    "text": "Region",
                    "value": "Region"
                  }
                ],
                "metricDefinition": "$ns",
                "metricName": "IndexUsage",
                "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
                "resourceGroup": "$rg",
                "resourceName": "$resource",
                "timeGrain": "auto",
                "timeGrains": [
                  {
                    "text": "auto",
                    "value": "auto"
                  },
                  {
                    "text": "5 minutes",
                    "value": "PT5M"
                  }
                ],
                "top": "10"
              },
              "hide": false,
              "queryType": "Azure Monitor",
              "refId": "B",
              "subscription": "$sub"
            },
            {
              "azureMonitor": {
                "aggOptions": [
                  "Total",
                  "Average"
                ],
                "aggregation": "Average",
                "allowedTimeGrainsMs": [
                  300000
                ],
                "dimensionFilter": "*",
                "dimensionFilters": [
                  {
                    "dimension": "CollectionName",
                    "filter": "",
                    "operator": "eq"
                  }
                ],
                "dimensions": [
                  {
                    "text": "CollectionName",
                    "value": "CollectionName"
                  },
                  {
                    "text": "DatabaseName",
                    "value": "DatabaseName"
                  },
                  {
                    "text": "Region",
                    "value": "Region"
                  }
                ],
                "metricDefinition": "$ns",
                "metricName": "DocumentCount",
                "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
                "resourceGroup": "$rg",
                "resourceName": "$resource",
                "timeGrain": "auto",
                "timeGrains": [
                  {
                    "text": "auto",
                    "value": "auto"
                  },
                  {
                    "text": "5 minutes",
                    "value": "PT5M"
                  }
                ],
                "top": "10"
              },
              "hide": false,
              "queryType": "Azure Monitor",
              "refId": "C",
              "subscription": "$sub"
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Data, Index & Document Usage",
          "type": "stat"
        }
      ],
      "title": "Storage",
      "type": "row"
    },
    {
      "collapsed": true,
      "datasource": "${ds}",
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 4
      },
      "id": 38,
      "panels": [
        {
          "aliasColors": {},
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": "${ds}",
          "fieldConfig": {
            "defaults": {
              "custom": {}
            },
            "overrides": []
          },
          "fill": 1,
          "fillGradient": 0,
          "gridPos": {
            "h": 8,
            "w": 12,
            "x": 0,
            "y": 5
          },
          "hiddenSeries": false,
          "id": 39,
          "legend": {
            "avg": true,
            "current": false,
            "max": false,
            "min": false,
            "show": true,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 1,
          "nullPointMode": "null",
          "options": {
            "alertThreshold": true
          },
          "percentage": false,
          "pointradius": 2,
          "points": false,
          "renderer": "flot",
          "scopedVars": {
            "sub": {
              "selected": true,
              "text": "RTD-Experimental - f7152080-b4e8-47ee-9c85-7f1d0e6b72dc",
              "value": "f7152080-b4e8-47ee-9c85-7f1d0e6b72dc"
            }
          },
          "seriesOverrides": [],
          "spaceLength": 10,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "azureMonitor": {
                "aggOptions": [
                  "Minimum",
                  "Average",
                  "Maximum"
                ],
                "aggregation": "Average",
                "allowedTimeGrainsMs": [
                  3600000
                ],
                "dimensionFilter": "*",
                "dimensionFilters": [
                  {
                    "dimension": null,
                    "filter": "",
                    "operator": "eq"
                  }
                ],
                "dimensions": [],
                "metricDefinition": "$ns",
                "metricName": "ServiceAvailability",
                "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
                "resourceGroup": "$rg",
                "resourceName": "$resource",
                "timeGrain": "auto",
                "timeGrains": [
                  {
                    "text": "auto",
                    "value": "auto"
                  },
                  {
                    "text": "1 hour",
                    "value": "PT1H"
                  }
                ],
                "top": "10"
              },
              "queryType": "Azure Monitor",
              "refId": "A",
              "subscription": "$sub"
            },
            {
              "azureMonitor": {
                "aggOptions": [
                  "Minimum",
                  "Average",
                  "Maximum"
                ],
                "aggregation": "Minimum",
                "allowedTimeGrainsMs": [
                  3600000
                ],
                "dimensionFilter": "*",
                "dimensionFilters": [
                  {
                    "dimension": null,
                    "filter": "",
                    "operator": "eq"
                  }
                ],
                "dimensions": [],
                "metricDefinition": "$ns",
                "metricName": "ServiceAvailability",
                "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
                "resourceGroup": "$rg",
                "resourceName": "$resource",
                "timeGrain": "auto",
                "timeGrains": [
                  {
                    "text": "auto",
                    "value": "auto"
                  },
                  {
                    "text": "1 hour",
                    "value": "PT1H"
                  }
                ],
                "top": "10"
              },
              "hide": false,
              "queryType": "Azure Monitor",
              "refId": "B",
              "subscription": "$sub"
            },
            {
              "azureMonitor": {
                "aggOptions": [
                  "Minimum",
                  "Average",
                  "Maximum"
                ],
                "aggregation": "Maximum",
                "allowedTimeGrainsMs": [
                  3600000
                ],
                "dimensionFilter": "*",
                "dimensionFilters": [
                  {
                    "dimension": null,
                    "filter": "",
                    "operator": "eq"
                  }
                ],
                "dimensions": [],
                "metricDefinition": "$ns",
                "metricName": "ServiceAvailability",
                "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
                "resourceGroup": "$rg",
                "resourceName": "$resource",
                "timeGrain": "auto",
                "timeGrains": [
                  {
                    "text": "auto",
                    "value": "auto"
                  },
                  {
                    "text": "1 hour",
                    "value": "PT1H"
                  }
                ],
                "top": "10"
              },
              "hide": false,
              "queryType": "Azure Monitor",
              "refId": "C",
              "subscription": "$sub"
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeRegions": [],
          "timeShift": null,
          "title": "Service Availability (min/max/avg in %)",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "percent",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ],
          "yaxis": {
            "align": false,
            "alignLevel": null
          }
        }
      ],
      "repeat": "sub",
      "title": "Availability",
      "type": "row"
    },
    {
      "collapsed": true,
      "datasource": "${ds}",
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 5
      },
      "id": 41,
      "panels": [
        {
          "aliasColors": {},
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": "${ds}",
          "fieldConfig": {
            "defaults": {
              "custom": {}
            },
            "overrides": []
          },
          "fill": 1,
          "fillGradient": 0,
          "gridPos": {
            "h": 8,
            "w": 12,
            "x": 0,
            "y": 6
          },
          "hiddenSeries": false,
          "id": 42,
          "legend": {
            "avg": true,
            "current": false,
            "max": false,
            "min": false,
            "show": true,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 1,
          "nullPointMode": "null",
          "options": {
            "alertThreshold": true
          },
          "percentage": false,
          "pointradius": 2,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [],
          "spaceLength": 10,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "azureMonitor": {
                "aggOptions": [
                  "Average"
                ],
                "aggregation": "Average",
                "allowedTimeGrainsMs": [
                  60000
                ],
                "dimensionFilter": "*",
                "dimensionFilters": [
                  {
                    "dimension": "Region",
                    "filter": "",
                    "operator": "eq"
                  }
                ],
                "dimensions": [
                  {
                    "text": "DatabaseName",
                    "value": "DatabaseName"
                  },
                  {
                    "text": "CollectionName",
                    "value": "CollectionName"
                  },
                  {
                    "text": "Region",
                    "value": "Region"
                  },
                  {
                    "text": "ConnectionMode",
                    "value": "ConnectionMode"
                  },
                  {
                    "text": "OperationType",
                    "value": "OperationType"
                  },
                  {
                    "text": "PublicAPIType",
                    "value": "PublicAPIType"
                  }
                ],
                "metricDefinition": "$ns",
                "metricName": "ServerSideLatency",
                "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
                "resourceGroup": "$rg",
                "resourceName": "$resource",
                "timeGrain": "auto",
                "timeGrains": [
                  {
                    "text": "auto",
                    "value": "auto"
                  },
                  {
                    "text": "1 minute",
                    "value": "PT1M"
                  }
                ],
                "top": "10"
              },
              "queryType": "Azure Monitor",
              "refId": "A",
              "subscription": "$sub"
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeRegions": [],
          "timeShift": null,
          "title": "Server Side Latency (Avg) By Region",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "ms",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ],
          "yaxis": {
            "align": false,
            "alignLevel": null
          }
        },
        {
          "aliasColors": {},
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": "${ds}",
          "fieldConfig": {
            "defaults": {
              "custom": {}
            },
            "overrides": []
          },
          "fill": 1,
          "fillGradient": 0,
          "gridPos": {
            "h": 8,
            "w": 12,
            "x": 12,
            "y": 6
          },
          "hiddenSeries": false,
          "id": 43,
          "legend": {
            "avg": true,
            "current": false,
            "max": false,
            "min": false,
            "show": true,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 1,
          "nullPointMode": "null",
          "options": {
            "alertThreshold": true
          },
          "percentage": false,
          "pointradius": 2,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [],
          "spaceLength": 10,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "azureMonitor": {
                "aggOptions": [
                  "Average"
                ],
                "aggregation": "Average",
                "allowedTimeGrainsMs": [
                  60000
                ],
                "dimensionFilter": "*",
                "dimensionFilters": [
                  {
                    "dimension": "OperationType",
                    "filter": "",
                    "operator": "eq"
                  }
                ],
                "dimensions": [
                  {
                    "text": "DatabaseName",
                    "value": "DatabaseName"
                  },
                  {
                    "text": "CollectionName",
                    "value": "CollectionName"
                  },
                  {
                    "text": "Region",
                    "value": "Region"
                  },
                  {
                    "text": "ConnectionMode",
                    "value": "ConnectionMode"
                  },
                  {
                    "text": "OperationType",
                    "value": "OperationType"
                  },
                  {
                    "text": "PublicAPIType",
                    "value": "PublicAPIType"
                  }
                ],
                "metricDefinition": "$ns",
                "metricName": "ServerSideLatency",
                "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
                "resourceGroup": "$rg",
                "resourceName": "$resource",
                "timeGrain": "auto",
                "timeGrains": [
                  {
                    "text": "auto",
                    "value": "auto"
                  },
                  {
                    "text": "1 minute",
                    "value": "PT1M"
                  }
                ],
                "top": "10"
              },
              "queryType": "Azure Monitor",
              "refId": "A",
              "subscription": "$sub"
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeRegions": [],
          "timeShift": null,
          "title": "Server Side Latency (Avg) By Operation",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "ms",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ],
          "yaxis": {
            "align": false,
            "alignLevel": null
          }
        }
      ],
      "title": "Latency",
      "type": "row"
    },
    {
      "collapsed": true,
      "datasource": "${ds}",
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 6
      },
      "id": 45,
      "panels": [
        {
          "aliasColors": {},
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": "${ds}",
          "fieldConfig": {
            "defaults": {
              "custom": {}
            },
            "overrides": []
          },
          "fill": 1,
          "fillGradient": 0,
          "gridPos": {
            "h": 8,
            "w": 12,
            "x": 0,
            "y": 7
          },
          "hiddenSeries": false,
          "id": 46,
          "legend": {
            "avg": true,
            "current": false,
            "max": false,
            "min": false,
            "show": true,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 1,
          "nullPointMode": "null",
          "options": {
            "alertThreshold": true
          },
          "percentage": false,
          "pointradius": 2,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [],
          "spaceLength": 10,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "azureMonitor": {
                "aggOptions": [
                  "Count"
                ],
                "aggregation": "Count",
                "allowedTimeGrainsMs": [
                  60000,
                  300000,
                  900000,
                  1800000,
                  3600000,
                  21600000,
                  43200000,
                  86400000
                ],
                "dimensionFilter": "*",
                "dimensionFilters": [
                  {
                    "dimension": "StatusCode",
                    "filter": "",
                    "operator": "eq"
                  }
                ],
                "dimensions": [
                  {
                    "text": "DatabaseName",
                    "value": "DatabaseName"
                  },
                  {
                    "text": "CollectionName",
                    "value": "CollectionName"
                  },
                  {
                    "text": "Region",
                    "value": "Region"
                  },
                  {
                    "text": "StatusCode",
                    "value": "StatusCode"
                  }
                ],
                "metricDefinition": "$ns",
                "metricName": "MetadataRequests",
                "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
                "resourceGroup": "$rg",
                "resourceName": "$resource",
                "timeGrain": "auto",
                "timeGrains": [
                  {
                    "text": "auto",
                    "value": "auto"
                  },
                  {
                    "text": "1 minute",
                    "value": "PT1M"
                  },
                  {
                    "text": "5 minutes",
                    "value": "PT5M"
                  },
                  {
                    "text": "15 minutes",
                    "value": "PT15M"
                  },
                  {
                    "text": "30 minutes",
                    "value": "PT30M"
                  },
                  {
                    "text": "1 hour",
                    "value": "PT1H"
                  },
                  {
                    "text": "6 hours",
                    "value": "PT6H"
                  },
                  {
                    "text": "12 hours",
                    "value": "PT12H"
                  },
                  {
                    "text": "1 day",
                    "value": "P1D"
                  }
                ],
                "top": "10"
              },
              "queryType": "Azure Monitor",
              "refId": "A",
              "subscription": "$sub"
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeRegions": [],
          "timeShift": null,
          "title": "Metadata Requests by Status Code",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ],
          "yaxis": {
            "align": false,
            "alignLevel": null
          }
        },
        {
          "aliasColors": {},
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": "${ds}",
          "fieldConfig": {
            "defaults": {
              "custom": {}
            },
            "overrides": []
          },
          "fill": 1,
          "fillGradient": 0,
          "gridPos": {
            "h": 8,
            "w": 12,
            "x": 12,
            "y": 7
          },
          "hiddenSeries": false,
          "id": 47,
          "legend": {
            "avg": true,
            "current": false,
            "max": false,
            "min": false,
            "show": true,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 1,
          "nullPointMode": "null",
          "options": {
            "alertThreshold": true
          },
          "percentage": false,
          "pointradius": 2,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [],
          "spaceLength": 10,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "azureMonitor": {
                "aggOptions": [
                  "Count"
                ],
                "aggregation": "Count",
                "allowedTimeGrainsMs": [
                  60000,
                  300000,
                  900000,
                  1800000,
                  3600000,
                  21600000,
                  43200000,
                  86400000
                ],
                "dimensionFilter": "*",
                "dimensionFilters": [
                  {
                    "dimension": "StatusCode",
                    "filter": "429",
                    "operator": "eq"
                  }
                ],
                "dimensions": [
                  {
                    "text": "DatabaseName",
                    "value": "DatabaseName"
                  },
                  {
                    "text": "CollectionName",
                    "value": "CollectionName"
                  },
                  {
                    "text": "Region",
                    "value": "Region"
                  },
                  {
                    "text": "StatusCode",
                    "value": "StatusCode"
                  }
                ],
                "metricDefinition": "$ns",
                "metricName": "MetadataRequests",
                "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
                "resourceGroup": "$rg",
                "resourceName": "$resource",
                "timeGrain": "auto",
                "timeGrains": [
                  {
                    "text": "auto",
                    "value": "auto"
                  },
                  {
                    "text": "1 minute",
                    "value": "PT1M"
                  },
                  {
                    "text": "5 minutes",
                    "value": "PT5M"
                  },
                  {
                    "text": "15 minutes",
                    "value": "PT15M"
                  },
                  {
                    "text": "30 minutes",
                    "value": "PT30M"
                  },
                  {
                    "text": "1 hour",
                    "value": "PT1H"
                  },
                  {
                    "text": "6 hours",
                    "value": "PT6H"
                  },
                  {
                    "text": "12 hours",
                    "value": "PT12H"
                  },
                  {
                    "text": "1 day",
                    "value": "P1D"
                  }
                ],
                "top": "10"
              },
              "queryType": "Azure Monitor",
              "refId": "A",
              "subscription": "$sub"
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeRegions": [],
          "timeShift": null,
          "title": "Metadata Requests That Exceeded Capacity (429s)",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ],
          "yaxis": {
            "align": false,
            "alignLevel": null
          }
        }
      ],
      "title": "System",
      "type": "row"
    },
    {
      "collapsed": true,
      "datasource": "${ds}",
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 7
      },
      "id": 49,
      "panels": [
        {
          "aliasColors": {},
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": "${ds}",
          "fieldConfig": {
            "defaults": {
              "custom": {}
            },
            "overrides": []
          },
          "fill": 1,
          "fillGradient": 0,
          "gridPos": {
            "h": 8,
            "w": 12,
            "x": 0,
            "y": 8
          },
          "hiddenSeries": false,
          "id": 50,
          "legend": {
            "avg": true,
            "current": false,
            "max": false,
            "min": false,
            "show": true,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 1,
          "nullPointMode": "null",
          "options": {
            "alertThreshold": true
          },
          "percentage": false,
          "pointradius": 2,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [],
          "spaceLength": 10,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "azureMonitor": {
                "aggOptions": [
                  "Count"
                ],
                "aggregation": "Count",
                "allowedTimeGrainsMs": [
                  300000
                ],
                "dimensionFilter": "*",
                "dimensionFilters": [
                  {
                    "dimension": null,
                    "filter": "",
                    "operator": "eq"
                  }
                ],
                "dimensions": [],
                "metricDefinition": "$ns",
                "metricName": "CreateAccount",
                "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
                "resourceGroup": "$rg",
                "resourceName": "$resource",
                "timeGrain": "auto",
                "timeGrains": [
                  {
                    "text": "auto",
                    "value": "auto"
                  },
                  {
                    "text": "5 minutes",
                    "value": "PT5M"
                  }
                ],
                "top": "10"
              },
              "queryType": "Azure Monitor",
              "refId": "A",
              "subscription": "$sub"
            },
            {
              "azureMonitor": {
                "aggOptions": [
                  "Count"
                ],
                "aggregation": "Count",
                "allowedTimeGrainsMs": [
                  300000
                ],
                "dimensionFilter": "*",
                "dimensionFilters": [
                  {
                    "dimension": null,
                    "filter": "",
                    "operator": "eq"
                  }
                ],
                "dimensions": [],
                "metricDefinition": "$ns",
                "metricName": "DeleteAccount",
                "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
                "resourceGroup": "$rg",
                "resourceName": "$resource",
                "timeGrain": "auto",
                "timeGrains": [
                  {
                    "text": "auto",
                    "value": "auto"
                  },
                  {
                    "text": "5 minutes",
                    "value": "PT5M"
                  }
                ],
                "top": "10"
              },
              "hide": false,
              "queryType": "Azure Monitor",
              "refId": "B",
              "subscription": "$sub"
            },
            {
              "azureMonitor": {
                "aggOptions": [
                  "Count"
                ],
                "aggregation": "Count",
                "allowedTimeGrainsMs": [
                  300000
                ],
                "dimensionFilter": "*",
                "dimensionFilters": [
                  {
                    "dimension": null,
                    "filter": "",
                    "operator": "eq"
                  }
                ],
                "dimensions": [
                  {
                    "text": "KeyType",
                    "value": "KeyType"
                  }
                ],
                "metricDefinition": "$ns",
                "metricName": "UpdateAccountKeys",
                "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
                "resourceGroup": "$rg",
                "resourceName": "$resource",
                "timeGrain": "auto",
                "timeGrains": [
                  {
                    "text": "auto",
                    "value": "auto"
                  },
                  {
                    "text": "5 minutes",
                    "value": "PT5M"
                  }
                ],
                "top": "10"
              },
              "hide": false,
              "queryType": "Azure Monitor",
              "refId": "C",
              "subscription": "$sub"
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeRegions": [],
          "timeShift": null,
          "title": "Cosmos DB Account Management (Creates, Deletes) and Account Key Updates",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ],
          "yaxis": {
            "align": false,
            "alignLevel": null
          }
        },
        {
          "aliasColors": {},
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": "${ds}",
          "fieldConfig": {
            "defaults": {
              "custom": {}
            },
            "overrides": []
          },
          "fill": 1,
          "fillGradient": 0,
          "gridPos": {
            "h": 8,
            "w": 12,
            "x": 12,
            "y": 8
          },
          "hiddenSeries": false,
          "id": 51,
          "legend": {
            "avg": true,
            "current": false,
            "max": false,
            "min": false,
            "show": true,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 1,
          "nullPointMode": "null",
          "options": {
            "alertThreshold": true
          },
          "percentage": false,
          "pointradius": 2,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [],
          "spaceLength": 10,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "azureMonitor": {
                "aggOptions": [
                  "Count"
                ],
                "aggregation": "Count",
                "allowedTimeGrainsMs": [
                  300000
                ],
                "dimensionFilter": "*",
                "dimensionFilters": [
                  {
                    "dimension": null,
                    "filter": "",
                    "operator": "eq"
                  }
                ],
                "dimensions": [
                  {
                    "text": "DiagnosticSettings Name",
                    "value": "DiagnosticSettingsName"
                  },
                  {
                    "text": "ResourceGroup Name",
                    "value": "ResourceGroupName"
                  }
                ],
                "metricDefinition": "$ns",
                "metricName": "UpdateDiagnosticsSettings",
                "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
                "resourceGroup": "$rg",
                "resourceName": "$resource",
                "timeGrain": "auto",
                "timeGrains": [
                  {
                    "text": "auto",
                    "value": "auto"
                  },
                  {
                    "text": "5 minutes",
                    "value": "PT5M"
                  }
                ],
                "top": "10"
              },
              "queryType": "Azure Monitor",
              "refId": "A",
              "subscription": "$sub"
            },
            {
              "azureMonitor": {
                "aggOptions": [
                  "Count"
                ],
                "aggregation": "Count",
                "allowedTimeGrainsMs": [
                  300000
                ],
                "dimensionFilter": "*",
                "dimensionFilters": [
                  {
                    "dimension": null,
                    "filter": "",
                    "operator": "eq"
                  }
                ],
                "dimensions": [],
                "metricDefinition": "$ns",
                "metricName": "UpdateAccountNetworkSettings",
                "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
                "resourceGroup": "$rg",
                "resourceName": "$resource",
                "timeGrain": "auto",
                "timeGrains": [
                  {
                    "text": "auto",
                    "value": "auto"
                  },
                  {
                    "text": "5 minutes",
                    "value": "PT5M"
                  }
                ],
                "top": "10"
              },
              "hide": false,
              "queryType": "Azure Monitor",
              "refId": "B",
              "subscription": "$sub"
            },
            {
              "azureMonitor": {
                "aggOptions": [
                  "Count"
                ],
                "aggregation": "Count",
                "allowedTimeGrainsMs": [
                  300000
                ],
                "dimensionFilter": "*",
                "dimensionFilters": [
                  {
                    "dimension": null,
                    "filter": "",
                    "operator": "eq"
                  }
                ],
                "dimensions": [],
                "metricDefinition": "$ns",
                "metricName": "UpdateAccountReplicationSettings",
                "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
                "resourceGroup": "$rg",
                "resourceName": "$resource",
                "timeGrain": "auto",
                "timeGrains": [
                  {
                    "text": "auto",
                    "value": "auto"
                  },
                  {
                    "text": "5 minutes",
                    "value": "PT5M"
                  }
                ],
                "top": "10"
              },
              "hide": false,
              "queryType": "Azure Monitor",
              "refId": "C",
              "subscription": "$sub"
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeRegions": [],
          "timeShift": null,
          "title": "Cosmos DB Account Diagnostic, Network and Replication Settings Updates",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ],
          "yaxis": {
            "align": false,
            "alignLevel": null
          }
        }
      ],
      "title": "Account Management",
      "type": "row"
    }
  ],
  "refresh": false,
  "schemaVersion": 27,
  "style": "dark",
  "tags": [],
  "templating": {
    "list": [
      {
        "current": {},
        "hide": 0,
        "includeAll": false,
        "label": "Datasource",
        "multi": false,
        "name": "ds",
        "options": [],
        "query": "grafana-azure-monitor-datasource",
        "queryValue": "",
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "type": "datasource"
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${ds}",
        "definition": "subscriptions()",
        "description": null,
        "error": null,
        "hide": 0,
        "includeAll": false,
        "label": "Subscription",
        "multi": false,
        "name": "sub",
        "options": [],
        "query": "subscriptions()",
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 5,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${ds}",
        "definition": "ResourceGroups($sub)",
        "description": null,
        "error": null,
        "hide": 0,
        "includeAll": false,
        "label": "Resource Group",
        "multi": false,
        "name": "rg",
        "options": [],
        "query": "ResourceGroups($sub)",
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 5,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": null,
        "current": {
          "selected": false,
          "text": "Microsoft.DocumentDb/databaseAccounts",
          "value": "Microsoft.DocumentDb/databaseAccounts"
        },
        "description": null,
        "error": null,
        "hide": 0,
        "includeAll": false,
        "label": "Namespace",
        "multi": false,
        "name": "ns",
        "options": [
          {
            "selected": true,
            "text": "Microsoft.DocumentDb/databaseAccounts",
            "value": "Microsoft.DocumentDb/databaseAccounts"
          }
        ],
        "query": "Microsoft.DocumentDb/databaseAccounts",
        "skipUrlSync": false,
        "type": "custom"
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${ds}",
        "definition": "ResourceNames($sub, $rg, $ns)",
        "description": null,
        "error": null,
        "hide": 0,
        "includeAll": false,
        "label": "Resource",
        "multi": false,
        "name": "resource",
        "options": [],
        "query": "ResourceNames($sub, $rg, $ns)",
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 5,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      }
    ]
  },
  "time": {
    "from": "now-6h",
    "to": "now"
  },
  "title": "Azure / Insights / Cosmos DB ",
  "uid": "INH9berMk",
  "version": 17,
  "description": "The dashboard provides insights of Azure Cosmos DB overview, throughput, requests, storage, availability latency, system and account management.",
  "gnetId": 14487
}