2025-04-01 10:38:02 +09:00

5020 lines
163 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"__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,
"gnetId": null,
"graphTooltip": 0,
"id": null,
"iteration": 1621378610748,
"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,
"pluginVersion": "7.4.3",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"appInsights": {
"dimension": [],
"metricName": "select",
"timeGrain": "auto"
},
"azureLogAnalytics": {
"query": "//change this example to create your own time series query\n<table name> //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full charts time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
"resultFormat": "time_series",
"workspace": "$ws"
},
"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"
},
"insightsAnalytics": {
"query": "",
"resultFormat": "time_series"
},
"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,
"pluginVersion": "7.4.3",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"appInsights": {
"dimension": [],
"metricName": "select",
"timeGrain": "auto"
},
"azureLogAnalytics": {
"query": "//change this example to create your own time series query\n<table name> //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full charts time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
"resultFormat": "time_series",
"workspace": "$ws"
},
"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": ""
},
"insightsAnalytics": {
"query": "",
"resultFormat": "time_series"
},
"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,
"pluginVersion": "7.4.3",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"appInsights": {
"dimension": [],
"metricName": "select",
"timeGrain": "auto"
},
"azureLogAnalytics": {
"query": "//change this example to create your own time series query\n<table name> //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full charts time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
"resultFormat": "time_series",
"workspace": "$ws"
},
"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": ""
},
"insightsAnalytics": {
"query": "",
"resultFormat": "time_series"
},
"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,
"pluginVersion": "7.4.3",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"appInsights": {
"dimension": [],
"metricName": "select",
"timeGrain": "auto"
},
"azureLogAnalytics": {
"query": "//change this example to create your own time series query\n<table name> //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full charts time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
"resultFormat": "time_series",
"workspace": "$ws"
},
"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,
"insightsAnalytics": {
"query": "",
"resultFormat": "time_series"
},
"queryType": "Azure Monitor",
"refId": "A",
"subscription": "$sub"
},
{
"appInsights": {
"dimension": [],
"metricName": "select",
"timeGrain": "auto"
},
"azureLogAnalytics": {
"query": "//change this example to create your own time series query\n<table name> //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full charts time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
"resultFormat": "time_series",
"workspace": "$ws"
},
"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,
"insightsAnalytics": {
"query": "",
"resultFormat": "time_series"
},
"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
},
"pluginVersion": "7.4.3",
"targets": [
{
"appInsights": {
"dimension": [],
"metricName": "select",
"timeGrain": "auto"
},
"azureLogAnalytics": {
"query": "//change this example to create your own time series query\n<table name> //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full charts time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
"resultFormat": "time_series",
"workspace": "$ws"
},
"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,
"insightsAnalytics": {
"query": "",
"resultFormat": "time_series"
},
"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
},
"pluginVersion": "7.4.3",
"targets": [
{
"appInsights": {
"dimension": [],
"metricName": "select",
"timeGrain": "auto"
},
"azureLogAnalytics": {
"query": "//change this example to create your own time series query\n<table name> //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full charts time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
"resultFormat": "time_series",
"workspace": "$ws"
},
"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,
"insightsAnalytics": {
"query": "",
"resultFormat": "time_series"
},
"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
},
"pluginVersion": "7.4.3",
"targets": [
{
"appInsights": {
"dimension": [],
"metricName": "select",
"timeGrain": "auto"
},
"azureLogAnalytics": {
"query": "//change this example to create your own time series query\n<table name> //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full charts time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
"resultFormat": "time_series",
"workspace": "$ws"
},
"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,
"insightsAnalytics": {
"query": "",
"resultFormat": "time_series"
},
"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
},
"pluginVersion": "7.4.3",
"targets": [
{
"appInsights": {
"dimension": [],
"metricName": "select",
"timeGrain": "auto"
},
"azureLogAnalytics": {
"query": "//change this example to create your own time series query\n<table name> //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full charts time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
"resultFormat": "time_series",
"workspace": "$ws"
},
"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,
"insightsAnalytics": {
"query": "",
"resultFormat": "time_series"
},
"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
},
"pluginVersion": "7.4.3",
"targets": [
{
"appInsights": {
"dimension": [],
"metricName": "select",
"timeGrain": "auto"
},
"azureLogAnalytics": {
"query": "//change this example to create your own time series query\n<table name> //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full charts time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
"resultFormat": "time_series",
"workspace": "$ws"
},
"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,
"insightsAnalytics": {
"query": "",
"resultFormat": "time_series"
},
"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
},
"pluginVersion": "7.4.3",
"targets": [
{
"appInsights": {
"dimension": [],
"metricName": "select",
"timeGrain": "auto"
},
"azureLogAnalytics": {
"query": "//change this example to create your own time series query\n<table name> //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full charts time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
"resultFormat": "time_series",
"workspace": "$ws"
},
"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,
"insightsAnalytics": {
"query": "",
"resultFormat": "time_series"
},
"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,
"pluginVersion": "7.4.3",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"appInsights": {
"dimension": [],
"metricName": "select",
"timeGrain": "auto"
},
"azureLogAnalytics": {
"query": "//change this example to create your own time series query\n<table name> //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full charts time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
"resultFormat": "time_series",
"workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
},
"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"
},
"insightsAnalytics": {
"query": "",
"resultFormat": "time_series"
},
"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,
"pluginVersion": "7.4.3",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"appInsights": {
"dimension": [],
"metricName": "select",
"timeGrain": "auto"
},
"azureLogAnalytics": {
"query": "//change this example to create your own time series query\n<table name> //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full charts time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
"resultFormat": "time_series",
"workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
},
"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"
},
"insightsAnalytics": {
"query": "",
"resultFormat": "time_series"
},
"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"
},
"pluginVersion": "7.4.3",
"targets": [
{
"appInsights": {
"dimension": [],
"metricName": "select",
"timeGrain": "auto"
},
"azureLogAnalytics": {
"query": "//change this example to create your own time series query\n<table name> //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full charts time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
"resultFormat": "time_series",
"workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
},
"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": ""
},
"insightsAnalytics": {
"query": "",
"resultFormat": "time_series"
},
"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,
"pluginVersion": "7.4.3",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"appInsights": {
"dimension": [],
"metricName": "select",
"timeGrain": "auto"
},
"azureLogAnalytics": {
"query": "//change this example to create your own time series query\n<table name> //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full charts time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
"resultFormat": "time_series",
"workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
},
"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"
},
"insightsAnalytics": {
"query": "",
"resultFormat": "time_series"
},
"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,
"pluginVersion": "7.4.3",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"appInsights": {
"dimension": [],
"metricName": "select",
"timeGrain": "auto"
},
"azureLogAnalytics": {
"query": "//change this example to create your own time series query\n<table name> //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full charts time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
"resultFormat": "time_series",
"workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
},
"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"
},
"insightsAnalytics": {
"query": "",
"resultFormat": "time_series"
},
"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,
"pluginVersion": "7.4.3",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"appInsights": {
"dimension": [],
"metricName": "select",
"timeGrain": "auto"
},
"azureLogAnalytics": {
"query": "//change this example to create your own time series query\n<table name> //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full charts time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
"resultFormat": "time_series",
"workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
},
"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"
},
"insightsAnalytics": {
"query": "",
"resultFormat": "time_series"
},
"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,
"pluginVersion": "7.4.3",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"appInsights": {
"dimension": [],
"metricName": "select",
"timeGrain": "auto"
},
"azureLogAnalytics": {
"query": "//change this example to create your own time series query\n<table name> //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full charts time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
"resultFormat": "time_series",
"workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
},
"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"
},
"insightsAnalytics": {
"query": "",
"resultFormat": "time_series"
},
"queryType": "Azure Monitor",
"refId": "A",
"subscription": "$sub"
},
{
"appInsights": {
"dimension": [],
"metricName": "select",
"timeGrain": "auto"
},
"azureLogAnalytics": {
"query": "//change this example to create your own time series query\n<table name> //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full charts time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
"resultFormat": "time_series",
"workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
},
"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,
"insightsAnalytics": {
"query": "",
"resultFormat": "time_series"
},
"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,
"pluginVersion": "7.4.3",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"appInsights": {
"dimension": [],
"metricName": "select",
"timeGrain": "auto"
},
"azureLogAnalytics": {
"query": "//change this example to create your own time series query\n<table name> //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full charts time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
"resultFormat": "time_series",
"workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
},
"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"
},
"insightsAnalytics": {
"query": "",
"resultFormat": "time_series"
},
"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"
},
"pluginVersion": "7.4.3",
"targets": [
{
"appInsights": {
"dimension": [],
"metricName": "select",
"timeGrain": "auto"
},
"azureLogAnalytics": {
"query": "//change this example to create your own time series query\n<table name> //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full charts time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
"resultFormat": "time_series",
"workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
},
"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"
},
"insightsAnalytics": {
"query": "",
"resultFormat": "time_series"
},
"queryType": "Azure Monitor",
"refId": "A",
"subscription": "$sub"
},
{
"appInsights": {
"dimension": [],
"metricName": "select",
"timeGrain": "auto"
},
"azureLogAnalytics": {
"query": "//change this example to create your own time series query\n<table name> //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full charts time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
"resultFormat": "time_series",
"workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
},
"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,
"insightsAnalytics": {
"query": "",
"resultFormat": "time_series"
},
"queryType": "Azure Monitor",
"refId": "B",
"subscription": "$sub"
},
{
"appInsights": {
"dimension": [],
"metricName": "select",
"timeGrain": "auto"
},
"azureLogAnalytics": {
"query": "//change this example to create your own time series query\n<table name> //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full charts time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
"resultFormat": "time_series",
"workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
},
"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,
"insightsAnalytics": {
"query": "",
"resultFormat": "time_series"
},
"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,
"pluginVersion": "7.4.3",
"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": [
{
"appInsights": {
"dimension": [],
"metricName": "select",
"timeGrain": "auto"
},
"azureLogAnalytics": {
"query": "//change this example to create your own time series query\n<table name> //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full charts time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
"resultFormat": "time_series",
"workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
},
"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"
},
"insightsAnalytics": {
"query": "",
"resultFormat": "time_series"
},
"queryType": "Azure Monitor",
"refId": "A",
"subscription": "$sub"
},
{
"appInsights": {
"dimension": [],
"metricName": "select",
"timeGrain": "auto"
},
"azureLogAnalytics": {
"query": "//change this example to create your own time series query\n<table name> //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full charts time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
"resultFormat": "time_series",
"workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
},
"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,
"insightsAnalytics": {
"query": "",
"resultFormat": "time_series"
},
"queryType": "Azure Monitor",
"refId": "B",
"subscription": "$sub"
},
{
"appInsights": {
"dimension": [],
"metricName": "select",
"timeGrain": "auto"
},
"azureLogAnalytics": {
"query": "//change this example to create your own time series query\n<table name> //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full charts time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
"resultFormat": "time_series",
"workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
},
"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,
"insightsAnalytics": {
"query": "",
"resultFormat": "time_series"
},
"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,
"pluginVersion": "7.4.3",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"appInsights": {
"dimension": [],
"metricName": "select",
"timeGrain": "auto"
},
"azureLogAnalytics": {
"query": "//change this example to create your own time series query\n<table name> //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full charts time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
"resultFormat": "time_series",
"workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
},
"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"
},
"insightsAnalytics": {
"query": "",
"resultFormat": "time_series"
},
"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,
"pluginVersion": "7.4.3",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"appInsights": {
"dimension": [],
"metricName": "select",
"timeGrain": "auto"
},
"azureLogAnalytics": {
"query": "//change this example to create your own time series query\n<table name> //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full charts time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
"resultFormat": "time_series",
"workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
},
"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"
},
"insightsAnalytics": {
"query": "",
"resultFormat": "time_series"
},
"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,
"pluginVersion": "7.4.3",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"appInsights": {
"dimension": [],
"metricName": "select",
"timeGrain": "auto"
},
"azureLogAnalytics": {
"query": "//change this example to create your own time series query\n<table name> //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full charts time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
"resultFormat": "time_series",
"workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
},
"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"
},
"insightsAnalytics": {
"query": "",
"resultFormat": "time_series"
},
"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,
"pluginVersion": "7.4.3",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"appInsights": {
"dimension": [],
"metricName": "select",
"timeGrain": "auto"
},
"azureLogAnalytics": {
"query": "//change this example to create your own time series query\n<table name> //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full charts time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
"resultFormat": "time_series",
"workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
},
"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"
},
"insightsAnalytics": {
"query": "",
"resultFormat": "time_series"
},
"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,
"pluginVersion": "7.4.3",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"appInsights": {
"dimension": [],
"metricName": "select",
"timeGrain": "auto"
},
"azureLogAnalytics": {
"query": "//change this example to create your own time series query\n<table name> //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full charts time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
"resultFormat": "time_series",
"workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
},
"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"
},
"insightsAnalytics": {
"query": "",
"resultFormat": "time_series"
},
"queryType": "Azure Monitor",
"refId": "A",
"subscription": "$sub"
},
{
"appInsights": {
"dimension": [],
"metricName": "select",
"timeGrain": "auto"
},
"azureLogAnalytics": {
"query": "//change this example to create your own time series query\n<table name> //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full charts time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
"resultFormat": "time_series",
"workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
},
"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,
"insightsAnalytics": {
"query": "",
"resultFormat": "time_series"
},
"queryType": "Azure Monitor",
"refId": "B",
"subscription": "$sub"
},
{
"appInsights": {
"dimension": [],
"metricName": "select",
"timeGrain": "auto"
},
"azureLogAnalytics": {
"query": "//change this example to create your own time series query\n<table name> //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full charts time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
"resultFormat": "time_series",
"workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
},
"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,
"insightsAnalytics": {
"query": "",
"resultFormat": "time_series"
},
"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,
"pluginVersion": "7.4.3",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"appInsights": {
"dimension": [],
"metricName": "select",
"timeGrain": "auto"
},
"azureLogAnalytics": {
"query": "//change this example to create your own time series query\n<table name> //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full charts time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
"resultFormat": "time_series",
"workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
},
"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"
},
"insightsAnalytics": {
"query": "",
"resultFormat": "time_series"
},
"queryType": "Azure Monitor",
"refId": "A",
"subscription": "$sub"
},
{
"appInsights": {
"dimension": [],
"metricName": "select",
"timeGrain": "auto"
},
"azureLogAnalytics": {
"query": "//change this example to create your own time series query\n<table name> //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full charts time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
"resultFormat": "time_series",
"workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
},
"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,
"insightsAnalytics": {
"query": "",
"resultFormat": "time_series"
},
"queryType": "Azure Monitor",
"refId": "B",
"subscription": "$sub"
},
{
"appInsights": {
"dimension": [],
"metricName": "select",
"timeGrain": "auto"
},
"azureLogAnalytics": {
"query": "//change this example to create your own time series query\n<table name> //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full charts time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
"resultFormat": "time_series",
"workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
},
"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,
"insightsAnalytics": {
"query": "",
"resultFormat": "time_series"
},
"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,
"tags": [],
"templating": {
"list": [
{
"current": {},
"description": null,
"error": null,
"hide": 0,
"includeAll": false,
"label": "Data Source",
"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": "",
"description": null,
"error": null,
"hide": 0,
"includeAll": false,
"label": "Resource Group",
"multi": false,
"name": "rg",
"options": [],
"query": {
"azureResourceGraph": {
"query": "resources\r\n| where [\"type\"] =~ \"Microsoft.DocumentDb/databaseAccounts\"\r\n| distinct resourceGroup"
},
"queryType": "Azure Resource Graph",
"refId": "A",
"subscriptions": ["$sub"]
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 5,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"current": {},
"datasource": {
"type": "grafana-azure-monitor-datasource",
"uid": "${ds}"
},
"definition": "",
"hide": 0,
"includeAll": false,
"label": "Namespace",
"multi": false,
"name": "ns",
"options": [],
"query": {
"azureResourceGraph": {
"query": "resources\r\n| where [\"type\"] =~ \"Microsoft.DocumentDb/databaseAccounts\"\r\n| distinct [\"type\"]"
},
"queryType": "Azure Resource Graph",
"refId": "A",
"subscriptions": ["$sub"]
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 5,
"type": "query"
},
{
"allValue": null,
"current": {},
"datasource": "$ds",
"definition": "",
"description": null,
"error": null,
"hide": 0,
"includeAll": false,
"label": null,
"multi": false,
"name": "resource",
"options": [],
"query": {
"namespace": "$ns",
"queryType": "Azure Resource Names",
"refId": "A",
"resourceGroup": "$rg",
"subscription": "$sub"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 5,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
}
]
},
"time": {
"from": "now-6h",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "Azure / Insights / Cosmos DB",
"uid": "INH9berMk",
"version": 17
}