1384 lines
37 KiB
JSON
1384 lines
37 KiB
JSON
{
|
||
"__inputs": [],
|
||
"__elements": {},
|
||
"__requires": [
|
||
{
|
||
"type": "panel",
|
||
"id": "gauge",
|
||
"name": "Gauge",
|
||
"version": ""
|
||
},
|
||
{
|
||
"type": "grafana",
|
||
"id": "grafana",
|
||
"name": "Grafana",
|
||
"version": "9.4.10"
|
||
},
|
||
{
|
||
"type": "datasource",
|
||
"id": "grafana-azure-monitor-datasource",
|
||
"name": "Azure Monitor",
|
||
"version": "1.0.0"
|
||
},
|
||
{
|
||
"type": "panel",
|
||
"id": "graph",
|
||
"name": "Graph (old)",
|
||
"version": ""
|
||
},
|
||
{
|
||
"type": "panel",
|
||
"id": "stat",
|
||
"name": "Stat",
|
||
"version": ""
|
||
}
|
||
],
|
||
"annotations": {
|
||
"list": [
|
||
{
|
||
"builtIn": 1,
|
||
"datasource": {
|
||
"type": "datasource",
|
||
"uid": "grafana"
|
||
},
|
||
"enable": true,
|
||
"hide": true,
|
||
"iconColor": "rgba(0, 211, 255, 1)",
|
||
"name": "Annotations & Alerts",
|
||
"target": {
|
||
"limit": 100,
|
||
"matchAny": false,
|
||
"tags": [],
|
||
"type": "dashboard"
|
||
},
|
||
"type": "dashboard"
|
||
}
|
||
]
|
||
},
|
||
"description": "Use Azure Monitor to view relevante information of Database",
|
||
"editable": true,
|
||
"fiscalYearStartMonth": 0,
|
||
"gnetId": 16430,
|
||
"graphTooltip": 0,
|
||
"id": null,
|
||
"links": [],
|
||
"liveNow": false,
|
||
"panels": [
|
||
{
|
||
"collapsed": false,
|
||
"datasource": {
|
||
"type": "datasource",
|
||
"uid": "grafana"
|
||
},
|
||
"gridPos": {
|
||
"h": 1,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 0
|
||
},
|
||
"id": 9,
|
||
"panels": [],
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "datasource",
|
||
"uid": "grafana"
|
||
},
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "Microsoft Azure Database",
|
||
"type": "row"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"uid": "$Subscriptions"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "thresholds"
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green",
|
||
"value": null
|
||
},
|
||
{
|
||
"color": "red",
|
||
"value": 80
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 5,
|
||
"w": 4,
|
||
"x": 0,
|
||
"y": 1
|
||
},
|
||
"id": 43,
|
||
"links": [],
|
||
"maxDataPoints": 100,
|
||
"options": {
|
||
"colorMode": "value",
|
||
"graphMode": "area",
|
||
"justifyMode": "auto",
|
||
"orientation": "auto",
|
||
"reduceOptions": {
|
||
"calcs": [
|
||
"lastNotNull"
|
||
],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"text": {},
|
||
"textMode": "auto"
|
||
},
|
||
"pluginVersion": "9.4.10",
|
||
"targets": [
|
||
{
|
||
"appInsights": {
|
||
"dimension": [
|
||
"none"
|
||
],
|
||
"metricName": "select",
|
||
"rawQuery": false,
|
||
"rawQueryString": "",
|
||
"spliton": "",
|
||
"timeColumn": "timestamp",
|
||
"timeGrain": "auto",
|
||
"timeGrainType": "auto",
|
||
"yaxis": ""
|
||
},
|
||
"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 chart’s 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": "2694ae7f-cc15-44ee-0000-0735c89a9b56"
|
||
},
|
||
"azureMonitor": {
|
||
"aggOptions": [
|
||
"Average",
|
||
"Maximum",
|
||
"Minimum"
|
||
],
|
||
"aggregation": "Average",
|
||
"allowedTimeGrainsMs": [
|
||
60000,
|
||
300000,
|
||
900000,
|
||
1800000,
|
||
3600000,
|
||
21600000,
|
||
43200000,
|
||
86400000
|
||
],
|
||
"dimension": "",
|
||
"dimensionFilter": "*",
|
||
"dimensionFilters": [],
|
||
"dimensions": [],
|
||
"metricDefinition": "Microsoft.Sql/managedInstances",
|
||
"metricName": "virtual_core_count",
|
||
"metricNamespace": "microsoft.sql/managedinstances",
|
||
"resourceGroup": "$ResourceGroup",
|
||
"resourceName": "$ResourceName",
|
||
"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"
|
||
},
|
||
"datasource": {
|
||
"uid": "$Subscriptions"
|
||
},
|
||
"insightsAnalytics": {
|
||
"query": "",
|
||
"resultFormat": "time_series"
|
||
},
|
||
"queryType": "Azure Monitor",
|
||
"refId": "A",
|
||
"subscription": ""
|
||
}
|
||
],
|
||
"title": "Virtual core count",
|
||
"type": "stat"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"uid": "$Subscriptions"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "thresholds"
|
||
},
|
||
"decimals": 2,
|
||
"mappings": [
|
||
{
|
||
"options": {
|
||
"match": "null",
|
||
"result": {
|
||
"text": "N/A"
|
||
}
|
||
},
|
||
"type": "special"
|
||
}
|
||
],
|
||
"max": 100,
|
||
"min": 0,
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "#56A64B",
|
||
"value": null
|
||
},
|
||
{
|
||
"color": "rgba(237, 129, 40, 0.89)",
|
||
"value": 60
|
||
},
|
||
{
|
||
"color": "#d44a3a",
|
||
"value": 85
|
||
}
|
||
]
|
||
},
|
||
"unit": "percent"
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 5,
|
||
"w": 4,
|
||
"x": 4,
|
||
"y": 1
|
||
},
|
||
"id": 46,
|
||
"links": [],
|
||
"maxDataPoints": 100,
|
||
"options": {
|
||
"orientation": "horizontal",
|
||
"reduceOptions": {
|
||
"calcs": [
|
||
"range"
|
||
],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"showThresholdLabels": false,
|
||
"showThresholdMarkers": true
|
||
},
|
||
"pluginVersion": "9.4.10",
|
||
"targets": [
|
||
{
|
||
"appInsights": {
|
||
"dimension": [
|
||
"none"
|
||
],
|
||
"metricName": "select",
|
||
"rawQuery": false,
|
||
"rawQueryString": "",
|
||
"spliton": "",
|
||
"timeColumn": "timestamp",
|
||
"timeGrain": "auto",
|
||
"timeGrainType": "auto",
|
||
"yaxis": ""
|
||
},
|
||
"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 chart’s 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": "28e9b35c-b075-438f-0000-e2122192d28d"
|
||
},
|
||
"azureMonitor": {
|
||
"aggOptions": [
|
||
"Average",
|
||
"Maximum",
|
||
"Minimum"
|
||
],
|
||
"aggregation": "Average",
|
||
"allowedTimeGrainsMs": [
|
||
60000,
|
||
300000,
|
||
900000,
|
||
1800000,
|
||
3600000,
|
||
21600000,
|
||
43200000,
|
||
86400000
|
||
],
|
||
"dimension": "",
|
||
"dimensionFilter": "*",
|
||
"dimensionFilters": [],
|
||
"dimensions": [],
|
||
"metricDefinition": "Microsoft.Sql/managedInstances",
|
||
"metricName": "avg_cpu_percent",
|
||
"metricNamespace": "microsoft.sql/managedinstances",
|
||
"resourceGroup": "$ResourceGroup",
|
||
"resourceName": "$ResourceName",
|
||
"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"
|
||
},
|
||
"datasource": {
|
||
"uid": "$Subscriptions"
|
||
},
|
||
"insightsAnalytics": {
|
||
"query": "",
|
||
"resultFormat": "time_series"
|
||
},
|
||
"queryType": "Azure Monitor",
|
||
"refId": "A",
|
||
"subscription": ""
|
||
}
|
||
],
|
||
"title": "Average CPU percentage",
|
||
"type": "gauge"
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"uid": "$Subscriptions"
|
||
},
|
||
"fill": 1,
|
||
"fillGradient": 0,
|
||
"gridPos": {
|
||
"h": 5,
|
||
"w": 8,
|
||
"x": 8,
|
||
"y": 1
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 47,
|
||
"legend": {
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"show": true,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [],
|
||
"maxDataPoints": 100,
|
||
"nullPointMode": "null",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "9.4.10",
|
||
"pointradius": 2,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"appInsights": {
|
||
"dimension": [
|
||
"none"
|
||
],
|
||
"metricName": "select",
|
||
"rawQuery": false,
|
||
"rawQueryString": "",
|
||
"spliton": "",
|
||
"timeColumn": "timestamp",
|
||
"timeGrain": "auto",
|
||
"timeGrainType": "auto",
|
||
"yaxis": ""
|
||
},
|
||
"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 chart’s 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": "28e9b35c-b075-438f-0000-e2122192d28d"
|
||
},
|
||
"azureMonitor": {
|
||
"aggOptions": [
|
||
"Average",
|
||
"Maximum",
|
||
"Minimum"
|
||
],
|
||
"aggregation": "Average",
|
||
"allowedTimeGrainsMs": [
|
||
60000,
|
||
300000,
|
||
900000,
|
||
1800000,
|
||
3600000,
|
||
21600000,
|
||
43200000,
|
||
86400000
|
||
],
|
||
"dimension": "",
|
||
"dimensionFilter": "*",
|
||
"dimensionFilters": [],
|
||
"dimensions": [],
|
||
"metricDefinition": "$Namespaces",
|
||
"metricName": "reserved_storage_mb",
|
||
"metricNamespace": "microsoft.sql/managedinstances",
|
||
"resourceGroup": "$ResourceGroup",
|
||
"resourceName": "$ResourceName",
|
||
"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"
|
||
},
|
||
"datasource": {
|
||
"uid": "$Subscriptions"
|
||
},
|
||
"insightsAnalytics": {
|
||
"query": "",
|
||
"resultFormat": "time_series"
|
||
},
|
||
"queryType": "Azure Monitor",
|
||
"refId": "A",
|
||
"subscription": ""
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "Storage space reserved",
|
||
"tooltip": {
|
||
"shared": true,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"uid": "$Subscriptions"
|
||
},
|
||
"fill": 1,
|
||
"fillGradient": 0,
|
||
"gridPos": {
|
||
"h": 5,
|
||
"w": 8,
|
||
"x": 16,
|
||
"y": 1
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 48,
|
||
"legend": {
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"show": true,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [],
|
||
"maxDataPoints": 100,
|
||
"nullPointMode": "null",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "9.4.10",
|
||
"pointradius": 2,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"appInsights": {
|
||
"dimension": [
|
||
"none"
|
||
],
|
||
"metricName": "select",
|
||
"rawQuery": false,
|
||
"rawQueryString": "",
|
||
"spliton": "",
|
||
"timeColumn": "timestamp",
|
||
"timeGrain": "auto",
|
||
"timeGrainType": "auto",
|
||
"yaxis": ""
|
||
},
|
||
"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 chart’s 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": "28e9b35c-b075-438f-0000-e2122192d28d"
|
||
},
|
||
"azureMonitor": {
|
||
"aggOptions": [
|
||
"Average",
|
||
"Maximum",
|
||
"Minimum"
|
||
],
|
||
"aggregation": "Average",
|
||
"allowedTimeGrainsMs": [
|
||
60000,
|
||
300000,
|
||
900000,
|
||
1800000,
|
||
3600000,
|
||
21600000,
|
||
43200000,
|
||
86400000
|
||
],
|
||
"dimension": "",
|
||
"dimensionFilter": "*",
|
||
"dimensionFilters": [],
|
||
"dimensions": [],
|
||
"metricDefinition": "$Namespaces",
|
||
"metricName": "storage_space_used_mb",
|
||
"metricNamespace": "microsoft.sql/managedinstances",
|
||
"resourceGroup": "$ResourceGroup",
|
||
"resourceName": "$ResourceName",
|
||
"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"
|
||
},
|
||
"datasource": {
|
||
"uid": "$Subscriptions"
|
||
},
|
||
"insightsAnalytics": {
|
||
"query": "",
|
||
"resultFormat": "time_series"
|
||
},
|
||
"queryType": "Azure Monitor",
|
||
"refId": "A",
|
||
"subscription": ""
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "Storage space used",
|
||
"tooltip": {
|
||
"shared": true,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"uid": "$Subscriptions"
|
||
},
|
||
"fill": 1,
|
||
"fillGradient": 0,
|
||
"gridPos": {
|
||
"h": 8,
|
||
"w": 7,
|
||
"x": 0,
|
||
"y": 6
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 44,
|
||
"legend": {
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"show": true,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [],
|
||
"maxDataPoints": 100,
|
||
"nullPointMode": "null",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "9.4.10",
|
||
"pointradius": 2,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"appInsights": {
|
||
"dimension": [
|
||
"none"
|
||
],
|
||
"metricName": "select",
|
||
"rawQuery": false,
|
||
"rawQueryString": "",
|
||
"spliton": "",
|
||
"timeColumn": "timestamp",
|
||
"timeGrain": "auto",
|
||
"timeGrainType": "auto",
|
||
"yaxis": ""
|
||
},
|
||
"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 chart’s 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": "28e9b35c-b075-438f-0000-e2122192d28d"
|
||
},
|
||
"azureMonitor": {
|
||
"aggOptions": [
|
||
"Average",
|
||
"Maximum",
|
||
"Minimum"
|
||
],
|
||
"aggregation": "Average",
|
||
"allowedTimeGrainsMs": [
|
||
60000,
|
||
300000,
|
||
900000,
|
||
1800000,
|
||
3600000,
|
||
21600000,
|
||
43200000,
|
||
86400000
|
||
],
|
||
"dimensionFilter": "",
|
||
"dimensionFilters": [],
|
||
"dimensions": [],
|
||
"metricDefinition": "$Namespaces",
|
||
"metricName": "io_requests",
|
||
"metricNamespace": "microsoft.sql/managedinstances",
|
||
"resourceGroup": "$ResourceGroup",
|
||
"resourceName": "$ResourceName",
|
||
"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"
|
||
},
|
||
"datasource": {
|
||
"uid": "$Subscriptions"
|
||
},
|
||
"insightsAnalytics": {
|
||
"query": "",
|
||
"resultFormat": "time_series"
|
||
},
|
||
"queryType": "Azure Monitor",
|
||
"refId": "A",
|
||
"subscription": ""
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "IO requests count",
|
||
"tooltip": {
|
||
"shared": true,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"uid": "$Subscriptions"
|
||
},
|
||
"fill": 1,
|
||
"fillGradient": 0,
|
||
"gridPos": {
|
||
"h": 8,
|
||
"w": 9,
|
||
"x": 7,
|
||
"y": 6
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 45,
|
||
"legend": {
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"show": true,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [],
|
||
"maxDataPoints": 100,
|
||
"nullPointMode": "null",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "9.4.10",
|
||
"pointradius": 2,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"appInsights": {
|
||
"dimension": [
|
||
"none"
|
||
],
|
||
"metricName": "select",
|
||
"rawQuery": false,
|
||
"rawQueryString": "",
|
||
"spliton": "",
|
||
"timeColumn": "timestamp",
|
||
"timeGrain": "auto",
|
||
"timeGrainType": "auto",
|
||
"yaxis": ""
|
||
},
|
||
"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 chart’s 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": "28e9b35c-b075-438f-0000-e2122192d28d"
|
||
},
|
||
"azureMonitor": {
|
||
"aggOptions": [
|
||
"Average",
|
||
"Maximum",
|
||
"Minimum"
|
||
],
|
||
"aggregation": "Average",
|
||
"allowedTimeGrainsMs": [
|
||
60000,
|
||
300000,
|
||
900000,
|
||
1800000,
|
||
3600000,
|
||
21600000,
|
||
43200000,
|
||
86400000
|
||
],
|
||
"dimensionFilter": "",
|
||
"dimensionFilters": [],
|
||
"dimensions": [],
|
||
"metricDefinition": "$Namespaces",
|
||
"metricName": "io_bytes_read",
|
||
"metricNamespace": "microsoft.sql/managedinstances",
|
||
"resourceGroup": "$ResourceGroup",
|
||
"resourceName": "$ResourceName",
|
||
"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"
|
||
},
|
||
"datasource": {
|
||
"uid": "$Subscriptions"
|
||
},
|
||
"insightsAnalytics": {
|
||
"query": "",
|
||
"resultFormat": "time_series"
|
||
},
|
||
"queryType": "Azure Monitor",
|
||
"refId": "A",
|
||
"subscription": ""
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "IO bytes read",
|
||
"tooltip": {
|
||
"shared": true,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "decbytes",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"uid": "$Subscriptions"
|
||
},
|
||
"fill": 1,
|
||
"fillGradient": 0,
|
||
"gridPos": {
|
||
"h": 8,
|
||
"w": 8,
|
||
"x": 16,
|
||
"y": 6
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 42,
|
||
"legend": {
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"show": true,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [],
|
||
"maxDataPoints": 100,
|
||
"nullPointMode": "null",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "9.4.10",
|
||
"pointradius": 2,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"appInsights": {
|
||
"dimension": [
|
||
"none"
|
||
],
|
||
"metricName": "select",
|
||
"rawQuery": false,
|
||
"rawQueryString": "",
|
||
"spliton": "",
|
||
"timeColumn": "timestamp",
|
||
"timeGrain": "auto",
|
||
"timeGrainType": "auto",
|
||
"yaxis": ""
|
||
},
|
||
"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 chart’s 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": "28e9b35c-b075-438f-0000-e2122192d28d"
|
||
},
|
||
"azureMonitor": {
|
||
"aggOptions": [
|
||
"Average",
|
||
"Maximum",
|
||
"Minimum"
|
||
],
|
||
"aggregation": "Average",
|
||
"allowedTimeGrainsMs": [
|
||
60000,
|
||
300000,
|
||
900000,
|
||
1800000,
|
||
3600000,
|
||
21600000,
|
||
43200000,
|
||
86400000
|
||
],
|
||
"dimensionFilter": "",
|
||
"dimensionFilters": [],
|
||
"dimensions": [],
|
||
"metricDefinition": "$Namespaces",
|
||
"metricName": "io_bytes_written",
|
||
"metricNamespace": "microsoft.sql/managedinstances",
|
||
"resourceGroup": "$ResourceGroup",
|
||
"resourceName": "$ResourceName",
|
||
"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"
|
||
},
|
||
"datasource": {
|
||
"uid": "$Subscriptions"
|
||
},
|
||
"insightsAnalytics": {
|
||
"query": "",
|
||
"resultFormat": "time_series"
|
||
},
|
||
"queryType": "Azure Monitor",
|
||
"refId": "A",
|
||
"subscription": ""
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "IO bytes written",
|
||
"tooltip": {
|
||
"shared": true,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "decbytes",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
}
|
||
],
|
||
"refresh": "",
|
||
"revision": 1,
|
||
"schemaVersion": 38,
|
||
"style": "dark",
|
||
"tags": [],
|
||
"templating": {
|
||
"list": [
|
||
{
|
||
"current": {
|
||
"selected": false,
|
||
"text": "Azure Monitor",
|
||
"value": "Azure Monitor"
|
||
},
|
||
"hide": 0,
|
||
"includeAll": false,
|
||
"label": "Subscriptions",
|
||
"multi": false,
|
||
"name": "Subscriptions",
|
||
"options": [],
|
||
"query": "grafana-azure-monitor-datasource",
|
||
"refresh": 1,
|
||
"regex": "",
|
||
"skipUrlSync": false,
|
||
"type": "datasource"
|
||
},
|
||
{
|
||
"current": {},
|
||
"datasource": {
|
||
"type": "grafana-azure-monitor-datasource",
|
||
"uid": "$Subscriptions"
|
||
},
|
||
"definition": "ResourceGroups()",
|
||
"hide": 0,
|
||
"includeAll": false,
|
||
"label": "Resource Group",
|
||
"multi": false,
|
||
"name": "ResourceGroup",
|
||
"options": [],
|
||
"query": "ResourceGroups()",
|
||
"refresh": 1,
|
||
"regex": "",
|
||
"skipUrlSync": false,
|
||
"sort": 0,
|
||
"tagValuesQuery": "",
|
||
"tagsQuery": "",
|
||
"type": "query",
|
||
"useTags": false
|
||
},
|
||
{
|
||
"current": {},
|
||
"datasource": {
|
||
"type": "grafana-azure-monitor-datasource",
|
||
"uid": "$Subscriptions"
|
||
},
|
||
"definition": "ResourceNames($ResourceGroup,Microsoft.Sql/managedInstances)",
|
||
"hide": 0,
|
||
"includeAll": false,
|
||
"label": "ResourceName",
|
||
"multi": false,
|
||
"name": "ResourceName",
|
||
"options": [],
|
||
"query": "ResourceNames($ResourceGroup,Microsoft.Sql/managedInstances)",
|
||
"refresh": 2,
|
||
"regex": "",
|
||
"skipUrlSync": false,
|
||
"sort": 0,
|
||
"tagValuesQuery": "",
|
||
"tagsQuery": "",
|
||
"type": "query",
|
||
"useTags": false
|
||
}
|
||
]
|
||
},
|
||
"time": {
|
||
"from": "now-5m",
|
||
"to": "now"
|
||
},
|
||
"timepicker": {
|
||
"refresh_intervals": [
|
||
"5s",
|
||
"10s",
|
||
"30s",
|
||
"1m",
|
||
"5m",
|
||
"15m",
|
||
"30m",
|
||
"1h",
|
||
"2h",
|
||
"1d"
|
||
],
|
||
"time_options": [
|
||
"5m",
|
||
"15m",
|
||
"1h",
|
||
"6h",
|
||
"12h",
|
||
"24h",
|
||
"2d",
|
||
"7d",
|
||
"30d"
|
||
]
|
||
},
|
||
"timezone": "",
|
||
"title": "Microsoft Azure Monitor | SQL managed instances",
|
||
"uid": "HuNTgTjnancr",
|
||
"version": 1,
|
||
"weekStart": ""
|
||
} |