3938 lines
111 KiB
JSON
3938 lines
111 KiB
JSON
{
|
||
"__inputs": [],
|
||
"__elements": {},
|
||
"__requires": [
|
||
{
|
||
"type": "panel",
|
||
"id": "bargauge",
|
||
"name": "Bar gauge",
|
||
"version": ""
|
||
},
|
||
{
|
||
"type": "grafana",
|
||
"id": "grafana",
|
||
"name": "Grafana",
|
||
"version": "10.4.1"
|
||
},
|
||
{
|
||
"type": "datasource",
|
||
"id": "grafana-azure-monitor-datasource",
|
||
"name": "Azure Monitor",
|
||
"version": "1.0.0"
|
||
},
|
||
{
|
||
"type": "datasource",
|
||
"id": "marcusolsson-json-datasource",
|
||
"name": "JSON API",
|
||
"version": "1.3.12"
|
||
},
|
||
{
|
||
"type": "panel",
|
||
"id": "stat",
|
||
"name": "Stat",
|
||
"version": ""
|
||
},
|
||
{
|
||
"type": "panel",
|
||
"id": "text",
|
||
"name": "Text",
|
||
"version": ""
|
||
}
|
||
],
|
||
"description": "This dashboard displays traffic-light indicators to show the health of your Azure infrastructure resources based on key performance indicators and thresholds defined for each infrastructure resource type. The KPIs and thresholds come from Azure Monitor Baseline Alerts (https://azure.github.io/azure-monitor-baseline-alerts/). \n\nPrerequisites:\nThe queries used in the dashboard require that you have resource metrics being sent to a Log Analytics Workspace. The AzureMetrics and AzureDiagnostics tables are required. This can be achieved through a resource’s diagnostic settings. For detailed instructions, refer to Azure Monitor Essentials: Diagnostic Settings: https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/diagnostic-settings#metrics\n\nInstallation and Configuration:\nThis dashboard requires the JSON API Grafana plugin and a configured data source for Azure Monitor Baseline Alerts. Follow these steps to install and configure the JSON API plugin:\n\n1. Navigate to Connections->Connect Data.\n2. Search for “JSON API” and then select the JSON API data source.\n3. Install the plugin if it is not already installed.\n4. On the JSON API plugin page, click “Create a JSON API data source\".\n5. On the create JSON API page, give it the name “AMBA” and for the URL, give it the value: https://raw.githubusercontent.com/Azure/azure-monitor-baseline-alerts/main/visualizations/grafana/infra-monitoring-amba-thresholds.json \n6. Click the Save & test button. You should see a green checkbox and Success message if configured correctly.\n\nThis is one of a collection of dashboards linked together via dashboard links and the \"azure-infra-monitor\" tag. Other dashboards in the collection include:\nAzure / Infrastructure / Network Monitoring\nAzure / Infrastructure / Storage and Key Vaults Monitoring\nAzure / Infrastructure / Compute Monitoring\nAzure / Infrastructure / Apps Monitoring\n\nThe other dashboards in this collection can be found in the Azure Monitor Team Grafana library here: https://grafana.com/orgs/azuremonitorteam/dashboards. Once imported, you will be able to access these dashboards using the Azure Infra Monitoring Dashboards tab. ",
|
||
"editable": true,
|
||
"id": null,
|
||
"links": [
|
||
{
|
||
"asDropdown": true,
|
||
"icon": "external link",
|
||
"includeVars": false,
|
||
"keepTime": false,
|
||
"tags": ["azure-infra-monitor"],
|
||
"targetBlank": false,
|
||
"title": "Azure Infra Monitoring Dashboards",
|
||
"tooltip": "",
|
||
"type": "dashboards",
|
||
"url": ""
|
||
}
|
||
],
|
||
"liveNow": true,
|
||
"panels": [
|
||
{
|
||
"datasource": {
|
||
"type": "datasource",
|
||
"uid": "grafana"
|
||
},
|
||
"gridPos": {
|
||
"h": 5,
|
||
"w": 12,
|
||
"x": 0,
|
||
"y": 0
|
||
},
|
||
"id": 1,
|
||
"options": {
|
||
"code": {
|
||
"language": "plaintext",
|
||
"showLineNumbers": false,
|
||
"showMiniMap": false
|
||
},
|
||
"content": "<p style=\"font-size:24px;color:rgb(87, 148, 242);\">Azure Infrastructure Monitoring Dashboard (Data)</p>\r\n\r\nSelect a data source, workspace scope, workspace(s) and resource scope. \r\nExamine the key performance indicators for your resources by expanding the row for a resource type. \r\nRecommended KPIs and thresholds used in this dashboard come from [Azure Monitor Baseline Alerts](https://azure.github.io/azure-monitor-baseline-alerts/). \r\nSee dashboard description for more details on linking to other Infrastructure Monitor dashboards.\r\n",
|
||
"mode": "markdown"
|
||
},
|
||
"transparent": true,
|
||
"type": "text"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "datasource",
|
||
"uid": "grafana"
|
||
},
|
||
"gridPos": {
|
||
"h": 5,
|
||
"w": 12,
|
||
"x": 12,
|
||
"y": 0
|
||
},
|
||
"id": 90,
|
||
"options": {
|
||
"code": {
|
||
"language": "plaintext",
|
||
"showLineNumbers": false,
|
||
"showMiniMap": false
|
||
},
|
||
"content": "<br>\r\n\r\nKey:\r\n- Green\\Healthy - None of the resources of that resource type have KPIs that are exceeding thresholds.\r\n- Yellow\\Warning - At least one resource of that resource type has one KPI exceeding a threshold.\r\n- Red\\Unhealthy - At least one resource of that resource type has two or more KPIs exceeding a threshold.",
|
||
"mode": "markdown"
|
||
},
|
||
"transparent": true,
|
||
"type": "text"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "grafana-azure-monitor-datasource",
|
||
"uid": "${ds}"
|
||
},
|
||
"description": "",
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "thresholds"
|
||
},
|
||
"links": [],
|
||
"mappings": [
|
||
{
|
||
"options": {
|
||
"0": {
|
||
"index": 0,
|
||
"text": "Healthy"
|
||
},
|
||
"1": {
|
||
"index": 1,
|
||
"text": "Warning"
|
||
}
|
||
},
|
||
"type": "value"
|
||
},
|
||
{
|
||
"options": {
|
||
"from": 2,
|
||
"result": {
|
||
"index": 2,
|
||
"text": "Unhealthy"
|
||
},
|
||
"to": 3
|
||
},
|
||
"type": "range"
|
||
}
|
||
],
|
||
"max": 3,
|
||
"min": 0,
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "#808080",
|
||
"value": null
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 3,
|
||
"w": 3,
|
||
"x": 0,
|
||
"y": 5
|
||
},
|
||
"id": 107,
|
||
"options": {
|
||
"colorMode": "background_solid",
|
||
"graphMode": "none",
|
||
"justifyMode": "auto",
|
||
"orientation": "auto",
|
||
"reduceOptions": {
|
||
"calcs": ["max"],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"showPercentChange": false,
|
||
"textMode": "auto",
|
||
"wideLayout": true
|
||
},
|
||
"targets": [
|
||
{
|
||
"azureLogAnalytics": {
|
||
"dashboardTime": true,
|
||
"query": "AzureMetrics\r\n| where _ResourceId has '/microsoft.documentdb/databaseaccounts/'\r\n| where SubscriptionId has_any ($subsRESScope)\r\n| where MetricName in('ServerSideLatency', 'ReplicationLatency', 'ServiceAvailability', 'OfflineRegion' )\r\n| summarize\r\n kpi1 = avgif(Average, MetricName == 'ServerSideLatency'),\r\n kpi2 = avgif(Average, MetricName == 'ReplicationLatency'),\r\n kpi3 = avgif(Average, MetricName == 'ServiceAvailability'),\r\n kpi4 = avgif(Count, MetricName == 'OfflineRegion') by _ResourceId, Resource\r\n|extend kpi1 = iff(isnan(kpi1), 0.0, kpi1)\r\n|extend kpi2 = iff(isnan(kpi2), 0.0, kpi2) \r\n|extend kpi3 = iff(isnan(kpi3), 0.0, kpi3) \r\n|extend kpi4 = iff(isnan(kpi4), 0.0, kpi4)\r\n|extend health1 = iff(kpi1>$amba_cosmosDB_ServerSideLatency, 1, 0)\r\n|extend health2 = iff(kpi2>$amba_cosmosDB_ReplicationLatency, 1, 0)\r\n|extend health3 = iff(kpi3<$amba_cosmosDB_ServiceAvailability, 1, 0)\r\n|extend health4 = iff(kpi4>$amba_cosmosDB_OfflineRegion, 1, 0)\r\n|extend h1color = iff(tobool(health1), $unhealthy_color, $healthy_color)\r\n|extend h2color = iff(tobool(health2), $unhealthy_color, $healthy_color)\r\n|extend h3color = iff(tobool(health3), $unhealthy_color, $healthy_color)\r\n|extend h4color = iff(tobool(health4), $unhealthy_color, $healthy_color)\r\n|extend health = health1 + health2 + health3 + health4\r\n|extend hcolor = iff(health>1, $unhealthy_color, iff(health==1, $warning_color, $healthy_color))\r\n| order by health desc",
|
||
"resources": ["$laws"],
|
||
"resultFormat": "logs",
|
||
"timeColumn": "TimeGenerated"
|
||
},
|
||
"datasource": {
|
||
"type": "grafana-azure-monitor-datasource",
|
||
"uid": "${ds}"
|
||
},
|
||
"queryType": "Azure Log Analytics",
|
||
"refId": "A",
|
||
"subscriptions": ["ebb79bc0-aa86-44a7-8111-cabbe0c43993"]
|
||
}
|
||
],
|
||
"title": "CosmosDB",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"A": false,
|
||
"Resource": true,
|
||
"_ResourceId": true,
|
||
"h1color": true,
|
||
"h2color": true,
|
||
"h3color": true,
|
||
"h4color": true,
|
||
"health1": true,
|
||
"health2": true,
|
||
"health3": true,
|
||
"health4": true,
|
||
"kpi1": true,
|
||
"kpi2": true,
|
||
"kpi3": true,
|
||
"kpi4": true
|
||
},
|
||
"indexByName": {},
|
||
"renameByName": {
|
||
"A": " ",
|
||
"health": " "
|
||
}
|
||
}
|
||
},
|
||
{
|
||
"id": "configFromData",
|
||
"options": {
|
||
"configRefId": "A",
|
||
"mappings": [
|
||
{
|
||
"fieldName": "hcolor",
|
||
"handlerKey": "color",
|
||
"reducerId": "firstNotNull"
|
||
}
|
||
]
|
||
}
|
||
}
|
||
],
|
||
"transparent": true,
|
||
"type": "stat"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "grafana-azure-monitor-datasource",
|
||
"uid": "${ds}"
|
||
},
|
||
"description": "",
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "thresholds"
|
||
},
|
||
"links": [],
|
||
"mappings": [
|
||
{
|
||
"options": {
|
||
"0": {
|
||
"index": 0,
|
||
"text": "Healthy"
|
||
},
|
||
"1": {
|
||
"index": 1,
|
||
"text": "Warning"
|
||
}
|
||
},
|
||
"type": "value"
|
||
},
|
||
{
|
||
"options": {
|
||
"from": 2,
|
||
"result": {
|
||
"index": 2,
|
||
"text": "Unhealthy"
|
||
},
|
||
"to": 3
|
||
},
|
||
"type": "range"
|
||
}
|
||
],
|
||
"max": 3,
|
||
"min": 0,
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "#808080",
|
||
"value": null
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 3,
|
||
"w": 3,
|
||
"x": 3,
|
||
"y": 5
|
||
},
|
||
"id": 104,
|
||
"options": {
|
||
"colorMode": "background_solid",
|
||
"graphMode": "none",
|
||
"justifyMode": "auto",
|
||
"orientation": "auto",
|
||
"reduceOptions": {
|
||
"calcs": ["max"],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"showPercentChange": false,
|
||
"textMode": "auto",
|
||
"wideLayout": true
|
||
},
|
||
"targets": [
|
||
{
|
||
"azureLogAnalytics": {
|
||
"dashboardTime": true,
|
||
"query": "AzureMetrics\r\n| where _ResourceId has '/microsoft.sql/servers/'\r\n| where SubscriptionId has_any ($subsRESScope)\r\n| where MetricName in('cpu_percent', 'sqlserver_process_memory_percent', 'storage_percent', 'physical_data_read_percent' )\r\n| summarize\r\n kpi1 = avgif(Average, MetricName == 'cpu_percent'),\r\n kpi2 = avgif(Average, MetricName == 'sqlserver_process_memory_percent'),\r\n kpi3 = avgif(Average, MetricName == 'storage_percent'),\r\n kpi4 = avgif(Average, MetricName == 'physical_data_read_percent') by _ResourceId, Resource\r\n|extend kpi1 = iff(isnan(kpi1), 0.0, kpi1)\r\n|extend kpi2 = iff(isnan(kpi2), 0.0, kpi2) \r\n|extend kpi3 = iff(isnan(kpi3), 0.0, kpi3) \r\n|extend kpi4 = iff(isnan(kpi4), 0.0, kpi4)\r\n|extend health1 = iff(kpi1>$amba_SQL_cpu_percent, 1, 0)\r\n|extend health2 = iff(kpi2>$amba_SQL_sqlserver_process_memory_percent, 1, 0)\r\n|extend health3 = iff(kpi3>$amba_SQL_storage_percent, 1, 0)\r\n|extend health4 = iff(kpi4>$amba_SQL_physical_data_read_percent, 1, 0)\r\n|extend h1color = iff(tobool(health1), $unhealthy_color, $healthy_color)\r\n|extend h2color = iff(tobool(health2), $unhealthy_color, $healthy_color)\r\n|extend h3color = iff(tobool(health3), $unhealthy_color, $healthy_color)\r\n|extend h4color = iff(tobool(health4), $unhealthy_color, $healthy_color)\r\n|extend health = health1 + health2 + health3 + health4\r\n|extend hcolor = iff(health>1, $unhealthy_color, iff(health==1, $warning_color, $healthy_color))\r\n| order by health desc",
|
||
"resources": ["$laws"],
|
||
"resultFormat": "logs",
|
||
"timeColumn": "TimeGenerated"
|
||
},
|
||
"datasource": {
|
||
"type": "grafana-azure-monitor-datasource",
|
||
"uid": "${ds}"
|
||
},
|
||
"queryType": "Azure Log Analytics",
|
||
"refId": "A",
|
||
"subscriptions": ["ebb79bc0-aa86-44a7-8111-cabbe0c43993"]
|
||
}
|
||
],
|
||
"title": "SQL",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"A": false,
|
||
"Resource": true,
|
||
"_ResourceId": true,
|
||
"h1color": true,
|
||
"h2color": true,
|
||
"h3color": true,
|
||
"h4color": true,
|
||
"health1": true,
|
||
"health2": true,
|
||
"health3": true,
|
||
"health4": true,
|
||
"kpi1": true,
|
||
"kpi2": true,
|
||
"kpi3": true,
|
||
"kpi4": true
|
||
},
|
||
"indexByName": {},
|
||
"renameByName": {
|
||
"A": " ",
|
||
"health": " "
|
||
}
|
||
}
|
||
},
|
||
{
|
||
"id": "configFromData",
|
||
"options": {
|
||
"configRefId": "A",
|
||
"mappings": [
|
||
{
|
||
"fieldName": "hcolor",
|
||
"handlerKey": "color",
|
||
"reducerId": "firstNotNull"
|
||
}
|
||
]
|
||
}
|
||
}
|
||
],
|
||
"transparent": true,
|
||
"type": "stat"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "grafana-azure-monitor-datasource",
|
||
"uid": "${ds}"
|
||
},
|
||
"description": "",
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "thresholds"
|
||
},
|
||
"links": [],
|
||
"mappings": [
|
||
{
|
||
"options": {
|
||
"0": {
|
||
"index": 0,
|
||
"text": "Healthy"
|
||
},
|
||
"1": {
|
||
"index": 1,
|
||
"text": "Warning"
|
||
}
|
||
},
|
||
"type": "value"
|
||
},
|
||
{
|
||
"options": {
|
||
"from": 2,
|
||
"result": {
|
||
"index": 2,
|
||
"text": "Unhealthy"
|
||
},
|
||
"to": 3
|
||
},
|
||
"type": "range"
|
||
}
|
||
],
|
||
"max": 3,
|
||
"min": 0,
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "#808080",
|
||
"value": null
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 3,
|
||
"w": 3,
|
||
"x": 6,
|
||
"y": 5
|
||
},
|
||
"id": 105,
|
||
"options": {
|
||
"colorMode": "background_solid",
|
||
"graphMode": "none",
|
||
"justifyMode": "auto",
|
||
"orientation": "auto",
|
||
"reduceOptions": {
|
||
"calcs": ["max"],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"showPercentChange": false,
|
||
"textMode": "auto",
|
||
"wideLayout": true
|
||
},
|
||
"targets": [
|
||
{
|
||
"azureLogAnalytics": {
|
||
"dashboardTime": true,
|
||
"query": "AzureMetrics\r\n| where _ResourceId has '/microsoft.dbformysql/flexibleservers/'\r\n| where SubscriptionId has_any ($subsRESScope)\r\n| where MetricName in('cpu_percent', 'memory_percent', 'storage_percent', 'replication_lag' )\r\n| summarize\r\n kpi1 = avgif(Average, MetricName == 'cpu_percent'),\r\n kpi2 = avgif(Average, MetricName == 'memory_percent'),\r\n kpi3 = avgif(Average, MetricName == 'storage_percent'),\r\n kpi4 = avgif(Maximum, MetricName == 'replication_lag') by _ResourceId, Resource\r\n|extend kpi1 = iff(isnan(kpi1), 0.0, kpi1)\r\n|extend kpi2 = iff(isnan(kpi2), 0.0, kpi2) \r\n|extend kpi3 = iff(isnan(kpi3), 0.0, kpi3) \r\n|extend kpi4 = iff(isnan(kpi4), 0.0, kpi4)\r\n|extend health1 = iff(kpi1>$amba_MySQL_cpu_percent, 1, 0)\r\n|extend health2 = iff(kpi2>$amba_MySQL_memory_percent, 1, 0)\r\n|extend health3 = iff(kpi3>$amba_MySQL_storage_percent, 1, 0)\r\n|extend health4 = iff(kpi4>$amba_MySQL_replication_lag, 1, 0)\r\n|extend h1color = iff(tobool(health1), $unhealthy_color, $healthy_color)\r\n|extend h2color = iff(tobool(health2), $unhealthy_color, $healthy_color)\r\n|extend h3color = iff(tobool(health3), $unhealthy_color, $healthy_color)\r\n|extend h4color = iff(tobool(health4), $unhealthy_color, $healthy_color)\r\n|extend health = health1 + health2 + health3 + health4\r\n|extend hcolor = iff(health>1, $unhealthy_color, iff(health==1, $warning_color, $healthy_color))\r\n| order by health desc",
|
||
"resources": ["$laws"],
|
||
"resultFormat": "logs",
|
||
"timeColumn": "TimeGenerated"
|
||
},
|
||
"datasource": {
|
||
"type": "grafana-azure-monitor-datasource",
|
||
"uid": "${ds}"
|
||
},
|
||
"queryType": "Azure Log Analytics",
|
||
"refId": "A",
|
||
"subscriptions": ["ebb79bc0-aa86-44a7-8111-cabbe0c43993"]
|
||
}
|
||
],
|
||
"title": "MySQL",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"A": false,
|
||
"Resource": true,
|
||
"_ResourceId": true,
|
||
"h1color": true,
|
||
"h2color": true,
|
||
"h3color": true,
|
||
"h4color": true,
|
||
"health1": true,
|
||
"health2": true,
|
||
"health3": true,
|
||
"health4": true,
|
||
"kpi1": true,
|
||
"kpi2": true,
|
||
"kpi3": true,
|
||
"kpi4": true
|
||
},
|
||
"indexByName": {},
|
||
"renameByName": {
|
||
"A": " ",
|
||
"health": " "
|
||
}
|
||
}
|
||
},
|
||
{
|
||
"id": "configFromData",
|
||
"options": {
|
||
"configRefId": "A",
|
||
"mappings": [
|
||
{
|
||
"fieldName": "hcolor",
|
||
"handlerKey": "color",
|
||
"reducerId": "firstNotNull"
|
||
}
|
||
]
|
||
}
|
||
}
|
||
],
|
||
"transparent": true,
|
||
"type": "stat"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "grafana-azure-monitor-datasource",
|
||
"uid": "${ds}"
|
||
},
|
||
"description": "",
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "thresholds"
|
||
},
|
||
"links": [],
|
||
"mappings": [
|
||
{
|
||
"options": {
|
||
"0": {
|
||
"index": 0,
|
||
"text": "Healthy"
|
||
},
|
||
"1": {
|
||
"index": 1,
|
||
"text": "Warning"
|
||
}
|
||
},
|
||
"type": "value"
|
||
},
|
||
{
|
||
"options": {
|
||
"from": 2,
|
||
"result": {
|
||
"index": 2,
|
||
"text": "Unhealthy"
|
||
},
|
||
"to": 3
|
||
},
|
||
"type": "range"
|
||
}
|
||
],
|
||
"max": 3,
|
||
"min": 0,
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "#808080",
|
||
"value": null
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 3,
|
||
"w": 3,
|
||
"x": 9,
|
||
"y": 5
|
||
},
|
||
"id": 106,
|
||
"options": {
|
||
"colorMode": "background_solid",
|
||
"graphMode": "none",
|
||
"justifyMode": "auto",
|
||
"orientation": "auto",
|
||
"reduceOptions": {
|
||
"calcs": ["max"],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"showPercentChange": false,
|
||
"textMode": "auto",
|
||
"wideLayout": true
|
||
},
|
||
"targets": [
|
||
{
|
||
"azureLogAnalytics": {
|
||
"dashboardTime": true,
|
||
"query": "AzureMetrics\r\n| where _ResourceId has '/microsoft.dbforpostgresql/flexibleservers/'\r\n| where SubscriptionId has_any ($subsRESScope)\r\n| where MetricName in('cpu_percent', 'memory_percent', 'storage_percent', 'is_db_alive' )\r\n| summarize\r\n kpi1 = avgif(Average, MetricName == 'cpu_percent'),\r\n kpi2 = avgif(Average, MetricName == 'memory_percent'),\r\n kpi3 = avgif(Average, MetricName == 'storage_percent'),\r\n kpi4 = avgif(Maximum, MetricName == 'is_db_alive') by _ResourceId, Resource\r\n|extend kpi1 = iff(isnan(kpi1), 0.0, kpi1)\r\n|extend kpi2 = iff(isnan(kpi2), 0.0, kpi2) \r\n|extend kpi3 = iff(isnan(kpi3), 0.0, kpi3) \r\n|extend kpi4 = iff(isnan(kpi4), 0.0, kpi4)\r\n|extend health1 = iff(kpi1>$amba_PostgreSQL_cpu_percent, 1, 0)\r\n|extend health2 = iff(kpi2>$amba_PostgreSQL_memory_percent, 1, 0)\r\n|extend health3 = iff(kpi3>$amba_PostgreSQL_storage_percent, 1, 0)\r\n|extend health4 = iff(kpi4<$amba_PostgreSQL_is_db_alive, 1, 0)\r\n|extend h1color = iff(tobool(health1), $unhealthy_color, $healthy_color)\r\n|extend h2color = iff(tobool(health2), $unhealthy_color, $healthy_color)\r\n|extend h3color = iff(tobool(health3), $unhealthy_color, $healthy_color)\r\n|extend h4color = iff(tobool(health4), $unhealthy_color, $healthy_color)\r\n|extend health = health1 + health2 + health3 + health4\r\n|extend hcolor = iff(health>1, $unhealthy_color, iff(health==1, $warning_color, $healthy_color))\r\n| order by health desc",
|
||
"resources": ["$laws"],
|
||
"resultFormat": "logs",
|
||
"timeColumn": "TimeGenerated"
|
||
},
|
||
"datasource": {
|
||
"type": "grafana-azure-monitor-datasource",
|
||
"uid": "${ds}"
|
||
},
|
||
"queryType": "Azure Log Analytics",
|
||
"refId": "A",
|
||
"subscriptions": ["ebb79bc0-aa86-44a7-8111-cabbe0c43993"]
|
||
}
|
||
],
|
||
"title": "PostgreSQL",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"A": false,
|
||
"Resource": true,
|
||
"_ResourceId": true,
|
||
"h1color": true,
|
||
"h2color": true,
|
||
"h3color": true,
|
||
"h4color": true,
|
||
"health1": true,
|
||
"health2": true,
|
||
"health3": true,
|
||
"health4": true,
|
||
"kpi1": true,
|
||
"kpi2": true,
|
||
"kpi3": true,
|
||
"kpi4": true
|
||
},
|
||
"indexByName": {},
|
||
"renameByName": {
|
||
"A": " ",
|
||
"health": " "
|
||
}
|
||
}
|
||
},
|
||
{
|
||
"id": "configFromData",
|
||
"options": {
|
||
"configRefId": "A",
|
||
"mappings": [
|
||
{
|
||
"fieldName": "hcolor",
|
||
"handlerKey": "color",
|
||
"reducerId": "firstNotNull"
|
||
}
|
||
]
|
||
}
|
||
}
|
||
],
|
||
"transparent": true,
|
||
"type": "stat"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "grafana-azure-monitor-datasource",
|
||
"uid": "${ds}"
|
||
},
|
||
"description": "",
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "thresholds"
|
||
},
|
||
"links": [],
|
||
"mappings": [
|
||
{
|
||
"options": {
|
||
"0": {
|
||
"index": 0,
|
||
"text": "Healthy"
|
||
},
|
||
"1": {
|
||
"index": 1,
|
||
"text": "Warning"
|
||
}
|
||
},
|
||
"type": "value"
|
||
},
|
||
{
|
||
"options": {
|
||
"from": 2,
|
||
"result": {
|
||
"index": 2,
|
||
"text": "Unhealthy"
|
||
},
|
||
"to": 3
|
||
},
|
||
"type": "range"
|
||
}
|
||
],
|
||
"max": 3,
|
||
"min": 0,
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "#808080",
|
||
"value": null
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 3,
|
||
"w": 3,
|
||
"x": 12,
|
||
"y": 5
|
||
},
|
||
"id": 98,
|
||
"options": {
|
||
"colorMode": "background_solid",
|
||
"graphMode": "none",
|
||
"justifyMode": "auto",
|
||
"orientation": "auto",
|
||
"reduceOptions": {
|
||
"calcs": ["max"],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"showPercentChange": false,
|
||
"textMode": "auto",
|
||
"wideLayout": true
|
||
},
|
||
"targets": [
|
||
{
|
||
"azureLogAnalytics": {
|
||
"dashboardTime": true,
|
||
"query": "AzureDiagnostics\r\n| where _ResourceId has '/microsoft.eventhub/namespaces/'\r\n| where SubscriptionId has_any ($subsRESScope)\r\n| where Category == \"DiagnosticErrorLogs\"\r\n| summarize\r\n kpi1 = countif(OperationResult_s =~ \"ClientError\"), \r\n kpi2 = countif(OperationResult_s =~ \"ServerBusy\"),\r\n kpi3 = countif(OperationResult_s =~ \"QuotaExceeded\") by _ResourceId, Resource\r\n|extend kpi1 = iff(isnan(toreal(kpi1)), 0.0, toreal(kpi1))\r\n|extend kpi2 = iff(isnan(toreal(kpi2)), 0.0, toreal(kpi2)) \r\n|extend kpi3 = iff(isnan(toreal(kpi3)), 0.0, toreal(kpi3))\r\n|extend health1 = iff(kpi1>$amba_eventhub_UserErrors, 1, 0)\r\n|extend health2 = iff(kpi2>$amba_eventhub_ServerErrors, 1, 0)\r\n|extend health3 = iff(kpi3>$amba_eventhub_ThrottledRequests, 1, 0)\r\n|extend h1color = iff(tobool(health1), $unhealthy_color, $healthy_color)\r\n|extend h2color = iff(tobool(health2), $unhealthy_color, $healthy_color)\r\n|extend h3color = iff(tobool(health3), $unhealthy_color, $healthy_color)\r\n|extend health = health1 + health2 + health3\r\n|extend hcolor = iff(health>1, $unhealthy_color, iff(health==1, $warning_color, $healthy_color))\r\n| order by health desc",
|
||
"resources": ["$laws"],
|
||
"resultFormat": "logs",
|
||
"timeColumn": "TimeGenerated"
|
||
},
|
||
"datasource": {
|
||
"type": "grafana-azure-monitor-datasource",
|
||
"uid": "${ds}"
|
||
},
|
||
"queryType": "Azure Log Analytics",
|
||
"refId": "A",
|
||
"subscriptions": ["ebb79bc0-aa86-44a7-8111-cabbe0c43993"]
|
||
}
|
||
],
|
||
"title": "Event Hubs",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"A": false,
|
||
"Resource": true,
|
||
"_ResourceId": true,
|
||
"h1color": true,
|
||
"h2color": true,
|
||
"h3color": true,
|
||
"h4color": true,
|
||
"health1": true,
|
||
"health2": true,
|
||
"health3": true,
|
||
"health4": true,
|
||
"kpi1": true,
|
||
"kpi2": true,
|
||
"kpi3": true,
|
||
"kpi4": true
|
||
},
|
||
"indexByName": {},
|
||
"renameByName": {
|
||
"A": " ",
|
||
"health": " "
|
||
}
|
||
}
|
||
},
|
||
{
|
||
"id": "configFromData",
|
||
"options": {
|
||
"configRefId": "A",
|
||
"mappings": [
|
||
{
|
||
"fieldName": "hcolor",
|
||
"handlerKey": "color",
|
||
"reducerId": "firstNotNull"
|
||
}
|
||
]
|
||
}
|
||
}
|
||
],
|
||
"transparent": true,
|
||
"type": "stat"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "datasource",
|
||
"uid": "grafana"
|
||
},
|
||
"gridPos": {
|
||
"h": 1,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 8
|
||
},
|
||
"id": 25,
|
||
"options": {
|
||
"code": {
|
||
"language": "plaintext",
|
||
"showLineNumbers": false,
|
||
"showMiniMap": false
|
||
},
|
||
"content": "",
|
||
"mode": "markdown"
|
||
},
|
||
"transparent": true,
|
||
"type": "text"
|
||
},
|
||
{
|
||
"collapsed": true,
|
||
"gridPos": {
|
||
"h": 1,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 9
|
||
},
|
||
"id": 111,
|
||
"panels": [
|
||
{
|
||
"datasource": {
|
||
"type": "datasource",
|
||
"uid": "-- Dashboard --"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "fixed"
|
||
},
|
||
"displayName": "${__field.displayName}",
|
||
"mappings": [],
|
||
"max": 125,
|
||
"min": 0,
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "#808080"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 12,
|
||
"w": 6,
|
||
"x": 0,
|
||
"y": 10
|
||
},
|
||
"id": 116,
|
||
"options": {
|
||
"displayMode": "gradient",
|
||
"maxVizHeight": 300,
|
||
"minVizHeight": 10,
|
||
"minVizWidth": 0,
|
||
"namePlacement": "auto",
|
||
"orientation": "horizontal",
|
||
"reduceOptions": {
|
||
"calcs": ["lastNotNull"],
|
||
"fields": "",
|
||
"values": true
|
||
},
|
||
"showUnfilled": true,
|
||
"sizing": "auto",
|
||
"valueMode": "color"
|
||
},
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "datasource",
|
||
"uid": "-- Dashboard --"
|
||
},
|
||
"panelId": 107,
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "CosmosDB Server Side Latency",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_ResourceId": true,
|
||
"h1color": false,
|
||
"h2color": true,
|
||
"h3color": true,
|
||
"h4color": true,
|
||
"hcolor": true,
|
||
"health": true,
|
||
"health1": true,
|
||
"health2": true,
|
||
"health3": true,
|
||
"health4": true,
|
||
"kpi1": false,
|
||
"kpi2": true,
|
||
"kpi3": true,
|
||
"kpi4": true
|
||
},
|
||
"includeByName": {},
|
||
"indexByName": {},
|
||
"renameByName": {}
|
||
}
|
||
},
|
||
{
|
||
"id": "sortBy",
|
||
"options": {
|
||
"fields": {},
|
||
"sort": [
|
||
{
|
||
"desc": true,
|
||
"field": "kpi1"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"id": "rowsToFields",
|
||
"options": {
|
||
"mappings": [
|
||
{
|
||
"fieldName": "Resource",
|
||
"handlerKey": "field.name"
|
||
},
|
||
{
|
||
"fieldName": "kpi1",
|
||
"handlerKey": "field.value"
|
||
},
|
||
{
|
||
"fieldName": "h1color",
|
||
"handlerKey": "color"
|
||
}
|
||
]
|
||
}
|
||
}
|
||
],
|
||
"type": "bargauge"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "datasource",
|
||
"uid": "-- Dashboard --"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "fixed"
|
||
},
|
||
"displayName": "${__field.displayName}",
|
||
"mappings": [],
|
||
"max": 6000,
|
||
"min": 0,
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "#808080"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 12,
|
||
"w": 6,
|
||
"x": 6,
|
||
"y": 10
|
||
},
|
||
"id": 117,
|
||
"options": {
|
||
"displayMode": "gradient",
|
||
"maxVizHeight": 300,
|
||
"minVizHeight": 10,
|
||
"minVizWidth": 0,
|
||
"namePlacement": "auto",
|
||
"orientation": "horizontal",
|
||
"reduceOptions": {
|
||
"calcs": ["lastNotNull"],
|
||
"fields": "",
|
||
"values": true
|
||
},
|
||
"showUnfilled": true,
|
||
"sizing": "auto",
|
||
"valueMode": "color"
|
||
},
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "datasource",
|
||
"uid": "-- Dashboard --"
|
||
},
|
||
"panelId": 107,
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "CosmosDB Replication Latency",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_ResourceId": true,
|
||
"h1color": true,
|
||
"h2color": false,
|
||
"h3color": true,
|
||
"h4color": true,
|
||
"hcolor": true,
|
||
"health": true,
|
||
"health1": true,
|
||
"health2": true,
|
||
"health3": true,
|
||
"health4": true,
|
||
"kpi1": true,
|
||
"kpi2": false,
|
||
"kpi3": true,
|
||
"kpi4": true
|
||
},
|
||
"includeByName": {},
|
||
"indexByName": {},
|
||
"renameByName": {}
|
||
}
|
||
},
|
||
{
|
||
"id": "sortBy",
|
||
"options": {
|
||
"fields": {},
|
||
"sort": [
|
||
{
|
||
"desc": true,
|
||
"field": "kpi2"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"id": "rowsToFields",
|
||
"options": {
|
||
"mappings": [
|
||
{
|
||
"fieldName": "Resource",
|
||
"handlerKey": "field.name"
|
||
},
|
||
{
|
||
"fieldName": "kpi2",
|
||
"handlerKey": "field.value"
|
||
},
|
||
{
|
||
"fieldName": "h2color",
|
||
"handlerKey": "color"
|
||
}
|
||
]
|
||
}
|
||
}
|
||
],
|
||
"type": "bargauge"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "datasource",
|
||
"uid": "-- Dashboard --"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "fixed"
|
||
},
|
||
"displayName": "${__field.displayName}",
|
||
"mappings": [],
|
||
"max": 100,
|
||
"min": 0,
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "#808080"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 12,
|
||
"w": 6,
|
||
"x": 12,
|
||
"y": 10
|
||
},
|
||
"id": 118,
|
||
"options": {
|
||
"displayMode": "gradient",
|
||
"maxVizHeight": 300,
|
||
"minVizHeight": 10,
|
||
"minVizWidth": 0,
|
||
"namePlacement": "auto",
|
||
"orientation": "horizontal",
|
||
"reduceOptions": {
|
||
"calcs": ["lastNotNull"],
|
||
"fields": "",
|
||
"values": true
|
||
},
|
||
"showUnfilled": true,
|
||
"sizing": "auto",
|
||
"valueMode": "color"
|
||
},
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "datasource",
|
||
"uid": "-- Dashboard --"
|
||
},
|
||
"panelId": 107,
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "CosmosDB Service Availability",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_ResourceId": true,
|
||
"h1color": true,
|
||
"h2color": true,
|
||
"h3color": false,
|
||
"h4color": true,
|
||
"hcolor": true,
|
||
"health": true,
|
||
"health1": true,
|
||
"health2": true,
|
||
"health3": true,
|
||
"health4": true,
|
||
"kpi1": true,
|
||
"kpi2": true,
|
||
"kpi3": false,
|
||
"kpi4": true
|
||
},
|
||
"includeByName": {},
|
||
"indexByName": {},
|
||
"renameByName": {}
|
||
}
|
||
},
|
||
{
|
||
"id": "sortBy",
|
||
"options": {
|
||
"fields": {},
|
||
"sort": [
|
||
{
|
||
"desc": false,
|
||
"field": "kpi3"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"id": "rowsToFields",
|
||
"options": {
|
||
"mappings": [
|
||
{
|
||
"fieldName": "Resource",
|
||
"handlerKey": "field.name"
|
||
},
|
||
{
|
||
"fieldName": "kpi3",
|
||
"handlerKey": "field.value"
|
||
},
|
||
{
|
||
"fieldName": "h3color",
|
||
"handlerKey": "color"
|
||
}
|
||
]
|
||
}
|
||
}
|
||
],
|
||
"type": "bargauge"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "datasource",
|
||
"uid": "-- Dashboard --"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "fixed"
|
||
},
|
||
"displayName": "${__field.displayName}",
|
||
"mappings": [],
|
||
"max": 10,
|
||
"min": 0,
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "#808080"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 12,
|
||
"w": 6,
|
||
"x": 18,
|
||
"y": 10
|
||
},
|
||
"id": 119,
|
||
"options": {
|
||
"displayMode": "gradient",
|
||
"maxVizHeight": 300,
|
||
"minVizHeight": 10,
|
||
"minVizWidth": 0,
|
||
"namePlacement": "auto",
|
||
"orientation": "horizontal",
|
||
"reduceOptions": {
|
||
"calcs": ["lastNotNull"],
|
||
"fields": "",
|
||
"values": true
|
||
},
|
||
"showUnfilled": true,
|
||
"sizing": "auto",
|
||
"valueMode": "color"
|
||
},
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "datasource",
|
||
"uid": "-- Dashboard --"
|
||
},
|
||
"panelId": 107,
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "CosmosDB Offline Regions",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_ResourceId": true,
|
||
"h1color": true,
|
||
"h2color": true,
|
||
"h3color": true,
|
||
"h4color": false,
|
||
"hcolor": true,
|
||
"health": true,
|
||
"health1": true,
|
||
"health2": true,
|
||
"health3": true,
|
||
"health4": true,
|
||
"kpi1": true,
|
||
"kpi2": true,
|
||
"kpi3": true,
|
||
"kpi4": false
|
||
},
|
||
"includeByName": {},
|
||
"indexByName": {},
|
||
"renameByName": {}
|
||
}
|
||
},
|
||
{
|
||
"id": "sortBy",
|
||
"options": {
|
||
"fields": {},
|
||
"sort": [
|
||
{
|
||
"desc": true,
|
||
"field": "kpi4"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"id": "rowsToFields",
|
||
"options": {
|
||
"mappings": [
|
||
{
|
||
"fieldName": "Resource",
|
||
"handlerKey": "field.name"
|
||
},
|
||
{
|
||
"fieldName": "kpi4",
|
||
"handlerKey": "field.value"
|
||
},
|
||
{
|
||
"fieldName": "h4color",
|
||
"handlerKey": "color"
|
||
}
|
||
]
|
||
}
|
||
}
|
||
],
|
||
"type": "bargauge"
|
||
}
|
||
],
|
||
"title": "CosmosDB",
|
||
"type": "row"
|
||
},
|
||
{
|
||
"collapsed": true,
|
||
"gridPos": {
|
||
"h": 1,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 10
|
||
},
|
||
"id": 108,
|
||
"panels": [
|
||
{
|
||
"datasource": {
|
||
"type": "datasource",
|
||
"uid": "-- Dashboard --"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "fixed"
|
||
},
|
||
"displayName": "${__field.displayName}",
|
||
"mappings": [],
|
||
"max": 100,
|
||
"min": 0,
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "#808080"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 12,
|
||
"w": 6,
|
||
"x": 0,
|
||
"y": 11
|
||
},
|
||
"id": 112,
|
||
"options": {
|
||
"displayMode": "gradient",
|
||
"maxVizHeight": 300,
|
||
"minVizHeight": 10,
|
||
"minVizWidth": 0,
|
||
"namePlacement": "auto",
|
||
"orientation": "horizontal",
|
||
"reduceOptions": {
|
||
"calcs": ["lastNotNull"],
|
||
"fields": "",
|
||
"values": true
|
||
},
|
||
"showUnfilled": true,
|
||
"sizing": "auto",
|
||
"valueMode": "color"
|
||
},
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "datasource",
|
||
"uid": "-- Dashboard --"
|
||
},
|
||
"panelId": 104,
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "SQL CPU Percentage",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_ResourceId": true,
|
||
"h1color": false,
|
||
"h2color": true,
|
||
"h3color": true,
|
||
"h4color": true,
|
||
"hcolor": true,
|
||
"health": true,
|
||
"health1": true,
|
||
"health2": true,
|
||
"health3": true,
|
||
"health4": true,
|
||
"kpi1": false,
|
||
"kpi2": true,
|
||
"kpi3": true,
|
||
"kpi4": true
|
||
},
|
||
"includeByName": {},
|
||
"indexByName": {},
|
||
"renameByName": {}
|
||
}
|
||
},
|
||
{
|
||
"id": "sortBy",
|
||
"options": {
|
||
"fields": {},
|
||
"sort": [
|
||
{
|
||
"desc": false,
|
||
"field": "kpi1"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"id": "rowsToFields",
|
||
"options": {
|
||
"mappings": [
|
||
{
|
||
"fieldName": "Resource",
|
||
"handlerKey": "field.name"
|
||
},
|
||
{
|
||
"fieldName": "kpi1",
|
||
"handlerKey": "field.value"
|
||
},
|
||
{
|
||
"fieldName": "h1color",
|
||
"handlerKey": "color"
|
||
}
|
||
]
|
||
}
|
||
}
|
||
],
|
||
"type": "bargauge"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "datasource",
|
||
"uid": "-- Dashboard --"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "fixed"
|
||
},
|
||
"displayName": "${__field.displayName}",
|
||
"mappings": [],
|
||
"max": 100,
|
||
"min": 0,
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "#808080"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 12,
|
||
"w": 6,
|
||
"x": 6,
|
||
"y": 11
|
||
},
|
||
"id": 113,
|
||
"options": {
|
||
"displayMode": "gradient",
|
||
"maxVizHeight": 300,
|
||
"minVizHeight": 10,
|
||
"minVizWidth": 0,
|
||
"namePlacement": "auto",
|
||
"orientation": "horizontal",
|
||
"reduceOptions": {
|
||
"calcs": ["lastNotNull"],
|
||
"fields": "",
|
||
"values": true
|
||
},
|
||
"showUnfilled": true,
|
||
"sizing": "auto",
|
||
"valueMode": "color"
|
||
},
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "datasource",
|
||
"uid": "-- Dashboard --"
|
||
},
|
||
"panelId": 104,
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "SQL Memory Percentage",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_ResourceId": true,
|
||
"h1color": true,
|
||
"h2color": false,
|
||
"h3color": true,
|
||
"h4color": true,
|
||
"hcolor": true,
|
||
"health": true,
|
||
"health1": true,
|
||
"health2": true,
|
||
"health3": true,
|
||
"health4": true,
|
||
"kpi1": true,
|
||
"kpi2": false,
|
||
"kpi3": true,
|
||
"kpi4": true
|
||
},
|
||
"includeByName": {},
|
||
"indexByName": {},
|
||
"renameByName": {}
|
||
}
|
||
},
|
||
{
|
||
"id": "sortBy",
|
||
"options": {
|
||
"fields": {},
|
||
"sort": [
|
||
{
|
||
"desc": false,
|
||
"field": "kpi2"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"id": "rowsToFields",
|
||
"options": {
|
||
"mappings": [
|
||
{
|
||
"fieldName": "Resource",
|
||
"handlerKey": "field.name"
|
||
},
|
||
{
|
||
"fieldName": "kpi2",
|
||
"handlerKey": "field.value"
|
||
},
|
||
{
|
||
"fieldName": "h2color",
|
||
"handlerKey": "color"
|
||
}
|
||
]
|
||
}
|
||
}
|
||
],
|
||
"type": "bargauge"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "datasource",
|
||
"uid": "-- Dashboard --"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "fixed"
|
||
},
|
||
"displayName": "${__field.displayName}",
|
||
"mappings": [],
|
||
"max": 100,
|
||
"min": 0,
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "#808080"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 12,
|
||
"w": 6,
|
||
"x": 12,
|
||
"y": 11
|
||
},
|
||
"id": 114,
|
||
"options": {
|
||
"displayMode": "gradient",
|
||
"maxVizHeight": 300,
|
||
"minVizHeight": 10,
|
||
"minVizWidth": 0,
|
||
"namePlacement": "auto",
|
||
"orientation": "horizontal",
|
||
"reduceOptions": {
|
||
"calcs": ["lastNotNull"],
|
||
"fields": "",
|
||
"values": true
|
||
},
|
||
"showUnfilled": true,
|
||
"sizing": "auto",
|
||
"valueMode": "color"
|
||
},
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "datasource",
|
||
"uid": "-- Dashboard --"
|
||
},
|
||
"panelId": 104,
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "SQL Storage Percentage",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_ResourceId": true,
|
||
"h1color": true,
|
||
"h2color": true,
|
||
"h3color": false,
|
||
"h4color": true,
|
||
"hcolor": true,
|
||
"health": true,
|
||
"health1": true,
|
||
"health2": true,
|
||
"health3": true,
|
||
"health4": true,
|
||
"kpi1": true,
|
||
"kpi2": true,
|
||
"kpi3": false,
|
||
"kpi4": true
|
||
},
|
||
"includeByName": {},
|
||
"indexByName": {},
|
||
"renameByName": {}
|
||
}
|
||
},
|
||
{
|
||
"id": "sortBy",
|
||
"options": {
|
||
"fields": {},
|
||
"sort": [
|
||
{
|
||
"desc": false,
|
||
"field": "kpi3"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"id": "rowsToFields",
|
||
"options": {
|
||
"mappings": [
|
||
{
|
||
"fieldName": "Resource",
|
||
"handlerKey": "field.name"
|
||
},
|
||
{
|
||
"fieldName": "kpi3",
|
||
"handlerKey": "field.value"
|
||
},
|
||
{
|
||
"fieldName": "h3color",
|
||
"handlerKey": "color"
|
||
}
|
||
]
|
||
}
|
||
}
|
||
],
|
||
"type": "bargauge"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "datasource",
|
||
"uid": "-- Dashboard --"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "fixed"
|
||
},
|
||
"displayName": "${__field.displayName}",
|
||
"mappings": [],
|
||
"max": 100,
|
||
"min": 0,
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "#808080"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 12,
|
||
"w": 6,
|
||
"x": 18,
|
||
"y": 11
|
||
},
|
||
"id": 115,
|
||
"options": {
|
||
"displayMode": "gradient",
|
||
"maxVizHeight": 300,
|
||
"minVizHeight": 10,
|
||
"minVizWidth": 0,
|
||
"namePlacement": "auto",
|
||
"orientation": "horizontal",
|
||
"reduceOptions": {
|
||
"calcs": ["lastNotNull"],
|
||
"fields": "",
|
||
"values": true
|
||
},
|
||
"showUnfilled": true,
|
||
"sizing": "auto",
|
||
"valueMode": "color"
|
||
},
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "datasource",
|
||
"uid": "-- Dashboard --"
|
||
},
|
||
"panelId": 104,
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "SQL Physical Data Read Percentage",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_ResourceId": true,
|
||
"h1color": true,
|
||
"h2color": true,
|
||
"h3color": true,
|
||
"h4color": false,
|
||
"hcolor": true,
|
||
"health": true,
|
||
"health1": true,
|
||
"health2": true,
|
||
"health3": true,
|
||
"health4": true,
|
||
"kpi1": true,
|
||
"kpi2": true,
|
||
"kpi3": true,
|
||
"kpi4": false
|
||
},
|
||
"includeByName": {},
|
||
"indexByName": {},
|
||
"renameByName": {}
|
||
}
|
||
},
|
||
{
|
||
"id": "sortBy",
|
||
"options": {
|
||
"fields": {},
|
||
"sort": [
|
||
{
|
||
"desc": false,
|
||
"field": "kpi4"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"id": "rowsToFields",
|
||
"options": {
|
||
"mappings": [
|
||
{
|
||
"fieldName": "Resource",
|
||
"handlerKey": "field.name"
|
||
},
|
||
{
|
||
"fieldName": "kpi4",
|
||
"handlerKey": "field.value"
|
||
},
|
||
{
|
||
"fieldName": "h4color",
|
||
"handlerKey": "color"
|
||
}
|
||
]
|
||
}
|
||
}
|
||
],
|
||
"type": "bargauge"
|
||
}
|
||
],
|
||
"title": "SQL",
|
||
"type": "row"
|
||
},
|
||
{
|
||
"collapsed": true,
|
||
"gridPos": {
|
||
"h": 1,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 11
|
||
},
|
||
"id": 109,
|
||
"panels": [
|
||
{
|
||
"datasource": {
|
||
"type": "datasource",
|
||
"uid": "-- Dashboard --"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "fixed"
|
||
},
|
||
"displayName": "${__field.displayName}",
|
||
"mappings": [],
|
||
"max": 100,
|
||
"min": 0,
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "#808080"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 12,
|
||
"w": 6,
|
||
"x": 0,
|
||
"y": 12
|
||
},
|
||
"id": 120,
|
||
"options": {
|
||
"displayMode": "gradient",
|
||
"maxVizHeight": 300,
|
||
"minVizHeight": 10,
|
||
"minVizWidth": 0,
|
||
"namePlacement": "auto",
|
||
"orientation": "horizontal",
|
||
"reduceOptions": {
|
||
"calcs": ["lastNotNull"],
|
||
"fields": "",
|
||
"values": true
|
||
},
|
||
"showUnfilled": true,
|
||
"sizing": "auto",
|
||
"valueMode": "color"
|
||
},
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "datasource",
|
||
"uid": "-- Dashboard --"
|
||
},
|
||
"panelId": 105,
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "MySQL CPU Percentage",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_ResourceId": true,
|
||
"h1color": false,
|
||
"h2color": true,
|
||
"h3color": true,
|
||
"h4color": true,
|
||
"hcolor": true,
|
||
"health": true,
|
||
"health1": true,
|
||
"health2": true,
|
||
"health3": true,
|
||
"health4": true,
|
||
"kpi1": false,
|
||
"kpi2": true,
|
||
"kpi3": true,
|
||
"kpi4": true
|
||
},
|
||
"includeByName": {},
|
||
"indexByName": {},
|
||
"renameByName": {}
|
||
}
|
||
},
|
||
{
|
||
"id": "sortBy",
|
||
"options": {
|
||
"fields": {},
|
||
"sort": [
|
||
{
|
||
"desc": true,
|
||
"field": "kpi1"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"id": "rowsToFields",
|
||
"options": {
|
||
"mappings": [
|
||
{
|
||
"fieldName": "Resource",
|
||
"handlerKey": "field.name"
|
||
},
|
||
{
|
||
"fieldName": "kpi1",
|
||
"handlerKey": "field.value"
|
||
},
|
||
{
|
||
"fieldName": "h1color",
|
||
"handlerKey": "color"
|
||
}
|
||
]
|
||
}
|
||
}
|
||
],
|
||
"type": "bargauge"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "datasource",
|
||
"uid": "-- Dashboard --"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "fixed"
|
||
},
|
||
"displayName": "${__field.displayName}",
|
||
"mappings": [],
|
||
"max": 100,
|
||
"min": 0,
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "#808080"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 12,
|
||
"w": 6,
|
||
"x": 6,
|
||
"y": 12
|
||
},
|
||
"id": 121,
|
||
"options": {
|
||
"displayMode": "gradient",
|
||
"maxVizHeight": 300,
|
||
"minVizHeight": 10,
|
||
"minVizWidth": 0,
|
||
"namePlacement": "auto",
|
||
"orientation": "horizontal",
|
||
"reduceOptions": {
|
||
"calcs": ["lastNotNull"],
|
||
"fields": "",
|
||
"values": true
|
||
},
|
||
"showUnfilled": true,
|
||
"sizing": "auto",
|
||
"valueMode": "color"
|
||
},
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "datasource",
|
||
"uid": "-- Dashboard --"
|
||
},
|
||
"panelId": 105,
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "MySQL Memory Percentage",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_ResourceId": true,
|
||
"h1color": true,
|
||
"h2color": false,
|
||
"h3color": true,
|
||
"h4color": true,
|
||
"hcolor": true,
|
||
"health": true,
|
||
"health1": true,
|
||
"health2": true,
|
||
"health3": true,
|
||
"health4": true,
|
||
"kpi1": true,
|
||
"kpi2": false,
|
||
"kpi3": true,
|
||
"kpi4": true
|
||
},
|
||
"includeByName": {},
|
||
"indexByName": {},
|
||
"renameByName": {}
|
||
}
|
||
},
|
||
{
|
||
"id": "sortBy",
|
||
"options": {
|
||
"fields": {},
|
||
"sort": [
|
||
{
|
||
"desc": true,
|
||
"field": "kpi2"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"id": "rowsToFields",
|
||
"options": {
|
||
"mappings": [
|
||
{
|
||
"fieldName": "Resource",
|
||
"handlerKey": "field.name"
|
||
},
|
||
{
|
||
"fieldName": "kpi2",
|
||
"handlerKey": "field.value"
|
||
},
|
||
{
|
||
"fieldName": "h2color",
|
||
"handlerKey": "color"
|
||
}
|
||
]
|
||
}
|
||
}
|
||
],
|
||
"type": "bargauge"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "datasource",
|
||
"uid": "-- Dashboard --"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "fixed"
|
||
},
|
||
"displayName": "${__field.displayName}",
|
||
"mappings": [],
|
||
"max": 100,
|
||
"min": 0,
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "#808080"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 12,
|
||
"w": 6,
|
||
"x": 12,
|
||
"y": 12
|
||
},
|
||
"id": 122,
|
||
"options": {
|
||
"displayMode": "gradient",
|
||
"maxVizHeight": 300,
|
||
"minVizHeight": 10,
|
||
"minVizWidth": 0,
|
||
"namePlacement": "auto",
|
||
"orientation": "horizontal",
|
||
"reduceOptions": {
|
||
"calcs": ["lastNotNull"],
|
||
"fields": "",
|
||
"values": true
|
||
},
|
||
"showUnfilled": true,
|
||
"sizing": "auto",
|
||
"valueMode": "color"
|
||
},
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "datasource",
|
||
"uid": "-- Dashboard --"
|
||
},
|
||
"panelId": 105,
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "MySQL Storage Percentage",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_ResourceId": true,
|
||
"h1color": true,
|
||
"h2color": true,
|
||
"h3color": false,
|
||
"h4color": true,
|
||
"hcolor": true,
|
||
"health": true,
|
||
"health1": true,
|
||
"health2": true,
|
||
"health3": true,
|
||
"health4": true,
|
||
"kpi1": true,
|
||
"kpi2": true,
|
||
"kpi3": false,
|
||
"kpi4": true
|
||
},
|
||
"includeByName": {},
|
||
"indexByName": {},
|
||
"renameByName": {}
|
||
}
|
||
},
|
||
{
|
||
"id": "sortBy",
|
||
"options": {
|
||
"fields": {},
|
||
"sort": [
|
||
{
|
||
"desc": true,
|
||
"field": "kpi3"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"id": "rowsToFields",
|
||
"options": {
|
||
"mappings": [
|
||
{
|
||
"fieldName": "Resource",
|
||
"handlerKey": "field.name"
|
||
},
|
||
{
|
||
"fieldName": "kpi3",
|
||
"handlerKey": "field.value"
|
||
},
|
||
{
|
||
"fieldName": "h3color",
|
||
"handlerKey": "color"
|
||
}
|
||
]
|
||
}
|
||
}
|
||
],
|
||
"type": "bargauge"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "datasource",
|
||
"uid": "-- Dashboard --"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "fixed"
|
||
},
|
||
"displayName": "${__field.displayName}",
|
||
"mappings": [],
|
||
"max": 7000,
|
||
"min": 0,
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "#808080"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 12,
|
||
"w": 6,
|
||
"x": 18,
|
||
"y": 12
|
||
},
|
||
"id": 123,
|
||
"options": {
|
||
"displayMode": "gradient",
|
||
"maxVizHeight": 300,
|
||
"minVizHeight": 10,
|
||
"minVizWidth": 0,
|
||
"namePlacement": "auto",
|
||
"orientation": "horizontal",
|
||
"reduceOptions": {
|
||
"calcs": ["lastNotNull"],
|
||
"fields": "",
|
||
"values": true
|
||
},
|
||
"showUnfilled": true,
|
||
"sizing": "auto",
|
||
"valueMode": "color"
|
||
},
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "datasource",
|
||
"uid": "-- Dashboard --"
|
||
},
|
||
"panelId": 105,
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "MySQL Replication Lag",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_ResourceId": true,
|
||
"h1color": true,
|
||
"h2color": true,
|
||
"h3color": true,
|
||
"h4color": false,
|
||
"hcolor": true,
|
||
"health": true,
|
||
"health1": true,
|
||
"health2": true,
|
||
"health3": true,
|
||
"health4": true,
|
||
"kpi1": true,
|
||
"kpi2": true,
|
||
"kpi3": true,
|
||
"kpi4": false
|
||
},
|
||
"includeByName": {},
|
||
"indexByName": {},
|
||
"renameByName": {}
|
||
}
|
||
},
|
||
{
|
||
"id": "sortBy",
|
||
"options": {
|
||
"fields": {},
|
||
"sort": [
|
||
{
|
||
"desc": true,
|
||
"field": "kpi4"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"id": "rowsToFields",
|
||
"options": {
|
||
"mappings": [
|
||
{
|
||
"fieldName": "Resource",
|
||
"handlerKey": "field.name"
|
||
},
|
||
{
|
||
"fieldName": "kpi4",
|
||
"handlerKey": "field.value"
|
||
},
|
||
{
|
||
"fieldName": "h4color",
|
||
"handlerKey": "color"
|
||
}
|
||
]
|
||
}
|
||
}
|
||
],
|
||
"type": "bargauge"
|
||
}
|
||
],
|
||
"title": "MySQL",
|
||
"type": "row"
|
||
},
|
||
{
|
||
"collapsed": true,
|
||
"gridPos": {
|
||
"h": 1,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 12
|
||
},
|
||
"id": 110,
|
||
"panels": [
|
||
{
|
||
"datasource": {
|
||
"type": "datasource",
|
||
"uid": "-- Dashboard --"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "fixed"
|
||
},
|
||
"displayName": "${__field.displayName}",
|
||
"mappings": [],
|
||
"max": 100,
|
||
"min": 0,
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "#808080"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 12,
|
||
"w": 6,
|
||
"x": 0,
|
||
"y": 13
|
||
},
|
||
"id": 124,
|
||
"options": {
|
||
"displayMode": "gradient",
|
||
"maxVizHeight": 300,
|
||
"minVizHeight": 10,
|
||
"minVizWidth": 0,
|
||
"namePlacement": "auto",
|
||
"orientation": "horizontal",
|
||
"reduceOptions": {
|
||
"calcs": ["lastNotNull"],
|
||
"fields": "",
|
||
"values": true
|
||
},
|
||
"showUnfilled": true,
|
||
"sizing": "auto",
|
||
"valueMode": "color"
|
||
},
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "datasource",
|
||
"uid": "-- Dashboard --"
|
||
},
|
||
"panelId": 106,
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "PostgreSQL CPU Percentage",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_ResourceId": true,
|
||
"h1color": false,
|
||
"h2color": true,
|
||
"h3color": true,
|
||
"h4color": true,
|
||
"hcolor": true,
|
||
"health": true,
|
||
"health1": true,
|
||
"health2": true,
|
||
"health3": true,
|
||
"health4": true,
|
||
"kpi1": false,
|
||
"kpi2": true,
|
||
"kpi3": true,
|
||
"kpi4": true
|
||
},
|
||
"includeByName": {},
|
||
"indexByName": {},
|
||
"renameByName": {}
|
||
}
|
||
},
|
||
{
|
||
"id": "sortBy",
|
||
"options": {
|
||
"fields": {},
|
||
"sort": [
|
||
{
|
||
"desc": true,
|
||
"field": "kpi1"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"id": "rowsToFields",
|
||
"options": {
|
||
"mappings": [
|
||
{
|
||
"fieldName": "Resource",
|
||
"handlerKey": "field.name"
|
||
},
|
||
{
|
||
"fieldName": "kpi1",
|
||
"handlerKey": "field.value"
|
||
},
|
||
{
|
||
"fieldName": "h1color",
|
||
"handlerKey": "color"
|
||
}
|
||
]
|
||
}
|
||
}
|
||
],
|
||
"type": "bargauge"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "datasource",
|
||
"uid": "-- Dashboard --"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "fixed"
|
||
},
|
||
"displayName": "${__field.displayName}",
|
||
"mappings": [],
|
||
"max": 100,
|
||
"min": 0,
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "#808080"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 12,
|
||
"w": 6,
|
||
"x": 6,
|
||
"y": 13
|
||
},
|
||
"id": 125,
|
||
"options": {
|
||
"displayMode": "gradient",
|
||
"maxVizHeight": 300,
|
||
"minVizHeight": 10,
|
||
"minVizWidth": 0,
|
||
"namePlacement": "auto",
|
||
"orientation": "horizontal",
|
||
"reduceOptions": {
|
||
"calcs": ["lastNotNull"],
|
||
"fields": "",
|
||
"values": true
|
||
},
|
||
"showUnfilled": true,
|
||
"sizing": "auto",
|
||
"valueMode": "color"
|
||
},
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "datasource",
|
||
"uid": "-- Dashboard --"
|
||
},
|
||
"panelId": 106,
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "PostgreSQL Memory Percentage",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_ResourceId": true,
|
||
"h1color": true,
|
||
"h2color": false,
|
||
"h3color": true,
|
||
"h4color": true,
|
||
"hcolor": true,
|
||
"health": true,
|
||
"health1": true,
|
||
"health2": true,
|
||
"health3": true,
|
||
"health4": true,
|
||
"kpi1": true,
|
||
"kpi2": false,
|
||
"kpi3": true,
|
||
"kpi4": true
|
||
},
|
||
"includeByName": {},
|
||
"indexByName": {},
|
||
"renameByName": {}
|
||
}
|
||
},
|
||
{
|
||
"id": "sortBy",
|
||
"options": {
|
||
"fields": {},
|
||
"sort": [
|
||
{
|
||
"desc": true,
|
||
"field": "kpi2"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"id": "rowsToFields",
|
||
"options": {
|
||
"mappings": [
|
||
{
|
||
"fieldName": "Resource",
|
||
"handlerKey": "field.name"
|
||
},
|
||
{
|
||
"fieldName": "kpi2",
|
||
"handlerKey": "field.value"
|
||
},
|
||
{
|
||
"fieldName": "h2color",
|
||
"handlerKey": "color"
|
||
}
|
||
]
|
||
}
|
||
}
|
||
],
|
||
"type": "bargauge"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "datasource",
|
||
"uid": "-- Dashboard --"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "fixed"
|
||
},
|
||
"displayName": "${__field.displayName}",
|
||
"mappings": [],
|
||
"max": 100,
|
||
"min": 0,
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "#808080"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 12,
|
||
"w": 6,
|
||
"x": 12,
|
||
"y": 13
|
||
},
|
||
"id": 126,
|
||
"options": {
|
||
"displayMode": "gradient",
|
||
"maxVizHeight": 300,
|
||
"minVizHeight": 10,
|
||
"minVizWidth": 0,
|
||
"namePlacement": "auto",
|
||
"orientation": "horizontal",
|
||
"reduceOptions": {
|
||
"calcs": ["lastNotNull"],
|
||
"fields": "",
|
||
"values": true
|
||
},
|
||
"showUnfilled": true,
|
||
"sizing": "auto",
|
||
"valueMode": "color"
|
||
},
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "datasource",
|
||
"uid": "-- Dashboard --"
|
||
},
|
||
"panelId": 106,
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "PostgreSQL Storage Percentage",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_ResourceId": true,
|
||
"h1color": true,
|
||
"h2color": true,
|
||
"h3color": false,
|
||
"h4color": true,
|
||
"hcolor": true,
|
||
"health": true,
|
||
"health1": true,
|
||
"health2": true,
|
||
"health3": true,
|
||
"health4": true,
|
||
"kpi1": true,
|
||
"kpi2": true,
|
||
"kpi3": false,
|
||
"kpi4": true
|
||
},
|
||
"includeByName": {},
|
||
"indexByName": {},
|
||
"renameByName": {}
|
||
}
|
||
},
|
||
{
|
||
"id": "sortBy",
|
||
"options": {
|
||
"fields": {},
|
||
"sort": [
|
||
{
|
||
"desc": true,
|
||
"field": "kpi3"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"id": "rowsToFields",
|
||
"options": {
|
||
"mappings": [
|
||
{
|
||
"fieldName": "Resource",
|
||
"handlerKey": "field.name"
|
||
},
|
||
{
|
||
"fieldName": "kpi3",
|
||
"handlerKey": "field.value"
|
||
},
|
||
{
|
||
"fieldName": "h3color",
|
||
"handlerKey": "color"
|
||
}
|
||
]
|
||
}
|
||
}
|
||
],
|
||
"type": "bargauge"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "datasource",
|
||
"uid": "-- Dashboard --"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "fixed"
|
||
},
|
||
"displayName": "${__field.displayName}",
|
||
"mappings": [],
|
||
"max": 1,
|
||
"min": 0,
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "#808080"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 12,
|
||
"w": 6,
|
||
"x": 18,
|
||
"y": 13
|
||
},
|
||
"id": 127,
|
||
"options": {
|
||
"displayMode": "gradient",
|
||
"maxVizHeight": 300,
|
||
"minVizHeight": 10,
|
||
"minVizWidth": 0,
|
||
"namePlacement": "auto",
|
||
"orientation": "horizontal",
|
||
"reduceOptions": {
|
||
"calcs": ["lastNotNull"],
|
||
"fields": "",
|
||
"values": true
|
||
},
|
||
"showUnfilled": true,
|
||
"sizing": "auto",
|
||
"valueMode": "color"
|
||
},
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "datasource",
|
||
"uid": "-- Dashboard --"
|
||
},
|
||
"panelId": 106,
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "PostgreSQL Is DB Alive",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_ResourceId": true,
|
||
"h1color": true,
|
||
"h2color": true,
|
||
"h3color": true,
|
||
"h4color": false,
|
||
"hcolor": true,
|
||
"health": true,
|
||
"health1": true,
|
||
"health2": true,
|
||
"health3": true,
|
||
"health4": true,
|
||
"kpi1": true,
|
||
"kpi2": true,
|
||
"kpi3": true,
|
||
"kpi4": false
|
||
},
|
||
"includeByName": {},
|
||
"indexByName": {},
|
||
"renameByName": {}
|
||
}
|
||
},
|
||
{
|
||
"id": "sortBy",
|
||
"options": {
|
||
"fields": {},
|
||
"sort": [
|
||
{
|
||
"desc": true,
|
||
"field": "kpi4"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"id": "rowsToFields",
|
||
"options": {
|
||
"mappings": [
|
||
{
|
||
"fieldName": "Resource",
|
||
"handlerKey": "field.name"
|
||
},
|
||
{
|
||
"fieldName": "kpi4",
|
||
"handlerKey": "field.value"
|
||
},
|
||
{
|
||
"fieldName": "h4color",
|
||
"handlerKey": "color"
|
||
}
|
||
]
|
||
}
|
||
}
|
||
],
|
||
"type": "bargauge"
|
||
}
|
||
],
|
||
"title": "PostgreSQL",
|
||
"type": "row"
|
||
},
|
||
{
|
||
"collapsed": true,
|
||
"gridPos": {
|
||
"h": 1,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 13
|
||
},
|
||
"id": 99,
|
||
"panels": [
|
||
{
|
||
"datasource": {
|
||
"type": "datasource",
|
||
"uid": "-- Dashboard --"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "fixed"
|
||
},
|
||
"displayName": "${__field.displayName}",
|
||
"mappings": [],
|
||
"max": 10,
|
||
"min": 0,
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "#808080"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 12,
|
||
"w": 6,
|
||
"x": 0,
|
||
"y": 14
|
||
},
|
||
"id": 100,
|
||
"options": {
|
||
"displayMode": "gradient",
|
||
"maxVizHeight": 300,
|
||
"minVizHeight": 10,
|
||
"minVizWidth": 0,
|
||
"namePlacement": "auto",
|
||
"orientation": "horizontal",
|
||
"reduceOptions": {
|
||
"calcs": ["lastNotNull"],
|
||
"fields": "",
|
||
"values": true
|
||
},
|
||
"showUnfilled": true,
|
||
"sizing": "auto",
|
||
"valueMode": "color"
|
||
},
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "datasource",
|
||
"uid": "-- Dashboard --"
|
||
},
|
||
"panelId": 98,
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "Event Hub User Errors",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_ResourceId": true,
|
||
"h1color": false,
|
||
"h2color": true,
|
||
"h3color": true,
|
||
"h4color": true,
|
||
"hcolor": true,
|
||
"health": true,
|
||
"health1": true,
|
||
"health2": true,
|
||
"health3": true,
|
||
"health4": true,
|
||
"kpi1": false,
|
||
"kpi2": true,
|
||
"kpi3": true,
|
||
"kpi4": true
|
||
},
|
||
"includeByName": {},
|
||
"indexByName": {},
|
||
"renameByName": {}
|
||
}
|
||
},
|
||
{
|
||
"id": "sortBy",
|
||
"options": {
|
||
"fields": {},
|
||
"sort": [
|
||
{
|
||
"desc": false,
|
||
"field": "kpi1"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"id": "rowsToFields",
|
||
"options": {
|
||
"mappings": [
|
||
{
|
||
"fieldName": "Resource",
|
||
"handlerKey": "field.name"
|
||
},
|
||
{
|
||
"fieldName": "kpi1",
|
||
"handlerKey": "field.value"
|
||
},
|
||
{
|
||
"fieldName": "h1color",
|
||
"handlerKey": "color"
|
||
}
|
||
]
|
||
}
|
||
}
|
||
],
|
||
"type": "bargauge"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "datasource",
|
||
"uid": "-- Dashboard --"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "fixed"
|
||
},
|
||
"displayName": "${__field.displayName}",
|
||
"mappings": [],
|
||
"max": 10,
|
||
"min": 0,
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "#808080"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 12,
|
||
"w": 6,
|
||
"x": 6,
|
||
"y": 14
|
||
},
|
||
"id": 101,
|
||
"options": {
|
||
"displayMode": "gradient",
|
||
"maxVizHeight": 300,
|
||
"minVizHeight": 10,
|
||
"minVizWidth": 0,
|
||
"namePlacement": "auto",
|
||
"orientation": "horizontal",
|
||
"reduceOptions": {
|
||
"calcs": ["lastNotNull"],
|
||
"fields": "",
|
||
"values": true
|
||
},
|
||
"showUnfilled": true,
|
||
"sizing": "auto",
|
||
"valueMode": "color"
|
||
},
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "datasource",
|
||
"uid": "-- Dashboard --"
|
||
},
|
||
"panelId": 98,
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "Event Hub Server Errors",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_ResourceId": true,
|
||
"h1color": true,
|
||
"h2color": false,
|
||
"h3color": true,
|
||
"h4color": true,
|
||
"hcolor": true,
|
||
"health": true,
|
||
"health1": true,
|
||
"health2": true,
|
||
"health3": true,
|
||
"health4": true,
|
||
"kpi1": true,
|
||
"kpi2": false,
|
||
"kpi3": true,
|
||
"kpi4": true
|
||
},
|
||
"includeByName": {},
|
||
"indexByName": {},
|
||
"renameByName": {}
|
||
}
|
||
},
|
||
{
|
||
"id": "sortBy",
|
||
"options": {
|
||
"fields": {},
|
||
"sort": [
|
||
{
|
||
"desc": false,
|
||
"field": "kpi2"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"id": "rowsToFields",
|
||
"options": {
|
||
"mappings": [
|
||
{
|
||
"fieldName": "Resource",
|
||
"handlerKey": "field.name"
|
||
},
|
||
{
|
||
"fieldName": "kpi2",
|
||
"handlerKey": "field.value"
|
||
},
|
||
{
|
||
"fieldName": "h2color",
|
||
"handlerKey": "color"
|
||
}
|
||
]
|
||
}
|
||
}
|
||
],
|
||
"type": "bargauge"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "datasource",
|
||
"uid": "-- Dashboard --"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "fixed"
|
||
},
|
||
"displayName": "${__field.displayName}",
|
||
"mappings": [],
|
||
"max": 10,
|
||
"min": 0,
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "#808080"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 12,
|
||
"w": 6,
|
||
"x": 12,
|
||
"y": 14
|
||
},
|
||
"id": 102,
|
||
"options": {
|
||
"displayMode": "gradient",
|
||
"maxVizHeight": 300,
|
||
"minVizHeight": 10,
|
||
"minVizWidth": 0,
|
||
"namePlacement": "auto",
|
||
"orientation": "horizontal",
|
||
"reduceOptions": {
|
||
"calcs": ["lastNotNull"],
|
||
"fields": "",
|
||
"values": true
|
||
},
|
||
"showUnfilled": true,
|
||
"sizing": "auto",
|
||
"valueMode": "color"
|
||
},
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "datasource",
|
||
"uid": "-- Dashboard --"
|
||
},
|
||
"panelId": 98,
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "Event Hub Quota Exceeded Errors",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_ResourceId": true,
|
||
"h1color": true,
|
||
"h2color": true,
|
||
"h3color": false,
|
||
"h4color": true,
|
||
"hcolor": true,
|
||
"health": true,
|
||
"health1": true,
|
||
"health2": true,
|
||
"health3": true,
|
||
"health4": true,
|
||
"kpi1": true,
|
||
"kpi2": true,
|
||
"kpi3": false,
|
||
"kpi4": true
|
||
},
|
||
"includeByName": {},
|
||
"indexByName": {},
|
||
"renameByName": {}
|
||
}
|
||
},
|
||
{
|
||
"id": "sortBy",
|
||
"options": {
|
||
"fields": {},
|
||
"sort": [
|
||
{
|
||
"desc": true,
|
||
"field": "kpi3"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"id": "rowsToFields",
|
||
"options": {
|
||
"mappings": [
|
||
{
|
||
"fieldName": "Resource",
|
||
"handlerKey": "field.name"
|
||
},
|
||
{
|
||
"fieldName": "kpi3",
|
||
"handlerKey": "field.value"
|
||
},
|
||
{
|
||
"fieldName": "h3color",
|
||
"handlerKey": "color"
|
||
}
|
||
]
|
||
}
|
||
}
|
||
],
|
||
"type": "bargauge"
|
||
}
|
||
],
|
||
"title": "Event Hubs",
|
||
"type": "row"
|
||
}
|
||
],
|
||
"refresh": "",
|
||
"schemaVersion": 39,
|
||
"tags": ["azure-infra-monitor"],
|
||
"templating": {
|
||
"list": [
|
||
{
|
||
"current": {},
|
||
"hide": 0,
|
||
"includeAll": false,
|
||
"label": "Datasource",
|
||
"multi": false,
|
||
"name": "ds",
|
||
"options": [],
|
||
"query": "grafana-azure-monitor-datasource",
|
||
"queryValue": "",
|
||
"refresh": 1,
|
||
"regex": "",
|
||
"skipUrlSync": false,
|
||
"type": "datasource"
|
||
},
|
||
{
|
||
"current": {},
|
||
"hide": 2,
|
||
"includeAll": false,
|
||
"label": "Azure Monitor Baseline Alerts",
|
||
"multi": false,
|
||
"name": "amba",
|
||
"options": [],
|
||
"query": "marcusolsson-json-datasource",
|
||
"refresh": 1,
|
||
"regex": "",
|
||
"skipUrlSync": false,
|
||
"type": "datasource"
|
||
},
|
||
{
|
||
"current": {},
|
||
"datasource": {
|
||
"type": "grafana-azure-monitor-datasource",
|
||
"uid": "${ds}"
|
||
},
|
||
"definition": "",
|
||
"description": "Subscriptions used to filter Log Analytics Workspaces variable.",
|
||
"hide": 0,
|
||
"includeAll": false,
|
||
"label": "Workspace Scope",
|
||
"multi": true,
|
||
"name": "subsWSScope",
|
||
"options": [],
|
||
"query": {
|
||
"azureLogAnalytics": {
|
||
"query": "",
|
||
"resources": []
|
||
},
|
||
"queryType": "Azure Subscriptions",
|
||
"refId": "A"
|
||
},
|
||
"refresh": 1,
|
||
"regex": "",
|
||
"skipUrlSync": false,
|
||
"sort": 5,
|
||
"type": "query"
|
||
},
|
||
{
|
||
"current": {},
|
||
"datasource": {
|
||
"type": "grafana-azure-monitor-datasource",
|
||
"uid": "${ds}"
|
||
},
|
||
"definition": "",
|
||
"description": "Log Analytics Workspaces in scope.",
|
||
"hide": 0,
|
||
"includeAll": false,
|
||
"label": "Workspaces",
|
||
"multi": true,
|
||
"name": "laws",
|
||
"options": [],
|
||
"query": {
|
||
"azureLogAnalytics": {
|
||
"query": "",
|
||
"resources": []
|
||
},
|
||
"azureResourceGraph": {
|
||
"query": "resources\r\n| where type == \"microsoft.operationalinsights/workspaces\"\r\n| project value=['id'], text=['name']"
|
||
},
|
||
"queryType": "Azure Resource Graph",
|
||
"refId": "A",
|
||
"subscriptions": ["$subsWSScope"]
|
||
},
|
||
"refresh": 1,
|
||
"regex": "",
|
||
"skipUrlSync": false,
|
||
"sort": 0,
|
||
"type": "query"
|
||
},
|
||
{
|
||
"current": {},
|
||
"datasource": {
|
||
"type": "grafana-azure-monitor-datasource",
|
||
"uid": "${ds}"
|
||
},
|
||
"definition": "",
|
||
"description": "Subscriptions used to filter resources returned from queries.",
|
||
"hide": 0,
|
||
"includeAll": false,
|
||
"label": "Resource Scope",
|
||
"multi": true,
|
||
"name": "subsRESScope",
|
||
"options": [],
|
||
"query": {
|
||
"azureLogAnalytics": {
|
||
"query": "",
|
||
"resources": []
|
||
},
|
||
"queryType": "Azure Subscriptions",
|
||
"refId": "A"
|
||
},
|
||
"refresh": 1,
|
||
"regex": "",
|
||
"skipUrlSync": false,
|
||
"sort": 5,
|
||
"type": "query"
|
||
},
|
||
{
|
||
"current": {
|
||
"selected": false,
|
||
"text": "\"rgb(45,161,55)\"",
|
||
"value": "\"rgb(45,161,55)\""
|
||
},
|
||
"description": "Color used when KPIs are below thresholds.",
|
||
"hide": 2,
|
||
"includeAll": false,
|
||
"multi": false,
|
||
"name": "healthy_color",
|
||
"options": [
|
||
{
|
||
"selected": true,
|
||
"text": "\"rgb(45,161,55)\"",
|
||
"value": "\"rgb(45,161,55)\""
|
||
}
|
||
],
|
||
"query": "\"rgb(45\\,161\\,55)\"",
|
||
"skipUrlSync": false,
|
||
"type": "custom"
|
||
},
|
||
{
|
||
"current": {
|
||
"selected": false,
|
||
"text": "\"rgb(222,210,38)\"",
|
||
"value": "\"rgb(222,210,38)\""
|
||
},
|
||
"description": "Color used when one KPI exceeds threshold",
|
||
"hide": 2,
|
||
"includeAll": false,
|
||
"multi": false,
|
||
"name": "warning_color",
|
||
"options": [
|
||
{
|
||
"selected": true,
|
||
"text": "\"rgb(222,210,38)\"",
|
||
"value": "\"rgb(222,210,38)\""
|
||
}
|
||
],
|
||
"query": "\"rgb(222\\,210\\,38)\"",
|
||
"skipUrlSync": false,
|
||
"type": "custom"
|
||
},
|
||
{
|
||
"current": {
|
||
"selected": false,
|
||
"text": "\"rgb(255,31,46)\"",
|
||
"value": "\"rgb(255,31,46)\""
|
||
},
|
||
"description": "Color used when KPIs exceed thresholds",
|
||
"hide": 2,
|
||
"includeAll": false,
|
||
"multi": false,
|
||
"name": "unhealthy_color",
|
||
"options": [
|
||
{
|
||
"selected": true,
|
||
"text": "\"rgb(255,31,46)\"",
|
||
"value": "\"rgb(255,31,46)\""
|
||
}
|
||
],
|
||
"query": "\"rgb(255\\,31\\,46)\"",
|
||
"skipUrlSync": false,
|
||
"type": "custom"
|
||
},
|
||
{
|
||
"current": {},
|
||
"datasource": {
|
||
"type": "marcusolsson-json-datasource",
|
||
"uid": "${amba}"
|
||
},
|
||
"definition": "\"Microsoft.EventHub/namespaces\".\"UserErrors\"",
|
||
"description": "",
|
||
"hide": 2,
|
||
"includeAll": false,
|
||
"multi": false,
|
||
"name": "amba_eventhub_UserErrors",
|
||
"options": [],
|
||
"query": {
|
||
"cacheDurationSeconds": 300,
|
||
"fields": [
|
||
{
|
||
"jsonPath": "\"Microsoft.EventHub/namespaces\".\"UserErrors\"",
|
||
"language": "jsonata"
|
||
}
|
||
],
|
||
"method": "GET",
|
||
"queryParams": "",
|
||
"urlPath": ""
|
||
},
|
||
"refresh": 1,
|
||
"regex": "",
|
||
"skipUrlSync": false,
|
||
"sort": 0,
|
||
"type": "query"
|
||
},
|
||
{
|
||
"current": {},
|
||
"datasource": {
|
||
"type": "marcusolsson-json-datasource",
|
||
"uid": "${amba}"
|
||
},
|
||
"definition": "\"Microsoft.EventHub/namespaces\".\"ServerErrors\"",
|
||
"description": "",
|
||
"hide": 2,
|
||
"includeAll": false,
|
||
"multi": false,
|
||
"name": "amba_eventhub_ServerErrors",
|
||
"options": [],
|
||
"query": {
|
||
"cacheDurationSeconds": 300,
|
||
"fields": [
|
||
{
|
||
"jsonPath": "\"Microsoft.EventHub/namespaces\".\"ServerErrors\"",
|
||
"language": "jsonata"
|
||
}
|
||
],
|
||
"method": "GET",
|
||
"queryParams": "",
|
||
"urlPath": ""
|
||
},
|
||
"refresh": 1,
|
||
"regex": "",
|
||
"skipUrlSync": false,
|
||
"sort": 0,
|
||
"type": "query"
|
||
},
|
||
{
|
||
"current": {},
|
||
"datasource": {
|
||
"type": "marcusolsson-json-datasource",
|
||
"uid": "${amba}"
|
||
},
|
||
"definition": "\"Microsoft.EventHub/namespaces\".\"ThrottledRequests\"",
|
||
"description": "",
|
||
"hide": 2,
|
||
"includeAll": false,
|
||
"multi": false,
|
||
"name": "amba_eventhub_ThrottledRequests",
|
||
"options": [],
|
||
"query": {
|
||
"cacheDurationSeconds": 300,
|
||
"fields": [
|
||
{
|
||
"jsonPath": "\"Microsoft.EventHub/namespaces\".\"ThrottledRequests\"",
|
||
"language": "jsonata"
|
||
}
|
||
],
|
||
"method": "GET",
|
||
"queryParams": "",
|
||
"urlPath": ""
|
||
},
|
||
"refresh": 1,
|
||
"regex": "",
|
||
"skipUrlSync": false,
|
||
"sort": 0,
|
||
"type": "query"
|
||
},
|
||
{
|
||
"current": {},
|
||
"datasource": {
|
||
"type": "marcusolsson-json-datasource",
|
||
"uid": "${amba}"
|
||
},
|
||
"definition": "\"Microsoft.DocumentDB/databaseAccounts\".\"ServerSideLatency\"",
|
||
"description": "",
|
||
"hide": 2,
|
||
"includeAll": false,
|
||
"multi": false,
|
||
"name": "amba_cosmosDB_ServerSideLatency",
|
||
"options": [],
|
||
"query": {
|
||
"cacheDurationSeconds": 300,
|
||
"fields": [
|
||
{
|
||
"jsonPath": "\"Microsoft.DocumentDB/databaseAccounts\".\"ServerSideLatency\"",
|
||
"language": "jsonata"
|
||
}
|
||
],
|
||
"method": "GET",
|
||
"queryParams": "",
|
||
"urlPath": ""
|
||
},
|
||
"refresh": 1,
|
||
"regex": "",
|
||
"skipUrlSync": false,
|
||
"sort": 0,
|
||
"type": "query"
|
||
},
|
||
{
|
||
"current": {},
|
||
"datasource": {
|
||
"type": "marcusolsson-json-datasource",
|
||
"uid": "${amba}"
|
||
},
|
||
"definition": "\"Microsoft.DocumentDB/databaseAccounts\".\"ReplicationLatency\"",
|
||
"description": "",
|
||
"hide": 2,
|
||
"includeAll": false,
|
||
"multi": false,
|
||
"name": "amba_cosmosDB_ReplicationLatency",
|
||
"options": [],
|
||
"query": {
|
||
"cacheDurationSeconds": 300,
|
||
"fields": [
|
||
{
|
||
"jsonPath": "\"Microsoft.DocumentDB/databaseAccounts\".\"ReplicationLatency\"",
|
||
"language": "jsonata"
|
||
}
|
||
],
|
||
"method": "GET",
|
||
"queryParams": "",
|
||
"urlPath": ""
|
||
},
|
||
"refresh": 1,
|
||
"regex": "",
|
||
"skipUrlSync": false,
|
||
"sort": 0,
|
||
"type": "query"
|
||
},
|
||
{
|
||
"current": {},
|
||
"datasource": {
|
||
"type": "marcusolsson-json-datasource",
|
||
"uid": "${amba}"
|
||
},
|
||
"definition": "\"Microsoft.DocumentDB/databaseAccounts\".\"ServiceAvailability\"",
|
||
"description": "",
|
||
"hide": 2,
|
||
"includeAll": false,
|
||
"multi": false,
|
||
"name": "amba_cosmosDB_ServiceAvailability",
|
||
"options": [],
|
||
"query": {
|
||
"cacheDurationSeconds": 300,
|
||
"fields": [
|
||
{
|
||
"jsonPath": "\"Microsoft.DocumentDB/databaseAccounts\".\"ServiceAvailability\"",
|
||
"language": "jsonata"
|
||
}
|
||
],
|
||
"method": "GET",
|
||
"queryParams": "",
|
||
"urlPath": ""
|
||
},
|
||
"refresh": 1,
|
||
"regex": "",
|
||
"skipUrlSync": false,
|
||
"sort": 0,
|
||
"type": "query"
|
||
},
|
||
{
|
||
"current": {},
|
||
"datasource": {
|
||
"type": "marcusolsson-json-datasource",
|
||
"uid": "${amba}"
|
||
},
|
||
"definition": "\"Microsoft.DocumentDB/databaseAccounts\".\"OfflineRegion\"",
|
||
"description": "",
|
||
"hide": 2,
|
||
"includeAll": false,
|
||
"multi": false,
|
||
"name": "amba_cosmosDB_OfflineRegion",
|
||
"options": [],
|
||
"query": {
|
||
"cacheDurationSeconds": 300,
|
||
"fields": [
|
||
{
|
||
"jsonPath": "\"Microsoft.DocumentDB/databaseAccounts\".\"OfflineRegion\"",
|
||
"language": "jsonata"
|
||
}
|
||
],
|
||
"method": "GET",
|
||
"queryParams": "",
|
||
"urlPath": ""
|
||
},
|
||
"refresh": 1,
|
||
"regex": "",
|
||
"skipUrlSync": false,
|
||
"sort": 0,
|
||
"type": "query"
|
||
},
|
||
{
|
||
"current": {},
|
||
"datasource": {
|
||
"type": "marcusolsson-json-datasource",
|
||
"uid": "${amba}"
|
||
},
|
||
"definition": "\"Microsoft.Sql/servers\".\"cpu_percent\"",
|
||
"description": "",
|
||
"hide": 2,
|
||
"includeAll": false,
|
||
"multi": false,
|
||
"name": "amba_SQL_cpu_percent",
|
||
"options": [],
|
||
"query": {
|
||
"cacheDurationSeconds": 300,
|
||
"fields": [
|
||
{
|
||
"jsonPath": "\"Microsoft.Sql/servers\".\"cpu_percent\"",
|
||
"language": "jsonata"
|
||
}
|
||
],
|
||
"method": "GET",
|
||
"queryParams": "",
|
||
"urlPath": ""
|
||
},
|
||
"refresh": 1,
|
||
"regex": "",
|
||
"skipUrlSync": false,
|
||
"sort": 0,
|
||
"type": "query"
|
||
},
|
||
{
|
||
"current": {},
|
||
"datasource": {
|
||
"type": "marcusolsson-json-datasource",
|
||
"uid": "${amba}"
|
||
},
|
||
"definition": "\"Microsoft.Sql/servers\".\"sqlserver_process_memory_percent\"",
|
||
"description": "",
|
||
"hide": 2,
|
||
"includeAll": false,
|
||
"multi": false,
|
||
"name": "amba_SQL_sqlserver_process_memory_percent",
|
||
"options": [],
|
||
"query": {
|
||
"cacheDurationSeconds": 300,
|
||
"fields": [
|
||
{
|
||
"jsonPath": "\"Microsoft.Sql/servers\".\"sqlserver_process_memory_percent\"",
|
||
"language": "jsonata"
|
||
}
|
||
],
|
||
"method": "GET",
|
||
"queryParams": "",
|
||
"urlPath": ""
|
||
},
|
||
"refresh": 1,
|
||
"regex": "",
|
||
"skipUrlSync": false,
|
||
"sort": 0,
|
||
"type": "query"
|
||
},
|
||
{
|
||
"current": {},
|
||
"datasource": {
|
||
"type": "marcusolsson-json-datasource",
|
||
"uid": "${amba}"
|
||
},
|
||
"definition": "\"Microsoft.Sql/servers\".\"storage_percent\"",
|
||
"description": "",
|
||
"hide": 2,
|
||
"includeAll": false,
|
||
"multi": false,
|
||
"name": "amba_SQL_storage_percent",
|
||
"options": [],
|
||
"query": {
|
||
"cacheDurationSeconds": 300,
|
||
"fields": [
|
||
{
|
||
"jsonPath": "\"Microsoft.Sql/servers\".\"storage_percent\"",
|
||
"language": "jsonata"
|
||
}
|
||
],
|
||
"method": "GET",
|
||
"queryParams": "",
|
||
"urlPath": ""
|
||
},
|
||
"refresh": 1,
|
||
"regex": "",
|
||
"skipUrlSync": false,
|
||
"sort": 0,
|
||
"type": "query"
|
||
},
|
||
{
|
||
"current": {},
|
||
"datasource": {
|
||
"type": "marcusolsson-json-datasource",
|
||
"uid": "${amba}"
|
||
},
|
||
"definition": "\"Microsoft.Sql/servers\".\"physical_data_read_percent\"",
|
||
"description": "",
|
||
"hide": 2,
|
||
"includeAll": false,
|
||
"multi": false,
|
||
"name": "amba_SQL_physical_data_read_percent",
|
||
"options": [],
|
||
"query": {
|
||
"cacheDurationSeconds": 300,
|
||
"fields": [
|
||
{
|
||
"jsonPath": "\"Microsoft.Sql/servers\".\"physical_data_read_percent\"",
|
||
"language": "jsonata"
|
||
}
|
||
],
|
||
"method": "GET",
|
||
"queryParams": "",
|
||
"urlPath": ""
|
||
},
|
||
"refresh": 1,
|
||
"regex": "",
|
||
"skipUrlSync": false,
|
||
"sort": 0,
|
||
"type": "query"
|
||
},
|
||
{
|
||
"current": {},
|
||
"datasource": {
|
||
"type": "marcusolsson-json-datasource",
|
||
"uid": "${amba}"
|
||
},
|
||
"definition": "\"Microsoft.DBforMySQL/flexibleServers\".\"cpu_percent\"",
|
||
"description": "",
|
||
"hide": 2,
|
||
"includeAll": false,
|
||
"multi": false,
|
||
"name": "amba_MySQL_cpu_percent",
|
||
"options": [],
|
||
"query": {
|
||
"cacheDurationSeconds": 300,
|
||
"fields": [
|
||
{
|
||
"jsonPath": "\"Microsoft.DBforMySQL/flexibleServers\".\"cpu_percent\"",
|
||
"language": "jsonata"
|
||
}
|
||
],
|
||
"method": "GET",
|
||
"queryParams": "",
|
||
"urlPath": ""
|
||
},
|
||
"refresh": 1,
|
||
"regex": "",
|
||
"skipUrlSync": false,
|
||
"sort": 0,
|
||
"type": "query"
|
||
},
|
||
{
|
||
"current": {},
|
||
"datasource": {
|
||
"type": "marcusolsson-json-datasource",
|
||
"uid": "${amba}"
|
||
},
|
||
"definition": "\"Microsoft.DBforMySQL/flexibleServers\".\"memory_percent\"",
|
||
"description": "",
|
||
"hide": 2,
|
||
"includeAll": false,
|
||
"multi": false,
|
||
"name": "amba_MySQL_memory_percent",
|
||
"options": [],
|
||
"query": {
|
||
"cacheDurationSeconds": 300,
|
||
"fields": [
|
||
{
|
||
"jsonPath": "\"Microsoft.DBforMySQL/flexibleServers\".\"memory_percent\"",
|
||
"language": "jsonata"
|
||
}
|
||
],
|
||
"method": "GET",
|
||
"queryParams": "",
|
||
"urlPath": ""
|
||
},
|
||
"refresh": 1,
|
||
"regex": "",
|
||
"skipUrlSync": false,
|
||
"sort": 0,
|
||
"type": "query"
|
||
},
|
||
{
|
||
"current": {},
|
||
"datasource": {
|
||
"type": "marcusolsson-json-datasource",
|
||
"uid": "${amba}"
|
||
},
|
||
"definition": "\"Microsoft.DBforMySQL/flexibleServers\".\"storage_percent\"",
|
||
"description": "",
|
||
"hide": 2,
|
||
"includeAll": false,
|
||
"multi": false,
|
||
"name": "amba_MySQL_storage_percent",
|
||
"options": [],
|
||
"query": {
|
||
"cacheDurationSeconds": 300,
|
||
"fields": [
|
||
{
|
||
"jsonPath": "\"Microsoft.DBforMySQL/flexibleServers\".\"storage_percent\"",
|
||
"language": "jsonata"
|
||
}
|
||
],
|
||
"method": "GET",
|
||
"queryParams": "",
|
||
"urlPath": ""
|
||
},
|
||
"refresh": 1,
|
||
"regex": "",
|
||
"skipUrlSync": false,
|
||
"sort": 0,
|
||
"type": "query"
|
||
},
|
||
{
|
||
"current": {},
|
||
"datasource": {
|
||
"type": "marcusolsson-json-datasource",
|
||
"uid": "${amba}"
|
||
},
|
||
"definition": "\"Microsoft.DBforMySQL/flexibleServers\".\"replication_lag\"",
|
||
"description": "",
|
||
"hide": 2,
|
||
"includeAll": false,
|
||
"multi": false,
|
||
"name": "amba_MySQL_replication_lag",
|
||
"options": [],
|
||
"query": {
|
||
"cacheDurationSeconds": 300,
|
||
"fields": [
|
||
{
|
||
"jsonPath": "\"Microsoft.DBforMySQL/flexibleServers\".\"replication_lag\"",
|
||
"language": "jsonata"
|
||
}
|
||
],
|
||
"method": "GET",
|
||
"queryParams": "",
|
||
"urlPath": ""
|
||
},
|
||
"refresh": 1,
|
||
"regex": "",
|
||
"skipUrlSync": false,
|
||
"sort": 0,
|
||
"type": "query"
|
||
},
|
||
{
|
||
"current": {},
|
||
"datasource": {
|
||
"type": "marcusolsson-json-datasource",
|
||
"uid": "${amba}"
|
||
},
|
||
"definition": "\"Microsoft.DBforPostgreSQL/flexibleServers\".\"cpu_percent\"",
|
||
"description": "",
|
||
"hide": 2,
|
||
"includeAll": false,
|
||
"multi": false,
|
||
"name": "amba_PostgreSQL_cpu_percent",
|
||
"options": [],
|
||
"query": {
|
||
"cacheDurationSeconds": 300,
|
||
"fields": [
|
||
{
|
||
"jsonPath": "\"Microsoft.DBforPostgreSQL/flexibleServers\".\"cpu_percent\"",
|
||
"language": "jsonata"
|
||
}
|
||
],
|
||
"method": "GET",
|
||
"queryParams": "",
|
||
"urlPath": ""
|
||
},
|
||
"refresh": 1,
|
||
"regex": "",
|
||
"skipUrlSync": false,
|
||
"sort": 0,
|
||
"type": "query"
|
||
},
|
||
{
|
||
"current": {},
|
||
"datasource": {
|
||
"type": "marcusolsson-json-datasource",
|
||
"uid": "${amba}"
|
||
},
|
||
"definition": "\"Microsoft.DBforPostgreSQL/flexibleServers\".\"memory_percent\"",
|
||
"description": "",
|
||
"hide": 2,
|
||
"includeAll": false,
|
||
"multi": false,
|
||
"name": "amba_PostgreSQL_memory_percent",
|
||
"options": [],
|
||
"query": {
|
||
"cacheDurationSeconds": 300,
|
||
"fields": [
|
||
{
|
||
"jsonPath": "\"Microsoft.DBforPostgreSQL/flexibleServers\".\"memory_percent\"",
|
||
"language": "jsonata"
|
||
}
|
||
],
|
||
"method": "GET",
|
||
"queryParams": "",
|
||
"urlPath": ""
|
||
},
|
||
"refresh": 1,
|
||
"regex": "",
|
||
"skipUrlSync": false,
|
||
"sort": 0,
|
||
"type": "query"
|
||
},
|
||
{
|
||
"current": {},
|
||
"datasource": {
|
||
"type": "marcusolsson-json-datasource",
|
||
"uid": "${amba}"
|
||
},
|
||
"definition": "\"Microsoft.DBforPostgreSQL/flexibleServers\".\"storage_percent\"",
|
||
"description": "",
|
||
"hide": 2,
|
||
"includeAll": false,
|
||
"multi": false,
|
||
"name": "amba_PostgreSQL_storage_percent",
|
||
"options": [],
|
||
"query": {
|
||
"cacheDurationSeconds": 300,
|
||
"fields": [
|
||
{
|
||
"jsonPath": "\"Microsoft.DBforPostgreSQL/flexibleServers\".\"storage_percent\"",
|
||
"language": "jsonata"
|
||
}
|
||
],
|
||
"method": "GET",
|
||
"queryParams": "",
|
||
"urlPath": ""
|
||
},
|
||
"refresh": 1,
|
||
"regex": "",
|
||
"skipUrlSync": false,
|
||
"sort": 0,
|
||
"type": "query"
|
||
},
|
||
{
|
||
"current": {},
|
||
"datasource": {
|
||
"type": "marcusolsson-json-datasource",
|
||
"uid": "${amba}"
|
||
},
|
||
"definition": "\"Microsoft.DBforPostgreSQL/flexibleServers\".\"is_db_alive\"",
|
||
"description": "",
|
||
"hide": 2,
|
||
"includeAll": false,
|
||
"multi": false,
|
||
"name": "amba_PostgreSQL_is_db_alive",
|
||
"options": [],
|
||
"query": {
|
||
"cacheDurationSeconds": 300,
|
||
"fields": [
|
||
{
|
||
"jsonPath": "\"Microsoft.DBforPostgreSQL/flexibleServers\".\"is_db_alive\"",
|
||
"language": "jsonata"
|
||
}
|
||
],
|
||
"method": "GET",
|
||
"queryParams": "",
|
||
"urlPath": ""
|
||
},
|
||
"refresh": 1,
|
||
"regex": "",
|
||
"skipUrlSync": false,
|
||
"sort": 0,
|
||
"type": "query"
|
||
}
|
||
]
|
||
},
|
||
"time": {
|
||
"from": "now-6h",
|
||
"to": "now"
|
||
},
|
||
"timepicker": {},
|
||
"timezone": "",
|
||
"title": "Azure / Infrastructure / Data Monitoring",
|
||
"version": 57
|
||
}
|