From 16d0aff26707b80fda408708d1c67bb2fe0586e9 Mon Sep 17 00:00:00 2001 From: O Yves Chan Date: Tue, 17 Oct 2023 11:52:43 -0700 Subject: [PATCH] Azure Monitor: Fix variable in app insights dependencies dashboard (#76717) update performance description, fix variable in perf dependency --- .../dashboards/appInsightsPerfDependencies.json | 6 +++--- .../azuremonitor/dashboards/appInsightsPerfOperations.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/public/app/plugins/datasource/azuremonitor/dashboards/appInsightsPerfDependencies.json b/public/app/plugins/datasource/azuremonitor/dashboards/appInsightsPerfDependencies.json index bdda13917d5..a40b6ca601a 100644 --- a/public/app/plugins/datasource/azuremonitor/dashboards/appInsightsPerfDependencies.json +++ b/public/app/plugins/datasource/azuremonitor/dashboards/appInsightsPerfDependencies.json @@ -57,7 +57,7 @@ "version": "" } ], - "description": "The dashboard provides insights of Azure Apps via different metrics for app monitoring through Application Insights.", + "description": "The dashboard provides insights of dependency performance of Azure Apps through Application Insights.", "editable": true, "id": null, "links": [ @@ -1773,7 +1773,7 @@ "options": [], "query": { "azureLogAnalytics": { - "query": "dependencies\r\n| where $__timeFilter(timestamp)\r\n| where client_Type != \"Browser\"\r\n| extend type=iff(tolower(type) == \"http (tracked component)\", \"HTTP\", type), target=tostring(split(target, \" | cid-v1\")[0])\r\n| project [\"Dependency Name\"] = strcat(type, \": \", name, \" \", target), duration\r\n| where ['Dependency Name'] in ($dependency)\r\n| top 1 by duration asc\r\n| project tostring(duration)\r\n\r\n", + "query": "dependencies\r\n| where $__timeFilter(timestamp)\r\n| where client_Type != \"Browser\"\r\n| extend type=iff(tolower(type) == \"http (tracked component)\", \"HTTP\", type), target=tostring(split(target, \" | cid-v1\")[0])\r\n| project [\"Dependency Name\"] = strcat(type, \": \", name, \" \", target), duration\r\n| where (\"All\" in ($dependency) or [\"Dependency Name\"] in ($dependency))\r\n| top 1 by duration asc\r\n| project tostring(duration)", "resources": ["/subscriptions/$sub/resourceGroups/$rg/providers/$ns/$res"] }, "queryType": "Azure Log Analytics", @@ -1801,7 +1801,7 @@ "options": [], "query": { "azureLogAnalytics": { - "query": "dependencies\r\n| where $__timeFilter(timestamp)\r\n| where client_Type != \"Browser\"\r\n| extend type=iff(tolower(type) == \"http (tracked component)\", \"HTTP\", type), target=tostring(split(target, \" | cid-v1\")[0])\r\n| project [\"Dependency Name\"] = strcat(type, \": \", name, \" \", target), duration\r\n| where ['Dependency Name'] in ($dependency)\r\n| top 1 by duration desc\r\n| project tostring(duration)\r\n\r\n", + "query": "dependencies\r\n| where $__timeFilter(timestamp)\r\n| where client_Type != \"Browser\"\r\n| extend type=iff(tolower(type) == \"http (tracked component)\", \"HTTP\", type), target=tostring(split(target, \" | cid-v1\")[0])\r\n| project [\"Dependency Name\"] = strcat(type, \": \", name, \" \", target), duration\r\n| where (\"All\" in ($dependency) or [\"Dependency Name\"] in ($dependency))\r\n| top 1 by duration desc\r\n| project tostring(duration)", "resources": ["/subscriptions/$sub/resourceGroups/$rg/providers/$ns/$res"] }, "queryType": "Azure Log Analytics", diff --git a/public/app/plugins/datasource/azuremonitor/dashboards/appInsightsPerfOperations.json b/public/app/plugins/datasource/azuremonitor/dashboards/appInsightsPerfOperations.json index 9ef617525fd..971dfcdec37 100644 --- a/public/app/plugins/datasource/azuremonitor/dashboards/appInsightsPerfOperations.json +++ b/public/app/plugins/datasource/azuremonitor/dashboards/appInsightsPerfOperations.json @@ -57,7 +57,7 @@ "version": "" } ], - "description": "The dashboard provides insights of Azure Apps via different metrics for app monitoring through Application Insights.", + "description": "The dashboard provides insights of request performance of Azure Apps through Application Insights.", "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0,