appInsights.json 105 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542
  1. {
  2. "annotations": {
  3. "list": [
  4. {
  5. "builtIn": 1,
  6. "datasource": "-- Grafana --",
  7. "enable": true,
  8. "hide": true,
  9. "iconColor": "rgba(0, 211, 255, 1)",
  10. "name": "Annotations & Alerts",
  11. "target": {
  12. "limit": 100,
  13. "matchAny": false,
  14. "tags": [],
  15. "type": "dashboard"
  16. },
  17. "type": "dashboard"
  18. }
  19. ]
  20. },
  21. "description": "The dashboard provides insights of Azure Apps via different metrics for app monitoring through Application Insights.",
  22. "editable": true,
  23. "gnetId": null,
  24. "graphTooltip": 0,
  25. "id": null,
  26. "iteration": 1644348036942,
  27. "links": [],
  28. "panels": [
  29. {
  30. "collapsed": false,
  31. "datasource": null,
  32. "gridPos": {
  33. "h": 1,
  34. "w": 24,
  35. "x": 0,
  36. "y": 0
  37. },
  38. "id": 52,
  39. "panels": [],
  40. "title": "Azure Portal Links",
  41. "type": "row"
  42. },
  43. {
  44. "datasource": null,
  45. "gridPos": {
  46. "h": 3,
  47. "w": 5,
  48. "x": 0,
  49. "y": 1
  50. },
  51. "id": 10,
  52. "options": {
  53. "content": "<a style=\"color: inherit;\" href=\"https://ms.portal.azure.com/#@microsoft.onmicrosoft.com/resource/subscriptions/${sub}/resourceGroups/${rg}/providers/microsoft.insights/components/${res}/overview\" target=\"_blank\">\n <div>\n <h3 style=\"color: #a16feb\"> ${res} </h1>\n <h5 style=\"margin-bottom: 0px;\"> Application Insights </h5>\n </div>\n</a>",
  54. "mode": "html"
  55. },
  56. "pluginVersion": "8.2.7",
  57. "type": "text"
  58. },
  59. {
  60. "datasource": "${ds}",
  61. "fieldConfig": {
  62. "defaults": {
  63. "color": {
  64. "fixedColor": "text",
  65. "mode": "fixed"
  66. },
  67. "mappings": [],
  68. "noValue": "--",
  69. "thresholds": {
  70. "mode": "absolute",
  71. "steps": [
  72. {
  73. "color": "green",
  74. "value": null
  75. },
  76. {
  77. "color": "red",
  78. "value": 80
  79. }
  80. ]
  81. }
  82. },
  83. "overrides": [
  84. {
  85. "matcher": {
  86. "id": "byName",
  87. "options": "Availability"
  88. },
  89. "properties": [
  90. {
  91. "id": "links",
  92. "value": [
  93. {
  94. "targetBlank": true,
  95. "title": "",
  96. "url": "https://ms.portal.azure.com/#@microsoft.onmicrosoft.com/resource/subscriptions/${sub}/resourceGroups/${rg}/providers/microsoft.insights/components/${res}/availability"
  97. }
  98. ]
  99. }
  100. ]
  101. }
  102. ]
  103. },
  104. "gridPos": {
  105. "h": 3,
  106. "w": 2,
  107. "x": 5,
  108. "y": 1
  109. },
  110. "id": 40,
  111. "options": {
  112. "colorMode": "value",
  113. "graphMode": "none",
  114. "justifyMode": "center",
  115. "orientation": "vertical",
  116. "reduceOptions": {
  117. "calcs": ["lastNotNull"],
  118. "fields": "/^Availability$/",
  119. "values": false
  120. },
  121. "text": {},
  122. "textMode": "auto"
  123. },
  124. "pluginVersion": "8.2.7",
  125. "targets": [
  126. {
  127. "appInsights": {
  128. "dimension": [],
  129. "metricName": "select",
  130. "timeGrain": "auto"
  131. },
  132. "azureLogAnalytics": {
  133. "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",
  134. "resultFormat": "time_series"
  135. },
  136. "azureMonitor": {
  137. "aggOptions": [],
  138. "aggregation": "Average",
  139. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  140. "dimensionFilter": "*",
  141. "dimensionFilters": [],
  142. "metricDefinition": "microsoft.insights/components",
  143. "metricName": "availabilityResults/availabilityPercentage",
  144. "metricNamespace": "microsoft.insights/components",
  145. "resourceGroup": "$rg",
  146. "resourceName": "$res",
  147. "timeGrain": "auto",
  148. "timeGrains": [],
  149. "top": "50"
  150. },
  151. "azureResourceGraph": {
  152. "resultFormat": "table"
  153. },
  154. "insightsAnalytics": {
  155. "query": "",
  156. "resultFormat": "time_series"
  157. },
  158. "queryType": "Azure Monitor",
  159. "refId": "A",
  160. "subscription": "$sub",
  161. "subscriptions": []
  162. }
  163. ],
  164. "title": "Availability",
  165. "type": "stat"
  166. },
  167. {
  168. "datasource": null,
  169. "gridPos": {
  170. "h": 3,
  171. "w": 4,
  172. "x": 7,
  173. "y": 1
  174. },
  175. "id": 44,
  176. "links": [],
  177. "options": {
  178. "content": "<a style=\"color: inherit;\" href=\"https://ms.portal.azure.com/#blade/AppInsightsExtension/ProactiveDetectionFeedBlade/ComponentId/%7B%22Name%22%3A%22${res}%22%2C%22SubscriptionId%22%3A%22${sub}%22%2C%22ResourceGroup%22%3A%22${rg}%22%7D/TimeContext/%7B%22durationMs%22%3A604800000%2C%22endTime%22%3Anull%2C%22createdTime%22%3A%222021-10-18T19%3A26%3A58.876Z%22%2C%22isInitialTime%22%3Atrue%2C%22grain%22%3A1%2C%22useDashboardTimeRange%22%3Afalse%7D\" target=\"_blank\">\n<div style=\"padding-top: 20px\">\n <center><p style=\"color: #4d99b8; font-size:18px;\">Smart detection</p></center>\n <center><p style=\"margin-top:0px;\">${res}</p></center>\n</div>\n</a>",
  179. "mode": "html"
  180. },
  181. "pluginVersion": "8.2.7",
  182. "targets": [
  183. {
  184. "queryType": "randomWalk",
  185. "refId": "A"
  186. }
  187. ],
  188. "type": "text"
  189. },
  190. {
  191. "datasource": "Azure Monitor",
  192. "gridPos": {
  193. "h": 3,
  194. "w": 3,
  195. "x": 11,
  196. "y": 1
  197. },
  198. "id": 46,
  199. "links": [],
  200. "options": {
  201. "content": "<a style=\"color: inherit;\" href=\"https://ms.portal.azure.com/#@microsoft.onmicrosoft.com/resource/subscriptions/${sub}/resourceGroups/${rg}/providers/microsoft.insights/components/${res}/quickPulse\" target=\"_blank\">\n<div style=\"padding-top: 20px\">\n <center><p style=\"color: #2272b9; font-size:18px;\">Live Metrics</p></center>\n <center><p style=\"margin-top:0px;\">${res}</p></center>\n</div>\n</a>\n \n ",
  202. "mode": "html"
  203. },
  204. "pluginVersion": "8.2.7",
  205. "targets": [
  206. {
  207. "queryType": "randomWalk",
  208. "refId": "A"
  209. }
  210. ],
  211. "type": "text"
  212. },
  213. {
  214. "datasource": null,
  215. "gridPos": {
  216. "h": 3,
  217. "w": 3,
  218. "x": 14,
  219. "y": 1
  220. },
  221. "id": 42,
  222. "options": {
  223. "content": "<a style=\"color: inherit;\" href=\"https://ms.portal.azure.com/#@microsoft.onmicrosoft.com/resource/subscriptions/${sub}/resourceGroups/${rg}/providers/microsoft.insights/components/${res}/applicationMap\" target=\"_blank\">\n<div style=\"padding-top: 20px;\">\n <center><p style=\"position:center; color: #ff8c00; font-size:18px\">App map</p></center>\n <center><p style=\"margin-top:0px;\">${res}</p></center>\n</div>\n</a>\n ",
  224. "mode": "html"
  225. },
  226. "pluginVersion": "8.2.7",
  227. "targets": [
  228. {
  229. "queryType": "randomWalk",
  230. "refId": "A"
  231. }
  232. ],
  233. "type": "text"
  234. },
  235. {
  236. "collapsed": false,
  237. "datasource": null,
  238. "gridPos": {
  239. "h": 1,
  240. "w": 24,
  241. "x": 0,
  242. "y": 4
  243. },
  244. "id": 54,
  245. "panels": [],
  246. "title": "Application Insights",
  247. "type": "row"
  248. },
  249. {
  250. "datasource": null,
  251. "gridPos": {
  252. "h": 3,
  253. "w": 4,
  254. "x": 0,
  255. "y": 5
  256. },
  257. "id": 12,
  258. "options": {
  259. "content": "<h1 style=\"font-size: 20px; color:#73bf69;\"> Usage </h1>",
  260. "mode": "html"
  261. },
  262. "pluginVersion": "8.2.7",
  263. "targets": [
  264. {
  265. "queryType": "randomWalk",
  266. "refId": "A"
  267. }
  268. ],
  269. "type": "text"
  270. },
  271. {
  272. "datasource": "${ds}",
  273. "fieldConfig": {
  274. "defaults": {
  275. "color": {
  276. "fixedColor": "green",
  277. "mode": "fixed"
  278. },
  279. "mappings": [],
  280. "thresholds": {
  281. "mode": "absolute",
  282. "steps": [
  283. {
  284. "color": "green",
  285. "value": null
  286. },
  287. {
  288. "color": "red",
  289. "value": 80
  290. }
  291. ]
  292. }
  293. },
  294. "overrides": [
  295. {
  296. "matcher": {
  297. "id": "byName",
  298. "options": "users/count_unique"
  299. },
  300. "properties": [
  301. {
  302. "id": "links",
  303. "value": [
  304. {
  305. "targetBlank": true,
  306. "title": "${res} | Users",
  307. "url": "https://ms.portal.azure.com/#@microsoft.onmicrosoft.com/resource/subscriptions/${sub}/resourceGroups/${rg}/providers/microsoft.insights/components/${res}/segmentationUsers"
  308. }
  309. ]
  310. },
  311. {
  312. "id": "displayName",
  313. "value": "Users"
  314. }
  315. ]
  316. }
  317. ]
  318. },
  319. "gridPos": {
  320. "h": 3,
  321. "w": 2,
  322. "x": 4,
  323. "y": 5
  324. },
  325. "id": 48,
  326. "options": {
  327. "colorMode": "background",
  328. "graphMode": "none",
  329. "justifyMode": "center",
  330. "orientation": "auto",
  331. "reduceOptions": {
  332. "calcs": ["sum"],
  333. "fields": "",
  334. "values": false
  335. },
  336. "text": {},
  337. "textMode": "auto"
  338. },
  339. "pluginVersion": "8.2.7",
  340. "targets": [
  341. {
  342. "appInsights": {
  343. "dimension": [],
  344. "metricName": "select",
  345. "timeGrain": "auto"
  346. },
  347. "azureLogAnalytics": {
  348. "query": "union\n (traces\n | where timestamp >= $__timeFrom and timestamp < $__timeTo),\n (requests\n | where timestamp >= $__timeFrom and timestamp < $__timeTo),\n (pageViews\n | where timestamp >= $__timeFrom and timestamp < $__timeTo),\n (dependencies\n | where timestamp >= $__timeFrom and timestamp < $__timeTo),\n (customEvents\n | where timestamp >= $__timeFrom and timestamp < $__timeTo),\n (availabilityResults\n | where timestamp >= $__timeFrom and timestamp < $__timeTo),\n (exceptions\n | where timestamp >= $__timeFrom and timestamp < $__timeTo),\n (customMetrics\n | where timestamp >= $__timeFrom and timestamp < $__timeTo),\n (browserTimings\n | where timestamp >= $__timeFrom and timestamp < $__timeTo)\n| where notempty(user_Id)\n| summarize ['users/count_unique'] = dcount(user_Id) by bin(timestamp, 1m)\n| order by timestamp desc",
  349. "resource": "/subscriptions/$sub/resourceGroups/$rg/providers/$ns/$res",
  350. "resultFormat": "time_series"
  351. },
  352. "azureMonitor": {
  353. "aggOptions": [],
  354. "aggregation": "Count",
  355. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  356. "dimensionFilter": "*",
  357. "dimensionFilters": [],
  358. "metricDefinition": "microsoft.insights/components",
  359. "metricName": "requests/count",
  360. "metricNamespace": "microsoft.insights/components",
  361. "resourceGroup": "$rg",
  362. "resourceName": "$res",
  363. "timeGrain": "auto",
  364. "timeGrains": [],
  365. "top": "50"
  366. },
  367. "azureResourceGraph": {
  368. "resultFormat": "table"
  369. },
  370. "hide": false,
  371. "insightsAnalytics": {
  372. "query": "",
  373. "resultFormat": "time_series"
  374. },
  375. "queryType": "Azure Log Analytics",
  376. "refId": "B",
  377. "subscription": "$sub",
  378. "subscriptions": []
  379. }
  380. ],
  381. "transformations": [],
  382. "type": "stat"
  383. },
  384. {
  385. "datasource": "Azure Monitor",
  386. "gridPos": {
  387. "h": 3,
  388. "w": 4,
  389. "x": 6,
  390. "y": 5
  391. },
  392. "id": 14,
  393. "options": {
  394. "content": "<h1 style=\"font-size:20px; color:#ec008c;\">Reliability</h1>",
  395. "mode": "html"
  396. },
  397. "pluginVersion": "8.2.7",
  398. "targets": [
  399. {
  400. "appInsights": {
  401. "dimension": [],
  402. "metricName": "select",
  403. "timeGrain": "auto"
  404. },
  405. "azureLogAnalytics": {
  406. "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",
  407. "resultFormat": "time_series"
  408. },
  409. "azureMonitor": {
  410. "aggOptions": [],
  411. "dimensionFilter": "*",
  412. "dimensionFilters": [],
  413. "metricDefinition": "Microsoft.Insights/components",
  414. "metricNamespace": "microsoft.insights/components",
  415. "resourceGroup": "$rg",
  416. "resourceName": "$res",
  417. "timeGrain": "",
  418. "timeGrains": [],
  419. "top": "10"
  420. },
  421. "azureResourceGraph": {
  422. "resultFormat": "table"
  423. },
  424. "insightsAnalytics": {
  425. "query": "",
  426. "resultFormat": "time_series"
  427. },
  428. "queryType": "Azure Monitor",
  429. "refId": "A",
  430. "subscription": "$sub",
  431. "subscriptions": []
  432. }
  433. ],
  434. "type": "text"
  435. },
  436. {
  437. "datasource": null,
  438. "gridPos": {
  439. "h": 3,
  440. "w": 2,
  441. "x": 10,
  442. "y": 5
  443. },
  444. "id": 36,
  445. "links": [],
  446. "options": {
  447. "content": "<a href=\"https://ms.portal.azure.com/#@microsoft.onmicrosoft.com/resource/subscriptions/${sub}/resourceGroups/${rg}/providers/microsoft.insights/components/${res}/failures\" target=\"_blank\">\n<div>\n <p style=\"font-size:16px; margin-bottom:0px; margin-top:0px;\"> Failures </p>\n <p style=\"margin-top: 0px;\">${res}</p>\n</div>\n</a>\n",
  448. "mode": "html"
  449. },
  450. "pluginVersion": "8.2.7",
  451. "targets": [
  452. {
  453. "queryType": "randomWalk",
  454. "refId": "A"
  455. }
  456. ],
  457. "type": "text"
  458. },
  459. {
  460. "datasource": "Azure Monitor",
  461. "gridPos": {
  462. "h": 3,
  463. "w": 3,
  464. "x": 12,
  465. "y": 5
  466. },
  467. "id": 17,
  468. "options": {
  469. "content": "<h1 style=\"font-size:20px; color:#7e58ff;\">Responsiveness</h1>",
  470. "mode": "html"
  471. },
  472. "pluginVersion": "8.2.7",
  473. "targets": [
  474. {
  475. "appInsights": {
  476. "dimension": [],
  477. "metricName": "select",
  478. "timeGrain": "auto"
  479. },
  480. "azureLogAnalytics": {
  481. "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",
  482. "resultFormat": "time_series"
  483. },
  484. "azureMonitor": {
  485. "aggOptions": [],
  486. "dimensionFilter": "*",
  487. "dimensionFilters": [],
  488. "metricDefinition": "Microsoft.Insights/components",
  489. "metricNamespace": "microsoft.insights/components",
  490. "resourceGroup": "$rg",
  491. "resourceName": "$res",
  492. "timeGrain": "",
  493. "timeGrains": [],
  494. "top": "10"
  495. },
  496. "azureResourceGraph": {
  497. "resultFormat": "table"
  498. },
  499. "insightsAnalytics": {
  500. "query": "",
  501. "resultFormat": "time_series"
  502. },
  503. "queryType": "Azure Monitor",
  504. "refId": "A",
  505. "subscription": "$sub",
  506. "subscriptions": []
  507. }
  508. ],
  509. "type": "text"
  510. },
  511. {
  512. "datasource": null,
  513. "gridPos": {
  514. "h": 3,
  515. "w": 3,
  516. "x": 15,
  517. "y": 5
  518. },
  519. "id": 38,
  520. "links": [],
  521. "options": {
  522. "content": "<a href=\"https://ms.portal.azure.com/#@microsoft.onmicrosoft.com/resource/subscriptions/${sub}/resourceGroups/${rg}/providers/microsoft.insights/components/${res}/performance\" target=\"_blank\">\n<div>\n <p style=\"font-size:16px; margin-bottom:0px;margin-top:0px;\"> Performance </p>\n <p style=\"margin-top:0px;\">${res}</p>\n</div>\n</a>\n",
  523. "mode": "html"
  524. },
  525. "pluginVersion": "8.2.7",
  526. "targets": [
  527. {
  528. "queryType": "randomWalk",
  529. "refId": "A"
  530. }
  531. ],
  532. "type": "text"
  533. },
  534. {
  535. "datasource": "Azure Monitor",
  536. "gridPos": {
  537. "h": 3,
  538. "w": 4,
  539. "x": 18,
  540. "y": 5
  541. },
  542. "id": 18,
  543. "options": {
  544. "content": "<h1 style=\"font-size:20px; color:#3274d9;\">Browser</h1>",
  545. "mode": "html"
  546. },
  547. "pluginVersion": "8.2.7",
  548. "targets": [
  549. {
  550. "appInsights": {
  551. "dimension": [],
  552. "metricName": "select",
  553. "timeGrain": "auto"
  554. },
  555. "azureLogAnalytics": {
  556. "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",
  557. "resultFormat": "time_series"
  558. },
  559. "azureMonitor": {
  560. "aggOptions": [],
  561. "dimensionFilter": "*",
  562. "dimensionFilters": [],
  563. "metricDefinition": "Microsoft.Insights/components",
  564. "metricNamespace": "microsoft.insights/components",
  565. "resourceGroup": "$rg",
  566. "resourceName": "$res",
  567. "timeGrain": "",
  568. "timeGrains": [],
  569. "top": "10"
  570. },
  571. "azureResourceGraph": {
  572. "resultFormat": "table"
  573. },
  574. "insightsAnalytics": {
  575. "query": "",
  576. "resultFormat": "time_series"
  577. },
  578. "queryType": "Azure Monitor",
  579. "refId": "A",
  580. "subscription": "$sub",
  581. "subscriptions": []
  582. }
  583. ],
  584. "type": "text"
  585. },
  586. {
  587. "datasource": null,
  588. "gridPos": {
  589. "h": 3,
  590. "w": 2,
  591. "x": 22,
  592. "y": 5
  593. },
  594. "id": 50,
  595. "options": {
  596. "content": "<a style=\"color: #ffffff;\" href=\"https://ms.portal.azure.com/#blade/Microsoft_Azure_MonitoringMetrics/Metrics.ReactView/ResourceId/%2Fsubscriptions%2F${sub}%2FresourceGroups%2F${rg}%2Fproviders%2Fmicrosoft.insights%2Fcomponents%2F${res}/id/%2Fsubscriptions%2F${sub}%2FresourceGroups%2F${rg}%2Fproviders%2Fmicrosoft.insights%2Fcomponents%2F${res}/detailBlade/MetricsExplorerBlade/sourceExtension/AppInsightsExtension/TimeContext/%7B%22relative%22%3A%7B%22duration%22%3A86400000%7D%2C%22grain%22%3A1%2C%22options%22%3A%7B%22grain%22%3A1%2C%22showUTCTime%22%3Afalse%7D%7D/Chart/%7B%22v2charts%22%3A%5B%7B%22metrics%22%3A%5B%7B%22resourceMetadata%22%3A%7B%22id%22%3A%22%2Fsubscriptions%2F${sub}%2FresourceGroups%2F${rg}%2Fproviders%2Fmicrosoft.insights%2Fcomponents%2F${res}%22%2C%22sku%22%3A%7B%22name%22%3A%22${res}%22%7D%7D%2C%22metricVisualization%22%3A%7B%22resourceDisplayName%22%3A%22pageViews%2Fduration%22%2C%22color%22%3A%22msportalfx-bgcolor-g2%22%7D%2C%22name%22%3A%22pageViews%2Fduration%22%2C%22namespace%22%3A%22microsoft.insights%2Fcomponents%2Fkusto%22%2C%22aggregationType%22%3A4%7D%5D%2C%22visualization%22%3A%7B%22chartType%22%3A2%2C%22axisVisualization%22%3A%7B%22y%22%3A%7B%22isVisible%22%3Atrue%7D%7D%7D%2C%22grouping%22%3A%7B%22dimension%22%3A%22operation%2Fname%22%7D%2C%22filterCollection%22%3A%7B%22filters%22%3A%5B%7B%22key%22%3A%22client%2Ftype%22%2C%22operator%22%3A0%2C%22values%22%3A%5B%22Browser%22%5D%7D%5D%7D%2C%22title%22%3A%22Browsers%22%2C%22timespan%22%3A%7B%22relative%22%3A%7B%22duration%22%3A86400000%7D%2C%22grain%22%3A1%2C%22options%22%3A%7B%22grain%22%3A1%2C%22showUTCTime%22%3Afalse%7D%7D%7D%2C%7B%22metrics%22%3A%5B%7B%22resourceMetadata%22%3A%7B%22id%22%3A%22%2Fsubscriptions%2F${sub}%2FresourceGroups%2F${rg}%2Fproviders%2Fmicrosoft.insights%2Fcomponents%2F${res}%22%2C%22sku%22%3A%7B%22name%22%3A%22${res}%22%7D%7D%2C%22metricVisualization%22%3A%7B%22resourceDisplayName%22%3A%22dependencies%2Fduration%22%2C%22color%22%3A%22msportalfx-bgcolor-g2%22%7D%2C%22name%22%3A%22dependencies%2Fduration%22%2C%22namespace%22%3A%22microsoft.insights%2Fcomponents%2Fkusto%22%2C%22aggregationType%22%3A4%7D%5D%2C%22visualization%22%3A%7B%22chartType%22%3A2%2C%22axisVisualization%22%3A%7B%22y%22%3A%7B%22isVisible%22%3Atrue%7D%7D%7D%2C%22grouping%22%3A%7B%22dimension%22%3A%22dependency%2Fname%22%7D%2C%22filterCollection%22%3A%7B%22filters%22%3A%5B%7B%22key%22%3A%22client%2Ftype%22%2C%22operator%22%3A0%2C%22values%22%3A%5B%22Browser%22%5D%7D%5D%7D%2C%22title%22%3A%22Have%20AJAX%20calls%20been%20slow%3F%22%2C%22timespan%22%3A%7B%22relative%22%3A%7B%22duration%22%3A86400000%7D%2C%22grain%22%3A1%2C%22options%22%3A%7B%22grain%22%3A1%2C%22showUTCTime%22%3Afalse%7D%7D%7D%2C%7B%22metrics%22%3A%5B%7B%22resourceMetadata%22%3A%7B%22id%22%3A%22%2Fsubscriptions%2F${sub}%2FresourceGroups%2F${rg}%2Fproviders%2Fmicrosoft.insights%2Fcomponents%2F${res}%22%2C%22sku%22%3A%7B%22name%22%3A%22${res}%22%7D%7D%2C%22metricVisualization%22%3A%7B%22resourceDisplayName%22%3A%22pageViews%2Fcount%22%2C%22color%22%3A%22msportalfx-bgcolor-g2%22%7D%2C%22name%22%3A%22pageViews%2Fcount%22%2C%22namespace%22%3A%22microsoft.insights%2Fcomponents%2Fkusto%22%2C%22aggregationType%22%3A1%7D%5D%2C%22visualization%22%3A%7B%22chartType%22%3A2%2C%22axisVisualization%22%3A%7B%22y%22%3A%7B%22isVisible%22%3Atrue%7D%7D%7D%2C%22grouping%22%3A%7B%22dimension%22%3A%22operation%2Fname%22%7D%2C%22filterCollection%22%3A%7B%22filters%22%3A%5B%7B%22key%22%3A%22client%2Ftype%22%2C%22operator%22%3A0%2C%22values%22%3A%5B%22Browser%22%5D%7D%5D%7D%2C%22title%22%3A%22Has%20page%20view%20traffic%20changed%3F%22%2C%22timespan%22%3A%7B%22relative%22%3A%7B%22duration%22%3A86400000%7D%2C%22grain%22%3A1%2C%22options%22%3A%7B%22grain%22%3A1%2C%22showUTCTime%22%3Afalse%7D%7D%7D%2C%7B%22metrics%22%3A%5B%7B%22resourceMetadata%22%3A%7B%22id%22%3A%22%2Fsubscriptions%2F${sub}%2FresourceGroups%2F${rg}%2Fproviders%2Fmicrosoft.insights%2Fcomponents%2F${res}%22%2C%22sku%22%3A%7B%22name%22%3A%22${res}%22%7D%7D%2C%22metricVisualization%22%3A%7B%22resourceDisplayName%22%3A%22exceptions%2Fbrowser%22%2C%22color%22%3A%22msportalfx-bgcolor-g2%22%7D%2C%22name%22%3A%22exceptions%2Fbrowser%22%2C%22namespace%22%3A%22microsoft.insights%2Fcomponents%2Fkusto%22%2C%22aggregationType%22%3A1%7D%5D%2C%22visualization%22%3A%7B%22chartType%22%3A2%2C%22axisVisualization%22%3A%7B%22y%22%3A%7B%22isVisible%22%3Atrue%7D%7D%7D%2C%22grouping%22%3A%7B%22dimension%22%3A%22exception%2FproblemId%22%7D%2C%22filterCollection%22%3A%7B%22filters%22%3A%5B%7B%22key%22%3A%22client%2Ftype%22%2C%22operator%22%3A0%2C%22values%22%3A%5B%22Browser%22%5D%7D%5D%7D%2C%22title%22%3A%22When%20are%20script%20errors%20occurring%3F%22%2C%22timespan%22%3A%7B%22relative%22%3A%7B%22duration%22%3A86400000%7D%2C%22grain%22%3A1%2C%22options%22%3A%7B%22grain%22%3A1%2C%22showUTCTime%22%3Afalse%7D%7D%7D%2C%7B%22metrics%22%3A%5B%7B%22resourceMetadata%22%3A%7B%22id%22%3A%22%2Fsubscriptions%2F${sub}%2FresourceGroups%2F${rg}%2Fproviders%2Fmicrosoft.insights%2Fcomponents%2F${res}%22%2C%22sku%22%3A%7B%22name%22%3A%22${res}%22%7D%7D%2C%22metricVisualization%22%3A%7B%22resourceDisplayName%22%3A%22pageViews%2Fduration%22%2C%22color%22%3A%22msportalfx-bgcolor-g0%22%7D%2C%22name%22%3A%22pageViews%2Fduration%22%2C%22namespace%22%3A%22microsoft.insights%2Fcomponents%2Fkusto%22%2C%22aggregationType%22%3A4%7D%5D%2C%22visualization%22%3A%7B%22chartType%22%3A5%2C%22axisVisualization%22%3A%7B%22y%22%3A%7B%22isVisible%22%3Atrue%7D%7D%7D%2C%22grouping%22%3A%7B%22dimension%22%3Afalse%7D%2C%22filterCollection%22%3A%7B%22filters%22%3A%5B%7B%22key%22%3A%22client%2Ftype%22%2C%22operator%22%3A0%2C%22values%22%3A%5B%22Browser%22%5D%7D%5D%7D%2C%22title%22%3A%22What%20are%20my%20slowest%20pages%3F%22%7D%2C%7B%22metrics%22%3A%5B%7B%22resourceMetadata%22%3A%7B%22id%22%3A%22%2Fsubscriptions%2F${sub}%2FresourceGroups%2F${rg}%2Fproviders%2Fmicrosoft.insights%2Fcomponents%2F${res}%22%2C%22sku%22%3A%7B%22name%22%3A%22${res}%22%7D%7D%2C%22metricVisualization%22%3A%7B%22resourceDisplayName%22%3A%22pageViews%2Fduration%22%7D%2C%22name%22%3A%22pageViews%2Fduration%22%2C%22namespace%22%3A%22microsoft.insights%2Fcomponents%2Fkusto%22%2C%22aggregationType%22%3A4%7D%5D%2C%22visualization%22%3A%7B%22chartType%22%3A5%2C%22axisVisualization%22%3A%7B%22y%22%3A%7B%22isVisible%22%3Atrue%7D%7D%7D%2C%22grouping%22%3A%7B%22dimension%22%3Afalse%7D%2C%22filterCollection%22%3A%7B%22filters%22%3A%5B%7B%22key%22%3A%22client%2Ftype%22%2C%22operator%22%3A0%2C%22values%22%3A%5B%22Browser%22%5D%7D%5D%7D%2C%22title%22%3A%22What%20are%20my%20slowest%20pages%3F%22%7D%2C%7B%22metrics%22%3A%5B%7B%22resourceMetadata%22%3A%7B%22id%22%3A%22%2Fsubscriptions%2F${sub}%2FresourceGroups%2F${rg}%2Fproviders%2Fmicrosoft.insights%2Fcomponents%2F${res}%22%2C%22sku%22%3A%7B%22name%22%3A%22${res}%22%7D%7D%2C%22metricVisualization%22%3A%7B%22resourceDisplayName%22%3A%22exceptions%2Fbrowser%22%2C%22color%22%3A%22msportalfx-bgcolor-d0%22%7D%2C%22name%22%3A%22exceptions%2Fbrowser%22%2C%22namespace%22%3A%22microsoft.insights%2Fcomponents%2Fkusto%22%2C%22aggregationType%22%3A1%7D%5D%2C%22visualization%22%3A%7B%22chartType%22%3A5%2C%22axisVisualization%22%3A%7B%22y%22%3A%7B%22isVisible%22%3Atrue%7D%7D%7D%2C%22grouping%22%3A%7B%22dimension%22%3A%22exception%2FproblemId%22%7D%2C%22filterCollection%22%3A%7B%22filters%22%3A%5B%7B%22key%22%3A%22client%2Ftype%22%2C%22operator%22%3A0%2C%22values%22%3A%5B%22Browser%22%5D%7D%5D%7D%2C%22title%22%3A%22What%20are%20my%20most%20common%20script%20errors%3F%22%2C%22timespan%22%3A%7B%22relative%22%3A%7B%22duration%22%3A86400000%7D%2C%22grain%22%3A1%2C%22options%22%3A%7B%22grain%22%3A1%2C%22showUTCTime%22%3Afalse%7D%7D%7D%5D%7D/openInEditMode/\" target=\"_blank\">\n<div style=\"padding-top: 35px; background-color: #3274d9; width: 100%; height: 100%\">\n <center><p style=\"font-size:16px; margin-bottom:0px;\"> Browsers </p></center>\n</div>\n</a>",
  597. "mode": "html"
  598. },
  599. "pluginVersion": "8.2.7",
  600. "targets": [
  601. {
  602. "queryType": "randomWalk",
  603. "refId": "A"
  604. }
  605. ],
  606. "transparent": true,
  607. "type": "text"
  608. },
  609. {
  610. "datasource": "${ds}",
  611. "description": "The resource path for this panel uses multiple template variables which requires modifying the dashboard JSON directly. If you would like to do something similar please go to Settings > JSON Model. Edit as you'd like in your new copy by going to Settings > Save as.",
  612. "fieldConfig": {
  613. "defaults": {
  614. "color": {
  615. "fixedColor": "green",
  616. "mode": "fixed"
  617. },
  618. "custom": {
  619. "axisLabel": "",
  620. "axisPlacement": "auto",
  621. "axisSoftMin": 0,
  622. "barAlignment": 0,
  623. "drawStyle": "line",
  624. "fillOpacity": 0,
  625. "gradientMode": "none",
  626. "hideFrom": {
  627. "legend": false,
  628. "tooltip": false,
  629. "viz": false
  630. },
  631. "lineInterpolation": "linear",
  632. "lineWidth": 1,
  633. "pointSize": 5,
  634. "scaleDistribution": {
  635. "type": "linear"
  636. },
  637. "showPoints": "never",
  638. "spanNulls": true,
  639. "stacking": {
  640. "group": "A",
  641. "mode": "none"
  642. },
  643. "thresholdsStyle": {
  644. "mode": "off"
  645. }
  646. },
  647. "mappings": [],
  648. "noValue": "--",
  649. "thresholds": {
  650. "mode": "absolute",
  651. "steps": [
  652. {
  653. "color": "green",
  654. "value": null
  655. },
  656. {
  657. "color": "red",
  658. "value": 80
  659. }
  660. ]
  661. }
  662. },
  663. "overrides": [
  664. {
  665. "matcher": {
  666. "id": "byName",
  667. "options": "users/count_unique"
  668. },
  669. "properties": [
  670. {
  671. "id": "displayName",
  672. "value": "Users (Unique)"
  673. }
  674. ]
  675. },
  676. {
  677. "matcher": {
  678. "id": "byName",
  679. "options": "sessions/count_unique"
  680. },
  681. "properties": [
  682. {
  683. "id": "displayName",
  684. "value": "Sessions (Unique)"
  685. },
  686. {
  687. "id": "color",
  688. "value": {
  689. "fixedColor": "purple",
  690. "mode": "fixed"
  691. }
  692. }
  693. ]
  694. }
  695. ]
  696. },
  697. "gridPos": {
  698. "h": 9,
  699. "w": 6,
  700. "x": 0,
  701. "y": 8
  702. },
  703. "id": 20,
  704. "interval": "60s",
  705. "links": [
  706. {
  707. "targetBlank": true,
  708. "title": "${res} | Users",
  709. "url": "https://ms.portal.azure.com/#@microsoft.onmicrosoft.com/resource/subscriptions/${sub}/resourceGroups/${rg}/providers/microsoft.insights/components/${res}/segmentationUsers"
  710. }
  711. ],
  712. "maxDataPoints": 150,
  713. "options": {
  714. "legend": {
  715. "calcs": ["sum"],
  716. "displayMode": "list",
  717. "placement": "bottom"
  718. },
  719. "tooltip": {
  720. "mode": "single"
  721. }
  722. },
  723. "targets": [
  724. {
  725. "appInsights": {
  726. "dimension": [],
  727. "metricName": "select",
  728. "timeGrain": "auto"
  729. },
  730. "azureLogAnalytics": {
  731. "query": "union\n (traces\n | where timestamp >= $__timeFrom and timestamp < $__timeTo),\n (requests\n | where timestamp >= $__timeFrom and timestamp < $__timeTo),\n (pageViews\n | where timestamp >= $__timeFrom and timestamp < $__timeTo),\n (dependencies\n | where timestamp >= $__timeFrom and timestamp < $__timeTo),\n (customEvents\n | where timestamp >= $__timeFrom and timestamp < $__timeTo),\n (availabilityResults\n | where timestamp >= $__timeFrom and timestamp < $__timeTo),\n (exceptions\n | where timestamp >= $__timeFrom and timestamp < $__timeTo),\n (customMetrics\n | where timestamp >= $__timeFrom and timestamp < $__timeTo),\n (browserTimings\n | where timestamp >= $__timeFrom and timestamp < $__timeTo)\n| where notempty(user_Id)\n| summarize ['users/count_unique'] = dcount(user_Id) by bin(timestamp, $__interval)\n| order by timestamp desc",
  732. "resource": "/subscriptions/$sub/resourceGroups/$rg/providers/$ns/$res",
  733. "resultFormat": "time_series"
  734. },
  735. "azureMonitor": {
  736. "aggOptions": [],
  737. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  738. "dimensionFilter": "*",
  739. "dimensionFilters": [],
  740. "metricDefinition": "microsoft.insights/components",
  741. "metricName": "requests/count",
  742. "metricNamespace": "microsoft.insights/components",
  743. "resourceGroup": "$rg",
  744. "resourceName": "$res",
  745. "timeGrain": "auto",
  746. "timeGrains": [],
  747. "top": "50"
  748. },
  749. "azureResourceGraph": {
  750. "resultFormat": "table"
  751. },
  752. "hide": false,
  753. "insightsAnalytics": {
  754. "query": "",
  755. "resultFormat": "time_series"
  756. },
  757. "queryType": "Azure Log Analytics",
  758. "refId": "A",
  759. "subscription": "$sub",
  760. "subscriptions": []
  761. },
  762. {
  763. "azureLogAnalytics": {
  764. "query": "union\r\n (traces\r\n | where timestamp >= $__timeFrom and timestamp < $__timeTo),\r\n (requests\r\n | where timestamp >= $__timeFrom and timestamp < $__timeTo),\r\n (pageViews\r\n | where timestamp >= $__timeFrom and timestamp < $__timeTo),\r\n (dependencies\r\n | where timestamp >= $__timeFrom and timestamp < $__timeTo),\r\n (customEvents\r\n | where timestamp >= $__timeFrom and timestamp < $__timeTo),\r\n (availabilityResults\r\n | where timestamp >= $__timeFrom and timestamp < $__timeTo),\r\n (exceptions\r\n | where timestamp >= $__timeFrom and timestamp < $__timeTo),\r\n (customMetrics\r\n | where timestamp >= $__timeFrom and timestamp < $__timeTo),\r\n (browserTimings\r\n | where timestamp >= $__timeFrom and timestamp < $__timeTo)\r\n| where notempty(session_Id)\r\n| summarize ['sessions/count_unique'] = dcount(session_Id) by bin(timestamp, $__interval)\r\n| order by timestamp desc",
  765. "resource": "/subscriptions/$sub/resourceGroups/$rg/providers/$ns/$res",
  766. "resultFormat": "time_series"
  767. },
  768. "azureMonitor": {
  769. "timeGrain": "auto"
  770. },
  771. "hide": false,
  772. "queryType": "Azure Log Analytics",
  773. "refId": "B",
  774. "subscription": ""
  775. }
  776. ],
  777. "timeShift": null,
  778. "title": "Users",
  779. "transformations": [],
  780. "type": "timeseries"
  781. },
  782. {
  783. "datasource": "${ds}",
  784. "fieldConfig": {
  785. "defaults": {
  786. "color": {
  787. "fixedColor": "#ec008c",
  788. "mode": "fixed"
  789. },
  790. "custom": {
  791. "axisLabel": "",
  792. "axisPlacement": "auto",
  793. "barAlignment": 0,
  794. "drawStyle": "line",
  795. "fillOpacity": 0,
  796. "gradientMode": "none",
  797. "hideFrom": {
  798. "legend": false,
  799. "tooltip": false,
  800. "viz": false
  801. },
  802. "lineInterpolation": "linear",
  803. "lineStyle": {
  804. "fill": "solid"
  805. },
  806. "lineWidth": 1,
  807. "pointSize": 5,
  808. "scaleDistribution": {
  809. "type": "linear"
  810. },
  811. "showPoints": "never",
  812. "spanNulls": true,
  813. "stacking": {
  814. "group": "A",
  815. "mode": "none"
  816. },
  817. "thresholdsStyle": {
  818. "mode": "off"
  819. }
  820. },
  821. "mappings": [],
  822. "noValue": "--",
  823. "thresholds": {
  824. "mode": "absolute",
  825. "steps": [
  826. {
  827. "color": "green",
  828. "value": null
  829. }
  830. ]
  831. }
  832. },
  833. "overrides": []
  834. },
  835. "gridPos": {
  836. "h": 9,
  837. "w": 6,
  838. "x": 6,
  839. "y": 8
  840. },
  841. "id": 2,
  842. "links": [
  843. {
  844. "targetBlank": true,
  845. "title": "${res} | Failures",
  846. "url": "https://ms.portal.azure.com/#@microsoft.onmicrosoft.com/resource/subscriptions/${sub}/resourceGroups/${rg}/providers/microsoft.insights/components/${res}/failures"
  847. }
  848. ],
  849. "maxDataPoints": 150,
  850. "options": {
  851. "legend": {
  852. "calcs": ["sum"],
  853. "displayMode": "list",
  854. "placement": "bottom"
  855. },
  856. "tooltip": {
  857. "mode": "single"
  858. }
  859. },
  860. "targets": [
  861. {
  862. "appInsights": {
  863. "dimension": [],
  864. "metricName": "select",
  865. "timeGrain": "auto"
  866. },
  867. "azureLogAnalytics": {
  868. "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",
  869. "resultFormat": "time_series"
  870. },
  871. "azureMonitor": {
  872. "aggOptions": [],
  873. "aggregation": "Count",
  874. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  875. "dimensionFilter": "*",
  876. "dimensionFilters": [],
  877. "metricDefinition": "microsoft.insights/components",
  878. "metricName": "requests/failed",
  879. "metricNamespace": "microsoft.insights/components",
  880. "resourceGroup": "$rg",
  881. "resourceName": "$res",
  882. "timeGrain": "auto",
  883. "timeGrains": [],
  884. "top": "50"
  885. },
  886. "azureResourceGraph": {
  887. "resultFormat": "table"
  888. },
  889. "insightsAnalytics": {
  890. "query": "",
  891. "resultFormat": "time_series"
  892. },
  893. "queryType": "Azure Monitor",
  894. "refId": "Failed requests",
  895. "subscription": "$sub",
  896. "subscriptions": []
  897. }
  898. ],
  899. "title": "Failed requests",
  900. "type": "timeseries"
  901. },
  902. {
  903. "datasource": "${ds}",
  904. "fieldConfig": {
  905. "defaults": {
  906. "color": {
  907. "fixedColor": "#7e58ff",
  908. "mode": "fixed"
  909. },
  910. "custom": {
  911. "axisLabel": "",
  912. "axisPlacement": "auto",
  913. "axisSoftMin": 0,
  914. "barAlignment": 0,
  915. "drawStyle": "line",
  916. "fillOpacity": 0,
  917. "gradientMode": "none",
  918. "hideFrom": {
  919. "legend": false,
  920. "tooltip": false,
  921. "viz": false
  922. },
  923. "lineInterpolation": "linear",
  924. "lineStyle": {
  925. "fill": "solid"
  926. },
  927. "lineWidth": 1,
  928. "pointSize": 5,
  929. "scaleDistribution": {
  930. "type": "linear"
  931. },
  932. "showPoints": "never",
  933. "spanNulls": true,
  934. "stacking": {
  935. "group": "A",
  936. "mode": "none"
  937. },
  938. "thresholdsStyle": {
  939. "mode": "off"
  940. }
  941. },
  942. "mappings": [],
  943. "noValue": "--",
  944. "thresholds": {
  945. "mode": "absolute",
  946. "steps": [
  947. {
  948. "color": "green",
  949. "value": null
  950. },
  951. {
  952. "color": "red",
  953. "value": 80
  954. }
  955. ]
  956. }
  957. },
  958. "overrides": []
  959. },
  960. "gridPos": {
  961. "h": 9,
  962. "w": 6,
  963. "x": 12,
  964. "y": 8
  965. },
  966. "id": 4,
  967. "links": [
  968. {
  969. "targetBlank": true,
  970. "title": "${res} | Performance",
  971. "url": "https://ms.portal.azure.com/#@microsoft.onmicrosoft.com/resource/subscriptions/${sub}/resourceGroups/${rg}/providers/microsoft.insights/components/${res}/performance"
  972. }
  973. ],
  974. "maxDataPoints": 150,
  975. "options": {
  976. "legend": {
  977. "calcs": ["mean"],
  978. "displayMode": "list",
  979. "placement": "bottom"
  980. },
  981. "tooltip": {
  982. "mode": "single"
  983. }
  984. },
  985. "targets": [
  986. {
  987. "appInsights": {
  988. "dimension": [],
  989. "metricName": "select",
  990. "timeGrain": "auto"
  991. },
  992. "azureLogAnalytics": {
  993. "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",
  994. "resultFormat": "time_series"
  995. },
  996. "azureMonitor": {
  997. "aggOptions": [],
  998. "aggregation": "Average",
  999. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  1000. "dimensionFilter": "*",
  1001. "dimensionFilters": [],
  1002. "metricDefinition": "microsoft.insights/components",
  1003. "metricName": "requests/duration",
  1004. "metricNamespace": "microsoft.insights/components",
  1005. "resourceGroup": "$rg",
  1006. "resourceName": "$res",
  1007. "timeGrain": "auto",
  1008. "timeGrains": [],
  1009. "top": "50"
  1010. },
  1011. "azureResourceGraph": {
  1012. "resultFormat": "table"
  1013. },
  1014. "insightsAnalytics": {
  1015. "query": "",
  1016. "resultFormat": "time_series"
  1017. },
  1018. "queryType": "Azure Monitor",
  1019. "refId": "A",
  1020. "subscription": "$sub",
  1021. "subscriptions": []
  1022. }
  1023. ],
  1024. "title": "Server response time",
  1025. "transformations": [],
  1026. "type": "timeseries"
  1027. },
  1028. {
  1029. "datasource": "${ds}",
  1030. "fieldConfig": {
  1031. "defaults": {
  1032. "color": {
  1033. "fixedColor": "semi-dark-blue",
  1034. "mode": "fixed"
  1035. },
  1036. "custom": {
  1037. "axisLabel": "",
  1038. "axisPlacement": "auto",
  1039. "barAlignment": 0,
  1040. "drawStyle": "line",
  1041. "fillOpacity": 25,
  1042. "gradientMode": "none",
  1043. "hideFrom": {
  1044. "legend": false,
  1045. "tooltip": false,
  1046. "viz": false
  1047. },
  1048. "lineInterpolation": "linear",
  1049. "lineStyle": {
  1050. "fill": "solid"
  1051. },
  1052. "lineWidth": 1,
  1053. "pointSize": 5,
  1054. "scaleDistribution": {
  1055. "type": "linear"
  1056. },
  1057. "showPoints": "never",
  1058. "spanNulls": true,
  1059. "stacking": {
  1060. "group": "A",
  1061. "mode": "none"
  1062. },
  1063. "thresholdsStyle": {
  1064. "mode": "off"
  1065. }
  1066. },
  1067. "mappings": [],
  1068. "noValue": "--",
  1069. "thresholds": {
  1070. "mode": "absolute",
  1071. "steps": [
  1072. {
  1073. "color": "green",
  1074. "value": null
  1075. },
  1076. {
  1077. "color": "red",
  1078. "value": 80
  1079. }
  1080. ]
  1081. }
  1082. },
  1083. "overrides": []
  1084. },
  1085. "gridPos": {
  1086. "h": 9,
  1087. "w": 6,
  1088. "x": 18,
  1089. "y": 8
  1090. },
  1091. "id": 6,
  1092. "links": [
  1093. {
  1094. "targetBlank": true,
  1095. "title": "${res} | Page Views",
  1096. "url": "https://ms.portal.azure.com/#blade/Microsoft_Azure_MonitoringMetrics/Metrics.ReactView/ResourceId/%2Fsubscriptions%2F${sub}%2FresourceGroups%2F${rg}%2Fproviders%2Fmicrosoft.insights%2Fcomponents%2F${res}/TimeContext/%7B%22relative%22%3A%7B%22duration%22%3A1800000%7D%2C%22options%22%3A%7B%22grain%22%3A1%2C%22showUTCTime%22%3Afalse%7D%7D/Chart/%7B%22metrics%22%3A%5B%7B%22resourceMetadata%22%3A%7B%22id%22%3A%22%2Fsubscriptions%2F${sub}%2FresourceGroups%2F${rg}%2Fproviders%2Fmicrosoft.insights%2Fcomponents%2F${res}%22%7D%2C%22name%22%3A%22pageViews%2Fcount%22%2C%22namespace%22%3A%22microsoft.insights%2Fcomponents%22%2C%22metricVisualization%22%3A%7B%22displayName%22%3A%22Page%20views%22%7D%2C%22aggregationType%22%3A7%2C%22thresholds%22%3A%5B%5D%7D%5D%2C%22filterCollection%22%3A%7B%22filters%22%3A%5B%5D%7D%2C%22grouping%22%3Anull%2C%22visualization%22%3A%7B%22chartType%22%3A2%2C%22legendVisualization%22%3A%7B%22isVisible%22%3Atrue%2C%22position%22%3A2%2C%22hideSubtitle%22%3Afalse%7D%2C%22axisVisualization%22%3A%7B%22x%22%3A%7B%22isVisible%22%3Atrue%2C%22axisType%22%3A2%7D%2C%22y%22%3A%7B%22isVisible%22%3Atrue%2C%22axisType%22%3A1%7D%7D%2C%22disablePinning%22%3Atrue%7D%2C%22title%22%3A%22Count%20Page%20views%20for%20${res}%22%2C%22titleKind%22%3A1%2C%22timespan%22%3A%7B%22relative%22%3A%7B%22duration%22%3A1800000%7D%2C%22showUTCTime%22%3Afalse%2C%22grain%22%3A1%7D%2C%22ariaLabel%22%3Anull%7D/openInEditMode/true"
  1097. }
  1098. ],
  1099. "maxDataPoints": 150,
  1100. "options": {
  1101. "legend": {
  1102. "calcs": ["sum"],
  1103. "displayMode": "list",
  1104. "placement": "bottom"
  1105. },
  1106. "tooltip": {
  1107. "mode": "single"
  1108. }
  1109. },
  1110. "targets": [
  1111. {
  1112. "appInsights": {
  1113. "dimension": [],
  1114. "metricName": "select",
  1115. "timeGrain": "auto"
  1116. },
  1117. "azureLogAnalytics": {
  1118. "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",
  1119. "resultFormat": "time_series"
  1120. },
  1121. "azureMonitor": {
  1122. "aggOptions": [],
  1123. "aggregation": "Count",
  1124. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  1125. "dimensionFilter": "*",
  1126. "dimensionFilters": [],
  1127. "metricDefinition": "microsoft.insights/components",
  1128. "metricName": "pageViews/count",
  1129. "metricNamespace": "microsoft.insights/components",
  1130. "resourceGroup": "$rg",
  1131. "resourceName": "$res",
  1132. "timeGrain": "auto",
  1133. "timeGrains": [],
  1134. "top": "50"
  1135. },
  1136. "azureResourceGraph": {
  1137. "resultFormat": "table"
  1138. },
  1139. "insightsAnalytics": {
  1140. "query": "",
  1141. "resultFormat": "time_series"
  1142. },
  1143. "queryType": "Azure Monitor",
  1144. "refId": "A",
  1145. "subscription": "$sub",
  1146. "subscriptions": []
  1147. }
  1148. ],
  1149. "title": "Page Views",
  1150. "type": "timeseries"
  1151. },
  1152. {
  1153. "datasource": "${ds}",
  1154. "fieldConfig": {
  1155. "defaults": {
  1156. "color": {
  1157. "fixedColor": "green",
  1158. "mode": "fixed"
  1159. },
  1160. "custom": {
  1161. "axisLabel": "",
  1162. "axisPlacement": "auto",
  1163. "axisWidth": 50,
  1164. "barAlignment": 0,
  1165. "drawStyle": "line",
  1166. "fillOpacity": 14,
  1167. "gradientMode": "none",
  1168. "hideFrom": {
  1169. "legend": false,
  1170. "tooltip": false,
  1171. "viz": false
  1172. },
  1173. "lineInterpolation": "linear",
  1174. "lineStyle": {
  1175. "fill": "solid"
  1176. },
  1177. "lineWidth": 2,
  1178. "pointSize": 5,
  1179. "scaleDistribution": {
  1180. "type": "linear"
  1181. },
  1182. "showPoints": "never",
  1183. "spanNulls": true,
  1184. "stacking": {
  1185. "group": "A",
  1186. "mode": "none"
  1187. },
  1188. "thresholdsStyle": {
  1189. "mode": "off"
  1190. }
  1191. },
  1192. "links": [],
  1193. "mappings": [],
  1194. "max": 100,
  1195. "noValue": "--",
  1196. "thresholds": {
  1197. "mode": "absolute",
  1198. "steps": [
  1199. {
  1200. "color": "green",
  1201. "value": null
  1202. },
  1203. {
  1204. "color": "red",
  1205. "value": 80
  1206. }
  1207. ]
  1208. }
  1209. },
  1210. "overrides": [
  1211. {
  1212. "matcher": {
  1213. "id": "byName",
  1214. "options": "Availability"
  1215. },
  1216. "properties": [
  1217. {
  1218. "id": "links",
  1219. "value": []
  1220. }
  1221. ]
  1222. }
  1223. ]
  1224. },
  1225. "gridPos": {
  1226. "h": 10,
  1227. "w": 6,
  1228. "x": 0,
  1229. "y": 17
  1230. },
  1231. "id": 8,
  1232. "links": [
  1233. {
  1234. "targetBlank": true,
  1235. "title": "${res} | Availability",
  1236. "url": "https://ms.portal.azure.com/#@microsoft.onmicrosoft.com/resource/subscriptions/${sub}/resourceGroups/${rg}/providers/microsoft.insights/components/${res}/availability"
  1237. }
  1238. ],
  1239. "maxDataPoints": 150,
  1240. "options": {
  1241. "legend": {
  1242. "calcs": ["mean"],
  1243. "displayMode": "list",
  1244. "placement": "bottom"
  1245. },
  1246. "tooltip": {
  1247. "mode": "single"
  1248. }
  1249. },
  1250. "targets": [
  1251. {
  1252. "appInsights": {
  1253. "dimension": [],
  1254. "metricName": "select",
  1255. "timeGrain": "auto"
  1256. },
  1257. "azureLogAnalytics": {
  1258. "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",
  1259. "resultFormat": "time_series"
  1260. },
  1261. "azureMonitor": {
  1262. "aggOptions": [],
  1263. "aggregation": "Average",
  1264. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  1265. "dimensionFilter": "*",
  1266. "dimensionFilters": [],
  1267. "metricDefinition": "microsoft.insights/components",
  1268. "metricName": "availabilityResults/availabilityPercentage",
  1269. "metricNamespace": "microsoft.insights/components",
  1270. "resourceGroup": "$rg",
  1271. "resourceName": "$res",
  1272. "timeGrain": "auto",
  1273. "timeGrains": [],
  1274. "top": "50"
  1275. },
  1276. "azureResourceGraph": {
  1277. "resultFormat": "table"
  1278. },
  1279. "insightsAnalytics": {
  1280. "query": "",
  1281. "resultFormat": "time_series"
  1282. },
  1283. "queryType": "Azure Monitor",
  1284. "refId": "A",
  1285. "subscription": "$sub",
  1286. "subscriptions": []
  1287. }
  1288. ],
  1289. "title": "Average availability",
  1290. "type": "timeseries"
  1291. },
  1292. {
  1293. "datasource": "${ds}",
  1294. "fieldConfig": {
  1295. "defaults": {
  1296. "color": {
  1297. "fixedColor": "dark-purple",
  1298. "mode": "fixed"
  1299. },
  1300. "custom": {
  1301. "axisLabel": "",
  1302. "axisPlacement": "auto",
  1303. "barAlignment": 0,
  1304. "drawStyle": "line",
  1305. "fillOpacity": 0,
  1306. "gradientMode": "none",
  1307. "hideFrom": {
  1308. "legend": false,
  1309. "tooltip": false,
  1310. "viz": false
  1311. },
  1312. "lineInterpolation": "linear",
  1313. "lineWidth": 1,
  1314. "pointSize": 5,
  1315. "scaleDistribution": {
  1316. "type": "linear"
  1317. },
  1318. "showPoints": "never",
  1319. "spanNulls": true,
  1320. "stacking": {
  1321. "group": "A",
  1322. "mode": "none"
  1323. },
  1324. "thresholdsStyle": {
  1325. "mode": "off"
  1326. }
  1327. },
  1328. "mappings": [
  1329. {
  1330. "options": {
  1331. "match": "null",
  1332. "result": {
  1333. "index": 0,
  1334. "text": "0"
  1335. }
  1336. },
  1337. "type": "special"
  1338. }
  1339. ],
  1340. "noValue": "--",
  1341. "thresholds": {
  1342. "mode": "absolute",
  1343. "steps": [
  1344. {
  1345. "color": "green",
  1346. "value": null
  1347. },
  1348. {
  1349. "color": "red",
  1350. "value": 80
  1351. }
  1352. ]
  1353. }
  1354. },
  1355. "overrides": [
  1356. {
  1357. "matcher": {
  1358. "id": "byName",
  1359. "options": "Server exceptions"
  1360. },
  1361. "properties": [
  1362. {
  1363. "id": "color",
  1364. "value": {
  1365. "fixedColor": "#ec008c",
  1366. "mode": "fixed"
  1367. }
  1368. }
  1369. ]
  1370. }
  1371. ]
  1372. },
  1373. "gridPos": {
  1374. "h": 10,
  1375. "w": 6,
  1376. "x": 6,
  1377. "y": 17
  1378. },
  1379. "id": 24,
  1380. "links": [
  1381. {
  1382. "targetBlank": true,
  1383. "title": "${res} | Server exceptions and Dependency failures",
  1384. "url": "https://ms.portal.azure.com/#blade/Microsoft_Azure_MonitoringMetrics/Metrics.ReactView/ResourceId/%2Fsubscriptions%2F${sub}%2FresourceGroups%2F${rg}%2Fproviders%2Fmicrosoft.insights%2Fcomponents%2F${res}/TimeContext/%7B%22relative%22%3A%7B%22duration%22%3A1800000%7D%2C%22options%22%3A%7B%22grain%22%3A1%2C%22showUTCTime%22%3Atrue%7D%7D/Chart/%7B%22metrics%22%3A%5B%7B%22resourceMetadata%22%3A%7B%22id%22%3A%22%2Fsubscriptions%2F${sub}%2FresourceGroups%2F${rg}%2Fproviders%2Fmicrosoft.insights%2Fcomponents%2F${res}%22%7D%2C%22name%22%3A%22exceptions%2Fserver%22%2C%22namespace%22%3A%22microsoft.insights%2Fcomponents%22%2C%22metricVisualization%22%3A%7B%22displayName%22%3A%22Server%20exceptions%22%2C%22color%22%3A%22%2347BDF5%22%7D%2C%22aggregationType%22%3A7%2C%22thresholds%22%3A%5B%5D%7D%2C%7B%22resourceMetadata%22%3A%7B%22id%22%3A%22%2Fsubscriptions%2F${sub}%2FresourceGroups%2F${rg}%2Fproviders%2Fmicrosoft.insights%2Fcomponents%2F${res}%22%7D%2C%22name%22%3A%22dependencies%2Ffailed%22%2C%22namespace%22%3A%22microsoft.insights%2Fcomponents%22%2C%22metricVisualization%22%3A%7B%22displayName%22%3A%22Dependency%20failures%22%2C%22color%22%3A%22%237E58FF%22%7D%2C%22aggregationType%22%3A7%2C%22thresholds%22%3A%5B%5D%7D%5D%2C%22filterCollection%22%3A%7B%22filters%22%3A%5B%5D%7D%2C%22grouping%22%3Anull%2C%22visualization%22%3A%7B%22chartType%22%3A2%2C%22legendVisualization%22%3A%7B%22isVisible%22%3Atrue%2C%22position%22%3A2%2C%22hideSubtitle%22%3Afalse%7D%2C%22axisVisualization%22%3A%7B%22x%22%3A%7B%22isVisible%22%3Atrue%2C%22axisType%22%3A2%7D%2C%22y%22%3A%7B%22isVisible%22%3Atrue%2C%22axisType%22%3A1%7D%7D%2C%22disablePinning%22%3Atrue%7D%2C%22title%22%3A%22Server%20exceptions%20and%20Dependency%20failures%22%2C%22timespan%22%3A%7B%22relative%22%3A%7B%22duration%22%3A1800000%7D%2C%22showUTCTime%22%3Atrue%2C%22grain%22%3A1%7D%2C%22ariaLabel%22%3Anull%7D/openInEditMode/true"
  1385. }
  1386. ],
  1387. "maxDataPoints": 150,
  1388. "options": {
  1389. "legend": {
  1390. "calcs": ["sum"],
  1391. "displayMode": "list",
  1392. "placement": "bottom"
  1393. },
  1394. "tooltip": {
  1395. "mode": "single"
  1396. }
  1397. },
  1398. "targets": [
  1399. {
  1400. "appInsights": {
  1401. "dimension": [],
  1402. "metricName": "select",
  1403. "timeGrain": "auto"
  1404. },
  1405. "azureLogAnalytics": {
  1406. "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",
  1407. "resultFormat": "time_series"
  1408. },
  1409. "azureMonitor": {
  1410. "aggOptions": [],
  1411. "aggregation": "Count",
  1412. "alias": "",
  1413. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  1414. "dimensionFilter": "*",
  1415. "dimensionFilters": [],
  1416. "metricDefinition": "microsoft.insights/components",
  1417. "metricName": "exceptions/server",
  1418. "metricNamespace": "microsoft.insights/components",
  1419. "resourceGroup": "$rg",
  1420. "resourceName": "$res",
  1421. "timeGrain": "auto",
  1422. "timeGrains": [],
  1423. "top": "50"
  1424. },
  1425. "azureResourceGraph": {
  1426. "resultFormat": "table"
  1427. },
  1428. "hide": false,
  1429. "insightsAnalytics": {
  1430. "query": "",
  1431. "resultFormat": "time_series"
  1432. },
  1433. "queryType": "Azure Monitor",
  1434. "refId": "Server Exceptions",
  1435. "subscription": "$sub",
  1436. "subscriptions": []
  1437. },
  1438. {
  1439. "appInsights": {
  1440. "dimension": [],
  1441. "metricName": "select",
  1442. "timeGrain": "auto"
  1443. },
  1444. "azureLogAnalytics": {
  1445. "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",
  1446. "resultFormat": "time_series"
  1447. },
  1448. "azureMonitor": {
  1449. "aggOptions": [],
  1450. "aggregation": "Count",
  1451. "alias": "Dependency failures",
  1452. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  1453. "dimensionFilter": "*",
  1454. "dimensionFilters": [],
  1455. "metricDefinition": "microsoft.insights/components",
  1456. "metricName": "dependencies/failed",
  1457. "metricNamespace": "microsoft.insights/components",
  1458. "resourceGroup": "$rg",
  1459. "resourceName": "$res",
  1460. "timeGrain": "auto",
  1461. "timeGrains": [],
  1462. "top": "50"
  1463. },
  1464. "azureResourceGraph": {
  1465. "resultFormat": "table"
  1466. },
  1467. "hide": false,
  1468. "insightsAnalytics": {
  1469. "query": "",
  1470. "resultFormat": "time_series"
  1471. },
  1472. "queryType": "Azure Monitor",
  1473. "refId": "Dependency failures",
  1474. "subscription": "$sub",
  1475. "subscriptions": []
  1476. }
  1477. ],
  1478. "title": "Server exceptions and Dependency failures",
  1479. "transformations": [],
  1480. "type": "timeseries"
  1481. },
  1482. {
  1483. "datasource": "${ds}",
  1484. "fieldConfig": {
  1485. "defaults": {
  1486. "color": {
  1487. "fixedColor": "#7e58ff",
  1488. "mode": "fixed"
  1489. },
  1490. "custom": {
  1491. "axisLabel": "",
  1492. "axisPlacement": "auto",
  1493. "axisSoftMax": -6,
  1494. "axisSoftMin": 0,
  1495. "axisWidth": 50,
  1496. "barAlignment": 0,
  1497. "drawStyle": "line",
  1498. "fillOpacity": 0,
  1499. "gradientMode": "none",
  1500. "hideFrom": {
  1501. "legend": false,
  1502. "tooltip": false,
  1503. "viz": false
  1504. },
  1505. "lineInterpolation": "linear",
  1506. "lineWidth": 1,
  1507. "pointSize": 5,
  1508. "scaleDistribution": {
  1509. "type": "linear"
  1510. },
  1511. "showPoints": "never",
  1512. "spanNulls": true,
  1513. "stacking": {
  1514. "group": "A",
  1515. "mode": "none"
  1516. },
  1517. "thresholdsStyle": {
  1518. "mode": "off"
  1519. }
  1520. },
  1521. "mappings": [],
  1522. "noValue": "--",
  1523. "thresholds": {
  1524. "mode": "absolute",
  1525. "steps": [
  1526. {
  1527. "color": "green",
  1528. "value": null
  1529. },
  1530. {
  1531. "color": "red",
  1532. "value": 80
  1533. }
  1534. ]
  1535. }
  1536. },
  1537. "overrides": []
  1538. },
  1539. "gridPos": {
  1540. "h": 10,
  1541. "w": 6,
  1542. "x": 12,
  1543. "y": 17
  1544. },
  1545. "id": 28,
  1546. "links": [
  1547. {
  1548. "targetBlank": true,
  1549. "title": "${res} | Average processor and process CPU utilization",
  1550. "url": "https://ms.portal.azure.com/#blade/Microsoft_Azure_MonitoringMetrics/Metrics.ReactView/ResourceId/%2Fsubscriptions%2F${sub}%2FresourceGroups%2F${rg}%2Fproviders%2Fmicrosoft.insights%2Fcomponents%2F${res}/TimeContext/%7B%22relative%22%3A%7B%22duration%22%3A1800000%7D%2C%22options%22%3A%7B%22grain%22%3A1%2C%22showUTCTime%22%3Atrue%7D%7D/Chart/%7B%22metrics%22%3A%5B%7B%22resourceMetadata%22%3A%7B%22id%22%3A%22%2Fsubscriptions%2F${sub}%2FresourceGroups%2F${rg}%2Fproviders%2Fmicrosoft.insights%2Fcomponents%2F${res}%22%7D%2C%22name%22%3A%22performanceCounters%2FprocessorCpuPercentage%22%2C%22namespace%22%3A%22microsoft.insights%2Fcomponents%22%2C%22metricVisualization%22%3A%7B%22displayName%22%3A%22Processor%20time%22%2C%22color%22%3A%22%2347BDF5%22%7D%2C%22aggregationType%22%3A4%2C%22thresholds%22%3A%5B%5D%7D%2C%7B%22resourceMetadata%22%3A%7B%22id%22%3A%22%2Fsubscriptions%2F${sub}%2FresourceGroups%2F${rg}%2Fproviders%2Fmicrosoft.insights%2Fcomponents%2F${res}%22%7D%2C%22name%22%3A%22performanceCounters%2FprocessCpuPercentage%22%2C%22namespace%22%3A%22microsoft.insights%2Fcomponents%22%2C%22metricVisualization%22%3A%7B%22displayName%22%3A%22Process%20CPU%22%2C%22color%22%3A%22%237E58FF%22%7D%2C%22aggregationType%22%3A4%2C%22thresholds%22%3A%5B%5D%7D%5D%2C%22filterCollection%22%3A%7B%22filters%22%3A%5B%5D%7D%2C%22grouping%22%3Anull%2C%22visualization%22%3A%7B%22chartType%22%3A2%2C%22legendVisualization%22%3A%7B%22isVisible%22%3Atrue%2C%22position%22%3A2%2C%22hideSubtitle%22%3Afalse%7D%2C%22axisVisualization%22%3A%7B%22x%22%3A%7B%22isVisible%22%3Atrue%2C%22axisType%22%3A2%7D%2C%22y%22%3A%7B%22isVisible%22%3Atrue%2C%22axisType%22%3A1%7D%7D%2C%22disablePinning%22%3Atrue%7D%2C%22title%22%3A%22Average%20processor%20and%20process%20CPU%20utilization%22%2C%22timespan%22%3A%7B%22relative%22%3A%7B%22duration%22%3A1800000%7D%2C%22showUTCTime%22%3Atrue%2C%22grain%22%3A1%7D%2C%22ariaLabel%22%3Anull%7D/openInEditMode/true"
  1551. }
  1552. ],
  1553. "maxDataPoints": 150,
  1554. "options": {
  1555. "legend": {
  1556. "calcs": ["mean"],
  1557. "displayMode": "list",
  1558. "placement": "bottom"
  1559. },
  1560. "tooltip": {
  1561. "mode": "single"
  1562. }
  1563. },
  1564. "targets": [
  1565. {
  1566. "appInsights": {
  1567. "dimension": [],
  1568. "metricName": "select",
  1569. "timeGrain": "auto"
  1570. },
  1571. "azureLogAnalytics": {
  1572. "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",
  1573. "resultFormat": "time_series"
  1574. },
  1575. "azureMonitor": {
  1576. "aggOptions": [],
  1577. "aggregation": "Average",
  1578. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  1579. "dimensionFilter": "*",
  1580. "dimensionFilters": [],
  1581. "metricDefinition": "Microsoft.Insights/components",
  1582. "metricName": "performanceCounters/processorCpuPercentage",
  1583. "metricNamespace": "microsoft.insights/components",
  1584. "resourceGroup": "$rg",
  1585. "resourceName": "$res",
  1586. "timeGrain": "auto",
  1587. "timeGrains": [],
  1588. "top": "50"
  1589. },
  1590. "azureResourceGraph": {
  1591. "resultFormat": "table"
  1592. },
  1593. "insightsAnalytics": {
  1594. "query": "",
  1595. "resultFormat": "time_series"
  1596. },
  1597. "queryType": "Azure Monitor",
  1598. "refId": "Processor",
  1599. "subscription": "$sub",
  1600. "subscriptions": []
  1601. },
  1602. {
  1603. "appInsights": {
  1604. "dimension": [],
  1605. "metricName": "select",
  1606. "timeGrain": "auto"
  1607. },
  1608. "azureLogAnalytics": {
  1609. "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",
  1610. "resultFormat": "time_series"
  1611. },
  1612. "azureMonitor": {
  1613. "aggOptions": [],
  1614. "aggregation": "Average",
  1615. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  1616. "dimensionFilter": "*",
  1617. "dimensionFilters": [],
  1618. "metricDefinition": "Microsoft.Insights/components",
  1619. "metricName": "performanceCounters/processCpuPercentage",
  1620. "metricNamespace": "microsoft.insights/components",
  1621. "resourceGroup": "$rg",
  1622. "resourceName": "$res",
  1623. "timeGrain": "auto",
  1624. "timeGrains": [],
  1625. "top": "50"
  1626. },
  1627. "azureResourceGraph": {
  1628. "resultFormat": "table"
  1629. },
  1630. "hide": false,
  1631. "insightsAnalytics": {
  1632. "query": "",
  1633. "resultFormat": "time_series"
  1634. },
  1635. "queryType": "Azure Monitor",
  1636. "refId": "Process CPU",
  1637. "subscription": "$sub",
  1638. "subscriptions": []
  1639. }
  1640. ],
  1641. "title": "Average processor and process CPU utilization",
  1642. "type": "timeseries"
  1643. },
  1644. {
  1645. "datasource": "${ds}",
  1646. "fieldConfig": {
  1647. "defaults": {
  1648. "color": {
  1649. "fixedColor": "#5794F2",
  1650. "mode": "continuous-BlPu"
  1651. },
  1652. "custom": {
  1653. "axisLabel": "",
  1654. "axisPlacement": "auto",
  1655. "barAlignment": 0,
  1656. "drawStyle": "line",
  1657. "fillOpacity": 16,
  1658. "gradientMode": "none",
  1659. "hideFrom": {
  1660. "legend": false,
  1661. "tooltip": false,
  1662. "viz": false
  1663. },
  1664. "lineInterpolation": "linear",
  1665. "lineWidth": 1,
  1666. "pointSize": 5,
  1667. "scaleDistribution": {
  1668. "type": "linear"
  1669. },
  1670. "showPoints": "never",
  1671. "spanNulls": true,
  1672. "stacking": {
  1673. "group": "A",
  1674. "mode": "normal"
  1675. },
  1676. "thresholdsStyle": {
  1677. "mode": "off"
  1678. }
  1679. },
  1680. "mappings": [],
  1681. "noValue": "--",
  1682. "thresholds": {
  1683. "mode": "absolute",
  1684. "steps": [
  1685. {
  1686. "color": "green",
  1687. "value": null
  1688. },
  1689. {
  1690. "color": "red",
  1691. "value": 80
  1692. }
  1693. ]
  1694. }
  1695. },
  1696. "overrides": [
  1697. {
  1698. "matcher": {
  1699. "id": "byName",
  1700. "options": "Page load network connect time"
  1701. },
  1702. "properties": [
  1703. {
  1704. "id": "color",
  1705. "value": {
  1706. "fixedColor": "dark-blue",
  1707. "mode": "fixed"
  1708. }
  1709. }
  1710. ]
  1711. },
  1712. {
  1713. "matcher": {
  1714. "id": "byName",
  1715. "options": "Client processing time"
  1716. },
  1717. "properties": [
  1718. {
  1719. "id": "color",
  1720. "value": {
  1721. "fixedColor": "green",
  1722. "mode": "fixed"
  1723. }
  1724. }
  1725. ]
  1726. },
  1727. {
  1728. "matcher": {
  1729. "id": "byName",
  1730. "options": "Send request time"
  1731. },
  1732. "properties": [
  1733. {
  1734. "id": "color",
  1735. "value": {
  1736. "fixedColor": "purple",
  1737. "mode": "fixed"
  1738. }
  1739. }
  1740. ]
  1741. },
  1742. {
  1743. "matcher": {
  1744. "id": "byName",
  1745. "options": "Receiving response time"
  1746. },
  1747. "properties": [
  1748. {
  1749. "id": "color",
  1750. "value": {
  1751. "fixedColor": "orange",
  1752. "mode": "fixed"
  1753. }
  1754. }
  1755. ]
  1756. }
  1757. ]
  1758. },
  1759. "gridPos": {
  1760. "h": 10,
  1761. "w": 6,
  1762. "x": 18,
  1763. "y": 17
  1764. },
  1765. "id": 32,
  1766. "links": [
  1767. {
  1768. "targetBlank": true,
  1769. "title": "${res} | Average page load time breakdown",
  1770. "url": "https://ms.portal.azure.com/#blade/Microsoft_Azure_MonitoringMetrics/Metrics.ReactView/ResourceId/%2Fsubscriptions%2F${sub}%2FresourceGroups%2F${rg}%2Fproviders%2Fmicrosoft.insights%2Fcomponents%2F${res}/TimeContext/%7B%22relative%22%3A%7B%22duration%22%3A1800000%7D%2C%22options%22%3A%7B%22grain%22%3A1%2C%22showUTCTime%22%3Atrue%7D%7D/Chart/%7B%22metrics%22%3A%5B%7B%22resourceMetadata%22%3A%7B%22id%22%3A%22%2Fsubscriptions%2F${sub}%2FresourceGroups%2F${rg}%2Fproviders%2Fmicrosoft.insights%2Fcomponents%2F${res}%22%7D%2C%22name%22%3A%22browserTimings%2FnetworkDuration%22%2C%22namespace%22%3A%22microsoft.insights%2Fcomponents%22%2C%22metricVisualization%22%3A%7B%22displayName%22%3A%22Page%20load%20network%20connect%20time%22%2C%22color%22%3A%22%237E58FF%22%7D%2C%22aggregationType%22%3A4%2C%22thresholds%22%3A%5B%5D%7D%2C%7B%22resourceMetadata%22%3A%7B%22id%22%3A%22%2Fsubscriptions%2F${sub}%2FresourceGroups%2F${rg}%2Fproviders%2Fmicrosoft.insights%2Fcomponents%2F${res}%22%7D%2C%22name%22%3A%22browserTimings%2FprocessingDuration%22%2C%22namespace%22%3A%22microsoft.insights%2Fcomponents%22%2C%22metricVisualization%22%3A%7B%22displayName%22%3A%22Client%20processing%20time%22%2C%22color%22%3A%22%2344F1C8%22%7D%2C%22aggregationType%22%3A4%2C%22thresholds%22%3A%5B%5D%7D%2C%7B%22resourceMetadata%22%3A%7B%22id%22%3A%22%2Fsubscriptions%2F${sub}%2FresourceGroups%2F${rg}%2Fproviders%2Fmicrosoft.insights%2Fcomponents%2F${res}%22%7D%2C%22name%22%3A%22browserTimings%2FsendDuration%22%2C%22namespace%22%3A%22microsoft.insights%2Fcomponents%22%2C%22metricVisualization%22%3A%7B%22displayName%22%3A%22Send%20request%20time%22%2C%22color%22%3A%22%23EB9371%22%7D%2C%22aggregationType%22%3A4%2C%22thresholds%22%3A%5B%5D%7D%2C%7B%22resourceMetadata%22%3A%7B%22id%22%3A%22%2Fsubscriptions%2F${sub}%2FresourceGroups%2F${rg}%2Fproviders%2Fmicrosoft.insights%2Fcomponents%2F${res}%22%7D%2C%22name%22%3A%22browserTimings%2FreceiveDuration%22%2C%22namespace%22%3A%22microsoft.insights%2Fcomponents%22%2C%22metricVisualization%22%3A%7B%22displayName%22%3A%22Receiving%20response%20time%22%2C%22color%22%3A%22%230672F1%22%7D%2C%22aggregationType%22%3A4%2C%22thresholds%22%3A%5B%5D%7D%5D%2C%22filterCollection%22%3A%7B%22filters%22%3A%5B%5D%7D%2C%22grouping%22%3Anull%2C%22visualization%22%3A%7B%22chartType%22%3A3%2C%22legendVisualization%22%3A%7B%22isVisible%22%3Atrue%2C%22position%22%3A2%2C%22hideSubtitle%22%3Afalse%7D%2C%22axisVisualization%22%3A%7B%22x%22%3A%7B%22isVisible%22%3Atrue%2C%22axisType%22%3A2%7D%2C%22y%22%3A%7B%22isVisible%22%3Atrue%2C%22axisType%22%3A1%7D%7D%2C%22disablePinning%22%3Atrue%7D%2C%22title%22%3A%22Average%20page%20load%20time%20breakdown%22%2C%22timespan%22%3A%7B%22relative%22%3A%7B%22duration%22%3A1800000%7D%2C%22showUTCTime%22%3Atrue%2C%22grain%22%3A1%7D%2C%22ariaLabel%22%3Anull%7D/openInEditMode/true"
  1771. }
  1772. ],
  1773. "maxDataPoints": 150,
  1774. "options": {
  1775. "legend": {
  1776. "calcs": ["mean"],
  1777. "displayMode": "list",
  1778. "placement": "bottom"
  1779. },
  1780. "tooltip": {
  1781. "mode": "single"
  1782. }
  1783. },
  1784. "targets": [
  1785. {
  1786. "appInsights": {
  1787. "dimension": [],
  1788. "metricName": "select",
  1789. "timeGrain": "auto"
  1790. },
  1791. "azureLogAnalytics": {
  1792. "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",
  1793. "resultFormat": "time_series"
  1794. },
  1795. "azureMonitor": {
  1796. "aggOptions": [],
  1797. "aggregation": "Average",
  1798. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  1799. "dimensionFilter": "*",
  1800. "dimensionFilters": [],
  1801. "metricDefinition": "Microsoft.Insights/components",
  1802. "metricName": "browserTimings/networkDuration",
  1803. "metricNamespace": "microsoft.insights/components",
  1804. "resourceGroup": "$rg",
  1805. "resourceName": "$res",
  1806. "timeGrain": "auto",
  1807. "timeGrains": [],
  1808. "top": "50"
  1809. },
  1810. "azureResourceGraph": {
  1811. "resultFormat": "table"
  1812. },
  1813. "insightsAnalytics": {
  1814. "query": "",
  1815. "resultFormat": "time_series"
  1816. },
  1817. "queryType": "Azure Monitor",
  1818. "refId": "Page load network connect time",
  1819. "subscription": "$sub",
  1820. "subscriptions": []
  1821. },
  1822. {
  1823. "appInsights": {
  1824. "dimension": [],
  1825. "metricName": "select",
  1826. "timeGrain": "auto"
  1827. },
  1828. "azureLogAnalytics": {
  1829. "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",
  1830. "resultFormat": "time_series"
  1831. },
  1832. "azureMonitor": {
  1833. "aggOptions": [],
  1834. "aggregation": "Average",
  1835. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  1836. "dimensionFilter": "*",
  1837. "dimensionFilters": [],
  1838. "metricDefinition": "Microsoft.Insights/components",
  1839. "metricName": "browserTimings/processingDuration",
  1840. "metricNamespace": "microsoft.insights/components",
  1841. "resourceGroup": "$rg",
  1842. "resourceName": "$res",
  1843. "timeGrain": "auto",
  1844. "timeGrains": [],
  1845. "top": "50"
  1846. },
  1847. "azureResourceGraph": {
  1848. "resultFormat": "table"
  1849. },
  1850. "hide": false,
  1851. "insightsAnalytics": {
  1852. "query": "",
  1853. "resultFormat": "time_series"
  1854. },
  1855. "queryType": "Azure Monitor",
  1856. "refId": "Client processing time",
  1857. "subscription": "$sub",
  1858. "subscriptions": []
  1859. },
  1860. {
  1861. "appInsights": {
  1862. "dimension": [],
  1863. "metricName": "select",
  1864. "timeGrain": "auto"
  1865. },
  1866. "azureLogAnalytics": {
  1867. "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",
  1868. "resultFormat": "time_series"
  1869. },
  1870. "azureMonitor": {
  1871. "aggOptions": [],
  1872. "aggregation": "Average",
  1873. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  1874. "dimensionFilter": "*",
  1875. "dimensionFilters": [],
  1876. "metricDefinition": "Microsoft.Insights/components",
  1877. "metricName": "browserTimings/sendDuration",
  1878. "metricNamespace": "microsoft.insights/components",
  1879. "resourceGroup": "$rg",
  1880. "resourceName": "$res",
  1881. "timeGrain": "auto",
  1882. "timeGrains": [],
  1883. "top": "50"
  1884. },
  1885. "azureResourceGraph": {
  1886. "resultFormat": "table"
  1887. },
  1888. "hide": false,
  1889. "insightsAnalytics": {
  1890. "query": "",
  1891. "resultFormat": "time_series"
  1892. },
  1893. "queryType": "Azure Monitor",
  1894. "refId": "Send request time",
  1895. "subscription": "$sub",
  1896. "subscriptions": []
  1897. },
  1898. {
  1899. "appInsights": {
  1900. "dimension": [],
  1901. "metricName": "select",
  1902. "timeGrain": "auto"
  1903. },
  1904. "azureLogAnalytics": {
  1905. "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",
  1906. "resultFormat": "time_series"
  1907. },
  1908. "azureMonitor": {
  1909. "aggOptions": [],
  1910. "aggregation": "Average",
  1911. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  1912. "dimensionFilter": "*",
  1913. "dimensionFilters": [],
  1914. "metricDefinition": "Microsoft.Insights/components",
  1915. "metricName": "browserTimings/receiveDuration",
  1916. "metricNamespace": "microsoft.insights/components",
  1917. "resourceGroup": "$rg",
  1918. "resourceName": "$res",
  1919. "timeGrain": "auto",
  1920. "timeGrains": [],
  1921. "top": "50"
  1922. },
  1923. "azureResourceGraph": {
  1924. "resultFormat": "table"
  1925. },
  1926. "hide": false,
  1927. "insightsAnalytics": {
  1928. "query": "",
  1929. "resultFormat": "time_series"
  1930. },
  1931. "queryType": "Azure Monitor",
  1932. "refId": "Receiving response time",
  1933. "subscription": "$sub",
  1934. "subscriptions": []
  1935. }
  1936. ],
  1937. "title": "Average page load time breakdown",
  1938. "type": "timeseries"
  1939. },
  1940. {
  1941. "datasource": "${ds}",
  1942. "fieldConfig": {
  1943. "defaults": {
  1944. "color": {
  1945. "mode": "palette-classic"
  1946. },
  1947. "custom": {
  1948. "axisLabel": "",
  1949. "axisPlacement": "auto",
  1950. "axisSoftMin": 0,
  1951. "barAlignment": 0,
  1952. "drawStyle": "line",
  1953. "fillOpacity": 0,
  1954. "gradientMode": "none",
  1955. "hideFrom": {
  1956. "legend": false,
  1957. "tooltip": false,
  1958. "viz": false
  1959. },
  1960. "lineInterpolation": "linear",
  1961. "lineWidth": 1,
  1962. "pointSize": 5,
  1963. "scaleDistribution": {
  1964. "type": "linear"
  1965. },
  1966. "showPoints": "never",
  1967. "spanNulls": true,
  1968. "stacking": {
  1969. "group": "A",
  1970. "mode": "none"
  1971. },
  1972. "thresholdsStyle": {
  1973. "mode": "off"
  1974. }
  1975. },
  1976. "mappings": [],
  1977. "noValue": "--",
  1978. "thresholds": {
  1979. "mode": "absolute",
  1980. "steps": [
  1981. {
  1982. "color": "green",
  1983. "value": null
  1984. },
  1985. {
  1986. "color": "red",
  1987. "value": 80
  1988. }
  1989. ]
  1990. }
  1991. },
  1992. "overrides": []
  1993. },
  1994. "gridPos": {
  1995. "h": 10,
  1996. "w": 6,
  1997. "x": 0,
  1998. "y": 27
  1999. },
  2000. "id": 22,
  2001. "links": [
  2002. {
  2003. "targetBlank": true,
  2004. "title": "${res} | Availability test results count",
  2005. "url": "https://ms.portal.azure.com/#blade/Microsoft_Azure_MonitoringMetrics/Metrics.ReactView/ResourceId/%2Fsubscriptions%2F${sub}%2FresourceGroups%2F${rg}%2Fproviders%2Fmicrosoft.insights%2Fcomponents%2F${res}/TimeContext/%7B%22relative%22%3A%7B%22duration%22%3A1800000%7D%2C%22options%22%3A%7B%22grain%22%3A1%2C%22showUTCTime%22%3Atrue%7D%7D/Chart/%7B%22metrics%22%3A%5B%7B%22resourceMetadata%22%3A%7B%22id%22%3A%22%2Fsubscriptions%2F${sub}%2FresourceGroups%2F${rg}%2Fproviders%2Fmicrosoft.insights%2Fcomponents%2F${res}%22%7D%2C%22name%22%3A%22availabilityResults%2Fcount%22%2C%22namespace%22%3A%22microsoft.insights%2Fcomponents%22%2C%22metricVisualization%22%3A%7B%22displayName%22%3A%22Availability%20test%20results%20count%22%2C%22color%22%3A%22%2347BDF5%22%7D%2C%22aggregationType%22%3A7%2C%22thresholds%22%3A%5B%5D%7D%5D%2C%22filterCollection%22%3A%7B%22filters%22%3A%5B%5D%7D%2C%22grouping%22%3Anull%2C%22visualization%22%3A%7B%22chartType%22%3A2%2C%22legendVisualization%22%3A%7B%22isVisible%22%3Atrue%2C%22position%22%3A2%2C%22hideSubtitle%22%3Afalse%7D%2C%22axisVisualization%22%3A%7B%22x%22%3A%7B%22isVisible%22%3Atrue%2C%22axisType%22%3A2%7D%2C%22y%22%3A%7B%22isVisible%22%3Atrue%2C%22axisType%22%3A1%7D%7D%2C%22disablePinning%22%3Atrue%7D%2C%22title%22%3A%22Availability%20test%20results%20count%22%2C%22timespan%22%3A%7B%22relative%22%3A%7B%22duration%22%3A1800000%7D%2C%22showUTCTime%22%3Atrue%2C%22grain%22%3A1%7D%2C%22ariaLabel%22%3Anull%7D/openInEditMode/true"
  2006. }
  2007. ],
  2008. "maxDataPoints": 150,
  2009. "options": {
  2010. "legend": {
  2011. "calcs": ["sum"],
  2012. "displayMode": "list",
  2013. "placement": "bottom"
  2014. },
  2015. "tooltip": {
  2016. "mode": "single"
  2017. }
  2018. },
  2019. "targets": [
  2020. {
  2021. "appInsights": {
  2022. "dimension": [],
  2023. "metricName": "select",
  2024. "timeGrain": "auto"
  2025. },
  2026. "azureLogAnalytics": {
  2027. "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",
  2028. "resultFormat": "time_series"
  2029. },
  2030. "azureMonitor": {
  2031. "aggOptions": [],
  2032. "aggregation": "Count",
  2033. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  2034. "dimensionFilter": "*",
  2035. "dimensionFilters": [],
  2036. "metricDefinition": "microsoft.insights/components",
  2037. "metricName": "availabilityResults/count",
  2038. "metricNamespace": "microsoft.insights/components",
  2039. "resourceGroup": "$rg",
  2040. "resourceName": "$res",
  2041. "timeGrain": "auto",
  2042. "timeGrains": [],
  2043. "top": "50"
  2044. },
  2045. "azureResourceGraph": {
  2046. "resultFormat": "table"
  2047. },
  2048. "insightsAnalytics": {
  2049. "query": "",
  2050. "resultFormat": "time_series"
  2051. },
  2052. "queryType": "Azure Monitor",
  2053. "refId": "A",
  2054. "subscription": "$sub",
  2055. "subscriptions": []
  2056. }
  2057. ],
  2058. "title": "Availability test results count",
  2059. "type": "timeseries"
  2060. },
  2061. {
  2062. "datasource": "${ds}",
  2063. "fieldConfig": {
  2064. "defaults": {
  2065. "color": {
  2066. "fixedColor": "#ec008c",
  2067. "mode": "fixed"
  2068. },
  2069. "custom": {
  2070. "axisLabel": "",
  2071. "axisPlacement": "auto",
  2072. "barAlignment": 0,
  2073. "drawStyle": "line",
  2074. "fillOpacity": 0,
  2075. "gradientMode": "none",
  2076. "hideFrom": {
  2077. "legend": false,
  2078. "tooltip": false,
  2079. "viz": false
  2080. },
  2081. "lineInterpolation": "linear",
  2082. "lineWidth": 1,
  2083. "pointSize": 5,
  2084. "scaleDistribution": {
  2085. "type": "linear"
  2086. },
  2087. "showPoints": "never",
  2088. "spanNulls": true,
  2089. "stacking": {
  2090. "group": "A",
  2091. "mode": "none"
  2092. },
  2093. "thresholdsStyle": {
  2094. "mode": "off"
  2095. }
  2096. },
  2097. "mappings": [],
  2098. "noValue": "--",
  2099. "thresholds": {
  2100. "mode": "absolute",
  2101. "steps": [
  2102. {
  2103. "color": "green",
  2104. "value": null
  2105. },
  2106. {
  2107. "color": "red",
  2108. "value": 80
  2109. }
  2110. ]
  2111. }
  2112. },
  2113. "overrides": []
  2114. },
  2115. "gridPos": {
  2116. "h": 10,
  2117. "w": 6,
  2118. "x": 6,
  2119. "y": 27
  2120. },
  2121. "id": 26,
  2122. "links": [
  2123. {
  2124. "targetBlank": true,
  2125. "title": "${res} | Average process I/O rate",
  2126. "url": "https://ms.portal.azure.com/#blade/Microsoft_Azure_MonitoringMetrics/Metrics.ReactView/ResourceId/%2Fsubscriptions%2F${sub}%2FresourceGroups%2F${rg}%2Fproviders%2Fmicrosoft.insights%2Fcomponents%2F${res}/TimeContext/%7B%22relative%22%3A%7B%22duration%22%3A1800000%7D%2C%22options%22%3A%7B%22grain%22%3A1%2C%22showUTCTime%22%3Atrue%7D%7D/Chart/%7B%22metrics%22%3A%5B%7B%22resourceMetadata%22%3A%7B%22id%22%3A%22%2Fsubscriptions%2F${sub}%2FresourceGroups%2F${rg}%2Fproviders%2Fmicrosoft.insights%2Fcomponents%2F${res}%22%7D%2C%22name%22%3A%22performanceCounters%2FprocessIOBytesPerSecond%22%2C%22namespace%22%3A%22microsoft.insights%2Fcomponents%22%2C%22metricVisualization%22%3A%7B%22displayName%22%3A%22Process%20IO%20rate%22%2C%22color%22%3A%22%2347BDF5%22%7D%2C%22aggregationType%22%3A4%2C%22thresholds%22%3A%5B%5D%7D%5D%2C%22filterCollection%22%3A%7B%22filters%22%3A%5B%5D%7D%2C%22grouping%22%3Anull%2C%22visualization%22%3A%7B%22chartType%22%3A2%2C%22legendVisualization%22%3A%7B%22isVisible%22%3Atrue%2C%22position%22%3A2%2C%22hideSubtitle%22%3Afalse%7D%2C%22axisVisualization%22%3A%7B%22x%22%3A%7B%22isVisible%22%3Atrue%2C%22axisType%22%3A2%7D%2C%22y%22%3A%7B%22isVisible%22%3Atrue%2C%22axisType%22%3A1%7D%7D%2C%22disablePinning%22%3Atrue%7D%2C%22title%22%3A%22Average%20process%20I%2FO%20rate%22%2C%22timespan%22%3A%7B%22relative%22%3A%7B%22duration%22%3A1800000%7D%2C%22showUTCTime%22%3Atrue%2C%22grain%22%3A1%7D%2C%22ariaLabel%22%3Anull%7D/openInEditMode/true"
  2127. }
  2128. ],
  2129. "maxDataPoints": 100,
  2130. "options": {
  2131. "legend": {
  2132. "calcs": ["mean"],
  2133. "displayMode": "list",
  2134. "placement": "bottom"
  2135. },
  2136. "tooltip": {
  2137. "mode": "single"
  2138. }
  2139. },
  2140. "targets": [
  2141. {
  2142. "appInsights": {
  2143. "dimension": [],
  2144. "metricName": "select",
  2145. "timeGrain": "auto"
  2146. },
  2147. "azureLogAnalytics": {
  2148. "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",
  2149. "resultFormat": "time_series"
  2150. },
  2151. "azureMonitor": {
  2152. "aggOptions": [],
  2153. "aggregation": "Average",
  2154. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  2155. "dimensionFilter": "*",
  2156. "dimensionFilters": [],
  2157. "metricDefinition": "Microsoft.Insights/components",
  2158. "metricName": "performanceCounters/processIOBytesPerSecond",
  2159. "metricNamespace": "microsoft.insights/components",
  2160. "resourceGroup": "$rg",
  2161. "resourceName": "$res",
  2162. "timeGrain": "auto",
  2163. "timeGrains": [],
  2164. "top": "100"
  2165. },
  2166. "azureResourceGraph": {
  2167. "resultFormat": "table"
  2168. },
  2169. "insightsAnalytics": {
  2170. "query": "",
  2171. "resultFormat": "time_series"
  2172. },
  2173. "queryType": "Azure Monitor",
  2174. "refId": "A",
  2175. "subscription": "$sub",
  2176. "subscriptions": []
  2177. }
  2178. ],
  2179. "title": "Average process I/O rate",
  2180. "type": "timeseries"
  2181. },
  2182. {
  2183. "datasource": "${ds}",
  2184. "fieldConfig": {
  2185. "defaults": {
  2186. "color": {
  2187. "fixedColor": "#7e58ff",
  2188. "mode": "fixed"
  2189. },
  2190. "custom": {
  2191. "axisLabel": "",
  2192. "axisPlacement": "auto",
  2193. "axisSoftMin": 0,
  2194. "axisWidth": 80,
  2195. "barAlignment": 0,
  2196. "drawStyle": "line",
  2197. "fillOpacity": 0,
  2198. "gradientMode": "none",
  2199. "hideFrom": {
  2200. "legend": false,
  2201. "tooltip": false,
  2202. "viz": false
  2203. },
  2204. "lineInterpolation": "linear",
  2205. "lineWidth": 1,
  2206. "pointSize": 5,
  2207. "scaleDistribution": {
  2208. "type": "linear"
  2209. },
  2210. "showPoints": "never",
  2211. "spanNulls": true,
  2212. "stacking": {
  2213. "group": "A",
  2214. "mode": "none"
  2215. },
  2216. "thresholdsStyle": {
  2217. "mode": "off"
  2218. }
  2219. },
  2220. "mappings": [],
  2221. "noValue": "--",
  2222. "thresholds": {
  2223. "mode": "absolute",
  2224. "steps": [
  2225. {
  2226. "color": "green",
  2227. "value": null
  2228. },
  2229. {
  2230. "color": "red",
  2231. "value": 80
  2232. }
  2233. ]
  2234. }
  2235. },
  2236. "overrides": []
  2237. },
  2238. "gridPos": {
  2239. "h": 10,
  2240. "w": 6,
  2241. "x": 12,
  2242. "y": 27
  2243. },
  2244. "id": 30,
  2245. "links": [
  2246. {
  2247. "targetBlank": true,
  2248. "title": "${res} | Average available memory",
  2249. "url": "https://ms.portal.azure.com/#blade/Microsoft_Azure_MonitoringMetrics/Metrics.ReactView/ResourceId/%2Fsubscriptions%2F${sub}%2FresourceGroups%2F${rg}%2Fproviders%2Fmicrosoft.insights%2Fcomponents%2F${res}/TimeContext/%7B%22relative%22%3A%7B%22duration%22%3A1800000%7D%2C%22options%22%3A%7B%22grain%22%3A1%2C%22showUTCTime%22%3Atrue%7D%7D/Chart/%7B%22metrics%22%3A%5B%7B%22resourceMetadata%22%3A%7B%22id%22%3A%22%2Fsubscriptions%2F${sub}%2FresourceGroups%2F${rg}%2Fproviders%2Fmicrosoft.insights%2Fcomponents%2F${res}%22%7D%2C%22name%22%3A%22performanceCounters%2FmemoryAvailableBytes%22%2C%22namespace%22%3A%22microsoft.insights%2Fcomponents%22%2C%22metricVisualization%22%3A%7B%22displayName%22%3A%22Available%20memory%22%2C%22color%22%3A%22%2347BDF5%22%7D%2C%22aggregationType%22%3A4%2C%22thresholds%22%3A%5B%5D%7D%5D%2C%22filterCollection%22%3A%7B%22filters%22%3A%5B%5D%7D%2C%22grouping%22%3Anull%2C%22visualization%22%3A%7B%22chartType%22%3A2%2C%22legendVisualization%22%3A%7B%22isVisible%22%3Atrue%2C%22position%22%3A2%2C%22hideSubtitle%22%3Afalse%7D%2C%22axisVisualization%22%3A%7B%22x%22%3A%7B%22isVisible%22%3Atrue%2C%22axisType%22%3A2%7D%2C%22y%22%3A%7B%22isVisible%22%3Atrue%2C%22axisType%22%3A1%7D%7D%2C%22disablePinning%22%3Atrue%7D%2C%22title%22%3A%22Average%20available%20memory%22%2C%22timespan%22%3A%7B%22relative%22%3A%7B%22duration%22%3A1800000%7D%2C%22showUTCTime%22%3Atrue%2C%22grain%22%3A1%7D%2C%22ariaLabel%22%3Anull%7D/openInEditMode/true"
  2250. }
  2251. ],
  2252. "maxDataPoints": 150,
  2253. "options": {
  2254. "legend": {
  2255. "calcs": ["mean"],
  2256. "displayMode": "list",
  2257. "placement": "bottom"
  2258. },
  2259. "tooltip": {
  2260. "mode": "single"
  2261. }
  2262. },
  2263. "targets": [
  2264. {
  2265. "appInsights": {
  2266. "dimension": [],
  2267. "metricName": "select",
  2268. "timeGrain": "auto"
  2269. },
  2270. "azureLogAnalytics": {
  2271. "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",
  2272. "resultFormat": "time_series"
  2273. },
  2274. "azureMonitor": {
  2275. "aggOptions": [],
  2276. "aggregation": "Average",
  2277. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  2278. "dimensionFilter": "*",
  2279. "dimensionFilters": [],
  2280. "metricDefinition": "microsoft.insights/components",
  2281. "metricName": "performanceCounters/memoryAvailableBytes",
  2282. "metricNamespace": "microsoft.insights/components",
  2283. "resourceGroup": "$rg",
  2284. "resourceName": "$res",
  2285. "timeGrain": "auto",
  2286. "timeGrains": [],
  2287. "top": "50"
  2288. },
  2289. "azureResourceGraph": {
  2290. "resultFormat": "table"
  2291. },
  2292. "insightsAnalytics": {
  2293. "query": "",
  2294. "resultFormat": "time_series"
  2295. },
  2296. "queryType": "Azure Monitor",
  2297. "refId": "A",
  2298. "subscription": "$sub",
  2299. "subscriptions": []
  2300. }
  2301. ],
  2302. "title": "Average available memory",
  2303. "type": "timeseries"
  2304. },
  2305. {
  2306. "datasource": "${ds}",
  2307. "fieldConfig": {
  2308. "defaults": {
  2309. "color": {
  2310. "fixedColor": "blue",
  2311. "mode": "fixed"
  2312. },
  2313. "custom": {
  2314. "axisLabel": "",
  2315. "axisPlacement": "auto",
  2316. "axisSoftMin": 0,
  2317. "axisWidth": 50,
  2318. "barAlignment": 0,
  2319. "drawStyle": "line",
  2320. "fillOpacity": 0,
  2321. "gradientMode": "none",
  2322. "hideFrom": {
  2323. "legend": false,
  2324. "tooltip": false,
  2325. "viz": false
  2326. },
  2327. "lineInterpolation": "linear",
  2328. "lineWidth": 1,
  2329. "pointSize": 5,
  2330. "scaleDistribution": {
  2331. "type": "linear"
  2332. },
  2333. "showPoints": "never",
  2334. "spanNulls": true,
  2335. "stacking": {
  2336. "group": "A",
  2337. "mode": "none"
  2338. },
  2339. "thresholdsStyle": {
  2340. "mode": "off"
  2341. }
  2342. },
  2343. "mappings": [],
  2344. "noValue": "--",
  2345. "thresholds": {
  2346. "mode": "absolute",
  2347. "steps": [
  2348. {
  2349. "color": "green",
  2350. "value": null
  2351. },
  2352. {
  2353. "color": "red",
  2354. "value": 80
  2355. }
  2356. ]
  2357. }
  2358. },
  2359. "overrides": []
  2360. },
  2361. "gridPos": {
  2362. "h": 10,
  2363. "w": 6,
  2364. "x": 18,
  2365. "y": 27
  2366. },
  2367. "id": 34,
  2368. "links": [
  2369. {
  2370. "targetBlank": true,
  2371. "title": "${res} | Browser exceptions",
  2372. "url": "https://ms.portal.azure.com/#blade/Microsoft_Azure_MonitoringMetrics/Metrics.ReactView/ResourceId/%2Fsubscriptions%2F${sub}%2FresourceGroups%2F${rg}%2Fproviders%2Fmicrosoft.insights%2Fcomponents%2F${res}/TimeContext/%7B%22relative%22%3A%7B%22duration%22%3A1800000%7D%2C%22options%22%3A%7B%22grain%22%3A1%2C%22showUTCTime%22%3Atrue%7D%7D/Chart/%7B%22metrics%22%3A%5B%7B%22resourceMetadata%22%3A%7B%22id%22%3A%22%2Fsubscriptions%2F${sub}%2FresourceGroups%2F${rg}%2Fproviders%2Fmicrosoft.insights%2Fcomponents%2F${res}%22%7D%2C%22name%22%3A%22exceptions%2Fbrowser%22%2C%22namespace%22%3A%22microsoft.insights%2Fcomponents%22%2C%22metricVisualization%22%3A%7B%22displayName%22%3A%22Browser%20exceptions%22%2C%22color%22%3A%22%2347BDF5%22%7D%2C%22aggregationType%22%3A7%2C%22thresholds%22%3A%5B%5D%7D%5D%2C%22filterCollection%22%3A%7B%22filters%22%3A%5B%5D%7D%2C%22grouping%22%3Anull%2C%22visualization%22%3A%7B%22chartType%22%3A2%2C%22legendVisualization%22%3A%7B%22isVisible%22%3Atrue%2C%22position%22%3A2%2C%22hideSubtitle%22%3Afalse%7D%2C%22axisVisualization%22%3A%7B%22x%22%3A%7B%22isVisible%22%3Atrue%2C%22axisType%22%3A2%7D%2C%22y%22%3A%7B%22isVisible%22%3Atrue%2C%22axisType%22%3A1%7D%7D%2C%22disablePinning%22%3Atrue%7D%2C%22title%22%3A%22Browser%20exceptions%22%2C%22timespan%22%3A%7B%22relative%22%3A%7B%22duration%22%3A1800000%7D%2C%22showUTCTime%22%3Atrue%2C%22grain%22%3A1%7D%2C%22ariaLabel%22%3Anull%7D/openInEditMode/true"
  2373. }
  2374. ],
  2375. "maxDataPoints": 150,
  2376. "options": {
  2377. "legend": {
  2378. "calcs": ["sum"],
  2379. "displayMode": "list",
  2380. "placement": "bottom"
  2381. },
  2382. "tooltip": {
  2383. "mode": "single"
  2384. }
  2385. },
  2386. "targets": [
  2387. {
  2388. "appInsights": {
  2389. "dimension": [],
  2390. "metricName": "select",
  2391. "timeGrain": "auto"
  2392. },
  2393. "azureLogAnalytics": {
  2394. "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",
  2395. "resultFormat": "time_series"
  2396. },
  2397. "azureMonitor": {
  2398. "aggOptions": [],
  2399. "aggregation": "Count",
  2400. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  2401. "dimensionFilter": "*",
  2402. "dimensionFilters": [],
  2403. "metricDefinition": "Microsoft.Insights/components",
  2404. "metricName": "exceptions/browser",
  2405. "metricNamespace": "microsoft.insights/components",
  2406. "resourceGroup": "$rg",
  2407. "resourceName": "$res",
  2408. "timeGrain": "auto",
  2409. "timeGrains": [],
  2410. "top": "50"
  2411. },
  2412. "azureResourceGraph": {
  2413. "resultFormat": "table"
  2414. },
  2415. "insightsAnalytics": {
  2416. "query": "",
  2417. "resultFormat": "time_series"
  2418. },
  2419. "queryType": "Azure Monitor",
  2420. "refId": "A",
  2421. "subscription": "$sub",
  2422. "subscriptions": []
  2423. }
  2424. ],
  2425. "title": "Browser exceptions",
  2426. "type": "timeseries"
  2427. }
  2428. ],
  2429. "refresh": "",
  2430. "schemaVersion": 32,
  2431. "style": "dark",
  2432. "tags": [],
  2433. "templating": {
  2434. "list": [
  2435. {
  2436. "current": {},
  2437. "description": null,
  2438. "error": null,
  2439. "hide": 0,
  2440. "includeAll": false,
  2441. "label": "Datasource",
  2442. "multi": false,
  2443. "name": "ds",
  2444. "options": [],
  2445. "query": "grafana-azure-monitor-datasource",
  2446. "queryValue": "",
  2447. "refresh": 1,
  2448. "regex": "",
  2449. "skipUrlSync": false,
  2450. "type": "datasource"
  2451. },
  2452. {
  2453. "allValue": null,
  2454. "current": {},
  2455. "datasource": "${ds}",
  2456. "definition": "Subscriptions()",
  2457. "description": null,
  2458. "error": null,
  2459. "hide": 0,
  2460. "includeAll": false,
  2461. "label": "Subscription",
  2462. "multi": false,
  2463. "name": "sub",
  2464. "options": [],
  2465. "query": "Subscriptions()",
  2466. "refresh": 1,
  2467. "regex": "",
  2468. "skipUrlSync": false,
  2469. "sort": 0,
  2470. "type": "query"
  2471. },
  2472. {
  2473. "allValue": null,
  2474. "current": {},
  2475. "datasource": "${ds}",
  2476. "definition": "ResourceGroups($sub)",
  2477. "description": null,
  2478. "error": null,
  2479. "hide": 0,
  2480. "includeAll": false,
  2481. "label": "Resource Group",
  2482. "multi": false,
  2483. "name": "rg",
  2484. "options": [],
  2485. "query": "ResourceGroups($sub)",
  2486. "refresh": 1,
  2487. "regex": "",
  2488. "skipUrlSync": false,
  2489. "sort": 0,
  2490. "type": "query"
  2491. },
  2492. {
  2493. "allValue": null,
  2494. "current": {},
  2495. "datasource": "${ds}",
  2496. "definition": "Namespaces($sub, $rg)",
  2497. "description": null,
  2498. "error": null,
  2499. "hide": 2,
  2500. "includeAll": false,
  2501. "label": "Namespace",
  2502. "multi": false,
  2503. "name": "ns",
  2504. "options": [],
  2505. "query": "Namespaces($sub, $rg)",
  2506. "refresh": 1,
  2507. "regex": "([mM](icrosoft)\\.[iI](nsights)/(components))",
  2508. "skipUrlSync": false,
  2509. "sort": 0,
  2510. "type": "query"
  2511. },
  2512. {
  2513. "allValue": null,
  2514. "current": {},
  2515. "datasource": "${ds}",
  2516. "definition": "ResourceNames($sub, $rg, $ns)",
  2517. "description": null,
  2518. "error": null,
  2519. "hide": 0,
  2520. "includeAll": false,
  2521. "label": "Resource",
  2522. "multi": false,
  2523. "name": "res",
  2524. "options": [],
  2525. "query": "ResourceNames($sub, $rg, $ns)",
  2526. "refresh": 1,
  2527. "regex": "",
  2528. "skipUrlSync": false,
  2529. "sort": 0,
  2530. "type": "query"
  2531. }
  2532. ]
  2533. },
  2534. "time": {
  2535. "from": "now-30m",
  2536. "to": "now"
  2537. },
  2538. "timepicker": {},
  2539. "timezone": "",
  2540. "title": "Azure / Insights / Applications",
  2541. "version": 10
  2542. }