cosmosdb.json 163 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005
  1. {
  2. "__requires": [
  3. {
  4. "type": "grafana",
  5. "id": "grafana",
  6. "name": "Grafana",
  7. "version": "7.4.3"
  8. },
  9. {
  10. "type": "datasource",
  11. "id": "grafana-azure-monitor-datasource",
  12. "name": "Azure Monitor",
  13. "version": "0.3.0"
  14. },
  15. {
  16. "type": "panel",
  17. "id": "graph",
  18. "name": "Graph",
  19. "version": ""
  20. },
  21. {
  22. "type": "panel",
  23. "id": "stat",
  24. "name": "Stat",
  25. "version": ""
  26. },
  27. {
  28. "type": "panel",
  29. "id": "table",
  30. "name": "Table",
  31. "version": ""
  32. }
  33. ],
  34. "editable": true,
  35. "gnetId": null,
  36. "graphTooltip": 0,
  37. "id": null,
  38. "iteration": 1621378610748,
  39. "links": [],
  40. "panels": [
  41. {
  42. "collapsed": true,
  43. "datasource": "$ds",
  44. "gridPos": {
  45. "h": 1,
  46. "w": 24,
  47. "x": 0,
  48. "y": 0
  49. },
  50. "id": 4,
  51. "panels": [
  52. {
  53. "aliasColors": {},
  54. "bars": false,
  55. "dashLength": 10,
  56. "dashes": false,
  57. "datasource": "$ds",
  58. "fieldConfig": {
  59. "defaults": {
  60. "color": {},
  61. "custom": {},
  62. "thresholds": {
  63. "mode": "absolute",
  64. "steps": []
  65. }
  66. },
  67. "overrides": []
  68. },
  69. "fill": 1,
  70. "fillGradient": 0,
  71. "gridPos": {
  72. "h": 9,
  73. "w": 12,
  74. "x": 0,
  75. "y": 1
  76. },
  77. "hiddenSeries": false,
  78. "id": 2,
  79. "legend": {
  80. "avg": false,
  81. "current": false,
  82. "max": false,
  83. "min": false,
  84. "show": true,
  85. "total": true,
  86. "values": true
  87. },
  88. "lines": true,
  89. "linewidth": 1,
  90. "nullPointMode": "null",
  91. "options": {
  92. "alertThreshold": true
  93. },
  94. "percentage": false,
  95. "pluginVersion": "7.4.3",
  96. "pointradius": 2,
  97. "points": false,
  98. "renderer": "flot",
  99. "seriesOverrides": [],
  100. "spaceLength": 10,
  101. "stack": false,
  102. "steppedLine": false,
  103. "targets": [
  104. {
  105. "appInsights": {
  106. "dimension": [],
  107. "metricName": "select",
  108. "timeGrain": "auto"
  109. },
  110. "azureLogAnalytics": {
  111. "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",
  112. "resultFormat": "time_series",
  113. "workspace": "$ws"
  114. },
  115. "azureMonitor": {
  116. "aggOptions": ["Count"],
  117. "aggregation": "Count",
  118. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  119. "dimensionFilter": "*",
  120. "dimensionFilters": [],
  121. "dimensions": [
  122. {
  123. "text": "DatabaseName",
  124. "value": "DatabaseName"
  125. },
  126. {
  127. "text": "CollectionName",
  128. "value": "CollectionName"
  129. },
  130. {
  131. "text": "Region",
  132. "value": "Region"
  133. },
  134. {
  135. "text": "StatusCode",
  136. "value": "StatusCode"
  137. },
  138. {
  139. "text": "OperationType",
  140. "value": "OperationType"
  141. },
  142. {
  143. "text": "Status",
  144. "value": "Status"
  145. }
  146. ],
  147. "metricDefinition": "$ns",
  148. "metricName": "TotalRequests",
  149. "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
  150. "resourceGroup": "$rg",
  151. "resourceName": "$resource",
  152. "timeGrain": "auto",
  153. "timeGrains": [
  154. {
  155. "text": "auto",
  156. "value": "auto"
  157. },
  158. {
  159. "text": "1 minute",
  160. "value": "PT1M"
  161. },
  162. {
  163. "text": "5 minutes",
  164. "value": "PT5M"
  165. },
  166. {
  167. "text": "15 minutes",
  168. "value": "PT15M"
  169. },
  170. {
  171. "text": "30 minutes",
  172. "value": "PT30M"
  173. },
  174. {
  175. "text": "1 hour",
  176. "value": "PT1H"
  177. },
  178. {
  179. "text": "6 hours",
  180. "value": "PT6H"
  181. },
  182. {
  183. "text": "12 hours",
  184. "value": "PT12H"
  185. },
  186. {
  187. "text": "1 day",
  188. "value": "P1D"
  189. }
  190. ],
  191. "top": "10"
  192. },
  193. "insightsAnalytics": {
  194. "query": "",
  195. "resultFormat": "time_series"
  196. },
  197. "queryType": "Azure Monitor",
  198. "refId": "A",
  199. "subscription": "$sub"
  200. }
  201. ],
  202. "thresholds": [],
  203. "timeFrom": null,
  204. "timeRegions": [],
  205. "timeShift": null,
  206. "title": "Total Requests",
  207. "tooltip": {
  208. "shared": true,
  209. "sort": 0,
  210. "value_type": "individual"
  211. },
  212. "type": "graph",
  213. "xaxis": {
  214. "buckets": null,
  215. "mode": "time",
  216. "name": null,
  217. "show": true,
  218. "values": []
  219. },
  220. "yaxes": [
  221. {
  222. "format": "short",
  223. "label": null,
  224. "logBase": 1,
  225. "max": null,
  226. "min": "0",
  227. "show": true
  228. },
  229. {
  230. "format": "short",
  231. "label": null,
  232. "logBase": 1,
  233. "max": null,
  234. "min": null,
  235. "show": true
  236. }
  237. ],
  238. "yaxis": {
  239. "align": false,
  240. "alignLevel": null
  241. }
  242. },
  243. {
  244. "aliasColors": {},
  245. "bars": false,
  246. "dashLength": 10,
  247. "dashes": false,
  248. "datasource": "$ds",
  249. "fieldConfig": {
  250. "defaults": {
  251. "color": {},
  252. "custom": {},
  253. "thresholds": {
  254. "mode": "absolute",
  255. "steps": []
  256. },
  257. "unit": "short"
  258. },
  259. "overrides": []
  260. },
  261. "fill": 1,
  262. "fillGradient": 0,
  263. "gridPos": {
  264. "h": 9,
  265. "w": 12,
  266. "x": 12,
  267. "y": 1
  268. },
  269. "hiddenSeries": false,
  270. "id": 19,
  271. "legend": {
  272. "avg": false,
  273. "current": false,
  274. "max": false,
  275. "min": false,
  276. "show": true,
  277. "total": true,
  278. "values": true
  279. },
  280. "lines": true,
  281. "linewidth": 1,
  282. "nullPointMode": "null as zero",
  283. "options": {
  284. "alertThreshold": true
  285. },
  286. "percentage": false,
  287. "pluginVersion": "7.4.3",
  288. "pointradius": 2,
  289. "points": false,
  290. "renderer": "flot",
  291. "seriesOverrides": [],
  292. "spaceLength": 10,
  293. "stack": false,
  294. "steppedLine": false,
  295. "targets": [
  296. {
  297. "appInsights": {
  298. "dimension": [],
  299. "metricName": "select",
  300. "timeGrain": "auto"
  301. },
  302. "azureLogAnalytics": {
  303. "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",
  304. "resultFormat": "time_series",
  305. "workspace": "$ws"
  306. },
  307. "azureMonitor": {
  308. "aggOptions": ["Count"],
  309. "aggregation": "Count",
  310. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  311. "dimensionFilter": "*",
  312. "dimensionFilters": [
  313. {
  314. "dimension": "StatusCode",
  315. "filter": "429",
  316. "operator": "eq"
  317. }
  318. ],
  319. "dimensions": [
  320. {
  321. "text": "DatabaseName",
  322. "value": "DatabaseName"
  323. },
  324. {
  325. "text": "CollectionName",
  326. "value": "CollectionName"
  327. },
  328. {
  329. "text": "Region",
  330. "value": "Region"
  331. },
  332. {
  333. "text": "StatusCode",
  334. "value": "StatusCode"
  335. },
  336. {
  337. "text": "OperationType",
  338. "value": "OperationType"
  339. },
  340. {
  341. "text": "Status",
  342. "value": "Status"
  343. }
  344. ],
  345. "metricDefinition": "$ns",
  346. "metricName": "TotalRequests",
  347. "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
  348. "resourceGroup": "$rg",
  349. "resourceName": "$resource",
  350. "timeGrain": "auto",
  351. "timeGrains": [
  352. {
  353. "text": "auto",
  354. "value": "auto"
  355. },
  356. {
  357. "text": "1 minute",
  358. "value": "PT1M"
  359. },
  360. {
  361. "text": "5 minutes",
  362. "value": "PT5M"
  363. },
  364. {
  365. "text": "15 minutes",
  366. "value": "PT15M"
  367. },
  368. {
  369. "text": "30 minutes",
  370. "value": "PT30M"
  371. },
  372. {
  373. "text": "1 hour",
  374. "value": "PT1H"
  375. },
  376. {
  377. "text": "6 hours",
  378. "value": "PT6H"
  379. },
  380. {
  381. "text": "12 hours",
  382. "value": "PT12H"
  383. },
  384. {
  385. "text": "1 day",
  386. "value": "P1D"
  387. }
  388. ],
  389. "top": ""
  390. },
  391. "insightsAnalytics": {
  392. "query": "",
  393. "resultFormat": "time_series"
  394. },
  395. "queryType": "Azure Monitor",
  396. "refId": "A",
  397. "subscription": "$sub"
  398. }
  399. ],
  400. "thresholds": [],
  401. "timeFrom": null,
  402. "timeRegions": [],
  403. "timeShift": null,
  404. "title": "Throttled Requests (429s)",
  405. "tooltip": {
  406. "shared": true,
  407. "sort": 0,
  408. "value_type": "individual"
  409. },
  410. "type": "graph",
  411. "xaxis": {
  412. "buckets": null,
  413. "mode": "time",
  414. "name": null,
  415. "show": true,
  416. "values": []
  417. },
  418. "yaxes": [
  419. {
  420. "format": "short",
  421. "label": null,
  422. "logBase": 1,
  423. "max": null,
  424. "min": "0",
  425. "show": true
  426. },
  427. {
  428. "format": "short",
  429. "label": null,
  430. "logBase": 1,
  431. "max": null,
  432. "min": null,
  433. "show": true
  434. }
  435. ],
  436. "yaxis": {
  437. "align": false,
  438. "alignLevel": null
  439. }
  440. },
  441. {
  442. "aliasColors": {},
  443. "bars": false,
  444. "dashLength": 10,
  445. "dashes": false,
  446. "datasource": "$ds",
  447. "fieldConfig": {
  448. "defaults": {
  449. "color": {},
  450. "custom": {},
  451. "thresholds": {
  452. "mode": "absolute",
  453. "steps": []
  454. },
  455. "unit": "short"
  456. },
  457. "overrides": []
  458. },
  459. "fill": 1,
  460. "fillGradient": 0,
  461. "gridPos": {
  462. "h": 8,
  463. "w": 12,
  464. "x": 0,
  465. "y": 10
  466. },
  467. "hiddenSeries": false,
  468. "id": 9,
  469. "legend": {
  470. "avg": false,
  471. "current": false,
  472. "max": true,
  473. "min": false,
  474. "show": true,
  475. "total": false,
  476. "values": true
  477. },
  478. "lines": true,
  479. "linewidth": 1,
  480. "nullPointMode": "null",
  481. "options": {
  482. "alertThreshold": true
  483. },
  484. "percentage": false,
  485. "pluginVersion": "7.4.3",
  486. "pointradius": 2,
  487. "points": false,
  488. "renderer": "flot",
  489. "seriesOverrides": [],
  490. "spaceLength": 10,
  491. "stack": false,
  492. "steppedLine": false,
  493. "targets": [
  494. {
  495. "appInsights": {
  496. "dimension": [],
  497. "metricName": "select",
  498. "timeGrain": "auto"
  499. },
  500. "azureLogAnalytics": {
  501. "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",
  502. "resultFormat": "time_series",
  503. "workspace": "$ws"
  504. },
  505. "azureMonitor": {
  506. "aggOptions": ["Maximum", "Average"],
  507. "aggregation": "Maximum",
  508. "allowedTimeGrainsMs": [60000, 300000, 3600000, 86400000],
  509. "dimensionFilter": "*",
  510. "dimensionFilters": [],
  511. "dimensions": [
  512. {
  513. "text": "CollectionName",
  514. "value": "CollectionName"
  515. },
  516. {
  517. "text": "DatabaseName",
  518. "value": "DatabaseName"
  519. },
  520. {
  521. "text": "Region",
  522. "value": "Region"
  523. },
  524. {
  525. "text": "PartitionKeyRangeId",
  526. "value": "PartitionKeyRangeId"
  527. }
  528. ],
  529. "metricDefinition": "$ns",
  530. "metricName": "NormalizedRUConsumption",
  531. "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
  532. "resourceGroup": "$rg",
  533. "resourceName": "$resource",
  534. "timeGrain": "auto",
  535. "timeGrains": [
  536. {
  537. "text": "auto",
  538. "value": "auto"
  539. },
  540. {
  541. "text": "1 minute",
  542. "value": "PT1M"
  543. },
  544. {
  545. "text": "5 minutes",
  546. "value": "PT5M"
  547. },
  548. {
  549. "text": "1 hour",
  550. "value": "PT1H"
  551. },
  552. {
  553. "text": "1 day",
  554. "value": "P1D"
  555. }
  556. ],
  557. "top": ""
  558. },
  559. "insightsAnalytics": {
  560. "query": "",
  561. "resultFormat": "time_series"
  562. },
  563. "queryType": "Azure Monitor",
  564. "refId": "A",
  565. "subscription": "$sub"
  566. }
  567. ],
  568. "thresholds": [],
  569. "timeFrom": null,
  570. "timeRegions": [],
  571. "timeShift": null,
  572. "title": "Normalized RU Consumption (max)",
  573. "tooltip": {
  574. "shared": true,
  575. "sort": 0,
  576. "value_type": "individual"
  577. },
  578. "type": "graph",
  579. "xaxis": {
  580. "buckets": null,
  581. "mode": "time",
  582. "name": null,
  583. "show": true,
  584. "values": []
  585. },
  586. "yaxes": [
  587. {
  588. "format": "percent",
  589. "label": null,
  590. "logBase": 1,
  591. "max": null,
  592. "min": null,
  593. "show": true
  594. },
  595. {
  596. "format": "short",
  597. "label": null,
  598. "logBase": 1,
  599. "max": null,
  600. "min": null,
  601. "show": true
  602. }
  603. ],
  604. "yaxis": {
  605. "align": false,
  606. "alignLevel": null
  607. }
  608. },
  609. {
  610. "aliasColors": {},
  611. "bars": false,
  612. "dashLength": 10,
  613. "dashes": false,
  614. "datasource": "$ds",
  615. "fieldConfig": {
  616. "defaults": {
  617. "color": {},
  618. "custom": {},
  619. "thresholds": {
  620. "mode": "absolute",
  621. "steps": []
  622. },
  623. "unit": "short"
  624. },
  625. "overrides": []
  626. },
  627. "fill": 1,
  628. "fillGradient": 0,
  629. "gridPos": {
  630. "h": 8,
  631. "w": 12,
  632. "x": 12,
  633. "y": 10
  634. },
  635. "hiddenSeries": false,
  636. "id": 12,
  637. "legend": {
  638. "avg": true,
  639. "current": false,
  640. "max": false,
  641. "min": false,
  642. "show": true,
  643. "total": false,
  644. "values": true
  645. },
  646. "lines": true,
  647. "linewidth": 1,
  648. "nullPointMode": "null",
  649. "options": {
  650. "alertThreshold": true
  651. },
  652. "percentage": false,
  653. "pluginVersion": "7.4.3",
  654. "pointradius": 2,
  655. "points": false,
  656. "renderer": "flot",
  657. "seriesOverrides": [],
  658. "spaceLength": 10,
  659. "stack": false,
  660. "steppedLine": false,
  661. "targets": [
  662. {
  663. "appInsights": {
  664. "dimension": [],
  665. "metricName": "select",
  666. "timeGrain": "auto"
  667. },
  668. "azureLogAnalytics": {
  669. "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",
  670. "resultFormat": "time_series",
  671. "workspace": "$ws"
  672. },
  673. "azureMonitor": {
  674. "aggOptions": ["Total", "Average"],
  675. "aggregation": "Total",
  676. "allowedTimeGrainsMs": [300000],
  677. "dimensionFilter": "*",
  678. "dimensionFilters": [],
  679. "dimensions": [
  680. {
  681. "text": "CollectionName",
  682. "value": "CollectionName"
  683. },
  684. {
  685. "text": "DatabaseName",
  686. "value": "DatabaseName"
  687. },
  688. {
  689. "text": "Region",
  690. "value": "Region"
  691. }
  692. ],
  693. "metricDefinition": "$ns",
  694. "metricName": "IndexUsage",
  695. "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
  696. "resourceGroup": "$rg",
  697. "resourceName": "$resource",
  698. "timeGrain": "auto",
  699. "timeGrains": [
  700. {
  701. "text": "auto",
  702. "value": "auto"
  703. },
  704. {
  705. "text": "5 minutes",
  706. "value": "PT5M"
  707. }
  708. ],
  709. "top": ""
  710. },
  711. "hide": false,
  712. "insightsAnalytics": {
  713. "query": "",
  714. "resultFormat": "time_series"
  715. },
  716. "queryType": "Azure Monitor",
  717. "refId": "A",
  718. "subscription": "$sub"
  719. },
  720. {
  721. "appInsights": {
  722. "dimension": [],
  723. "metricName": "select",
  724. "timeGrain": "auto"
  725. },
  726. "azureLogAnalytics": {
  727. "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",
  728. "resultFormat": "time_series",
  729. "workspace": "$ws"
  730. },
  731. "azureMonitor": {
  732. "aggOptions": ["Total", "Average"],
  733. "aggregation": "Total",
  734. "allowedTimeGrainsMs": [300000],
  735. "dimensionFilter": "*",
  736. "dimensionFilters": [],
  737. "dimensions": [
  738. {
  739. "text": "CollectionName",
  740. "value": "CollectionName"
  741. },
  742. {
  743. "text": "DatabaseName",
  744. "value": "DatabaseName"
  745. },
  746. {
  747. "text": "Region",
  748. "value": "Region"
  749. }
  750. ],
  751. "metricDefinition": "$ns",
  752. "metricName": "DataUsage",
  753. "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
  754. "resourceGroup": "$rg",
  755. "resourceName": "$resource",
  756. "timeGrain": "auto",
  757. "timeGrains": [
  758. {
  759. "text": "auto",
  760. "value": "auto"
  761. },
  762. {
  763. "text": "5 minutes",
  764. "value": "PT5M"
  765. }
  766. ],
  767. "top": ""
  768. },
  769. "hide": false,
  770. "insightsAnalytics": {
  771. "query": "",
  772. "resultFormat": "time_series"
  773. },
  774. "queryType": "Azure Monitor",
  775. "refId": "B",
  776. "subscription": "$sub"
  777. }
  778. ],
  779. "thresholds": [],
  780. "timeFrom": null,
  781. "timeRegions": [],
  782. "timeShift": null,
  783. "title": "Index & Data Usage",
  784. "tooltip": {
  785. "shared": true,
  786. "sort": 0,
  787. "value_type": "individual"
  788. },
  789. "type": "graph",
  790. "xaxis": {
  791. "buckets": null,
  792. "mode": "time",
  793. "name": null,
  794. "show": true,
  795. "values": []
  796. },
  797. "yaxes": [
  798. {
  799. "format": "decbytes",
  800. "label": null,
  801. "logBase": 1,
  802. "max": null,
  803. "min": null,
  804. "show": true
  805. },
  806. {
  807. "format": "short",
  808. "label": null,
  809. "logBase": 1,
  810. "max": null,
  811. "min": null,
  812. "show": true
  813. }
  814. ],
  815. "yaxis": {
  816. "align": false,
  817. "alignLevel": null
  818. }
  819. },
  820. {
  821. "datasource": "$ds",
  822. "fieldConfig": {
  823. "defaults": {
  824. "color": {
  825. "mode": "fixed"
  826. },
  827. "custom": {
  828. "align": null,
  829. "filterable": false
  830. },
  831. "mappings": [],
  832. "thresholds": {
  833. "mode": "absolute",
  834. "steps": [
  835. {
  836. "color": "green",
  837. "value": null
  838. }
  839. ]
  840. }
  841. },
  842. "overrides": [
  843. {
  844. "matcher": {
  845. "id": "byName",
  846. "options": "Total"
  847. },
  848. "properties": [
  849. {
  850. "id": "custom.displayMode",
  851. "value": "lcd-gauge"
  852. },
  853. {
  854. "id": "color",
  855. "value": {
  856. "mode": "continuous-GrYlRd"
  857. }
  858. }
  859. ]
  860. }
  861. ]
  862. },
  863. "gridPos": {
  864. "h": 9,
  865. "w": 8,
  866. "x": 0,
  867. "y": 18
  868. },
  869. "id": 11,
  870. "maxDataPoints": 1,
  871. "options": {
  872. "showHeader": true
  873. },
  874. "pluginVersion": "7.4.3",
  875. "targets": [
  876. {
  877. "appInsights": {
  878. "dimension": [],
  879. "metricName": "select",
  880. "timeGrain": "auto"
  881. },
  882. "azureLogAnalytics": {
  883. "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",
  884. "resultFormat": "time_series",
  885. "workspace": "$ws"
  886. },
  887. "azureMonitor": {
  888. "aggOptions": ["Count"],
  889. "aggregation": "Count",
  890. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  891. "dimensionFilter": "*",
  892. "dimensionFilters": [
  893. {
  894. "dimension": "CollectionName",
  895. "filter": "",
  896. "operator": "eq"
  897. }
  898. ],
  899. "dimensions": [
  900. {
  901. "text": "DatabaseName",
  902. "value": "DatabaseName"
  903. },
  904. {
  905. "text": "CollectionName",
  906. "value": "CollectionName"
  907. },
  908. {
  909. "text": "Region",
  910. "value": "Region"
  911. },
  912. {
  913. "text": "StatusCode",
  914. "value": "StatusCode"
  915. },
  916. {
  917. "text": "OperationType",
  918. "value": "OperationType"
  919. },
  920. {
  921. "text": "Status",
  922. "value": "Status"
  923. }
  924. ],
  925. "metricDefinition": "$ns",
  926. "metricName": "TotalRequests",
  927. "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
  928. "resourceGroup": "$rg",
  929. "resourceName": "$resource",
  930. "timeGrain": "auto",
  931. "timeGrains": [
  932. {
  933. "text": "auto",
  934. "value": "auto"
  935. },
  936. {
  937. "text": "1 minute",
  938. "value": "PT1M"
  939. },
  940. {
  941. "text": "5 minutes",
  942. "value": "PT5M"
  943. },
  944. {
  945. "text": "15 minutes",
  946. "value": "PT15M"
  947. },
  948. {
  949. "text": "30 minutes",
  950. "value": "PT30M"
  951. },
  952. {
  953. "text": "1 hour",
  954. "value": "PT1H"
  955. },
  956. {
  957. "text": "6 hours",
  958. "value": "PT6H"
  959. },
  960. {
  961. "text": "12 hours",
  962. "value": "PT12H"
  963. },
  964. {
  965. "text": "1 day",
  966. "value": "P1D"
  967. }
  968. ],
  969. "top": ""
  970. },
  971. "hide": false,
  972. "insightsAnalytics": {
  973. "query": "",
  974. "resultFormat": "time_series"
  975. },
  976. "queryType": "Azure Monitor",
  977. "refId": "A",
  978. "subscription": "$sub"
  979. }
  980. ],
  981. "timeFrom": null,
  982. "timeShift": null,
  983. "title": "Total Requests (Count) By Collection",
  984. "transformations": [
  985. {
  986. "id": "reduce",
  987. "options": {
  988. "reducers": ["sum"]
  989. }
  990. }
  991. ],
  992. "type": "table"
  993. },
  994. {
  995. "datasource": "$ds",
  996. "fieldConfig": {
  997. "defaults": {
  998. "color": {
  999. "mode": "fixed"
  1000. },
  1001. "custom": {
  1002. "align": null,
  1003. "filterable": false
  1004. },
  1005. "mappings": [],
  1006. "thresholds": {
  1007. "mode": "absolute",
  1008. "steps": [
  1009. {
  1010. "color": "green",
  1011. "value": null
  1012. }
  1013. ]
  1014. }
  1015. },
  1016. "overrides": [
  1017. {
  1018. "matcher": {
  1019. "id": "byName",
  1020. "options": "Total"
  1021. },
  1022. "properties": [
  1023. {
  1024. "id": "custom.displayMode",
  1025. "value": "lcd-gauge"
  1026. },
  1027. {
  1028. "id": "color",
  1029. "value": {
  1030. "mode": "continuous-GrYlRd"
  1031. }
  1032. }
  1033. ]
  1034. }
  1035. ]
  1036. },
  1037. "gridPos": {
  1038. "h": 9,
  1039. "w": 8,
  1040. "x": 8,
  1041. "y": 18
  1042. },
  1043. "id": 14,
  1044. "maxDataPoints": 1,
  1045. "options": {
  1046. "showHeader": true
  1047. },
  1048. "pluginVersion": "7.4.3",
  1049. "targets": [
  1050. {
  1051. "appInsights": {
  1052. "dimension": [],
  1053. "metricName": "select",
  1054. "timeGrain": "auto"
  1055. },
  1056. "azureLogAnalytics": {
  1057. "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",
  1058. "resultFormat": "time_series",
  1059. "workspace": "$ws"
  1060. },
  1061. "azureMonitor": {
  1062. "aggOptions": ["Total", "Average"],
  1063. "aggregation": "Total",
  1064. "allowedTimeGrainsMs": [300000],
  1065. "dimensionFilter": "*",
  1066. "dimensionFilters": [
  1067. {
  1068. "dimension": "CollectionName",
  1069. "filter": "",
  1070. "operator": "eq"
  1071. }
  1072. ],
  1073. "dimensions": [
  1074. {
  1075. "text": "CollectionName",
  1076. "value": "CollectionName"
  1077. },
  1078. {
  1079. "text": "DatabaseName",
  1080. "value": "DatabaseName"
  1081. },
  1082. {
  1083. "text": "Region",
  1084. "value": "Region"
  1085. }
  1086. ],
  1087. "metricDefinition": "$ns",
  1088. "metricName": "DocumentCount",
  1089. "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
  1090. "resourceGroup": "$rg",
  1091. "resourceName": "$resource",
  1092. "timeGrain": "auto",
  1093. "timeGrains": [
  1094. {
  1095. "text": "auto",
  1096. "value": "auto"
  1097. },
  1098. {
  1099. "text": "5 minutes",
  1100. "value": "PT5M"
  1101. }
  1102. ],
  1103. "top": ""
  1104. },
  1105. "hide": false,
  1106. "insightsAnalytics": {
  1107. "query": "",
  1108. "resultFormat": "time_series"
  1109. },
  1110. "queryType": "Azure Monitor",
  1111. "refId": "B",
  1112. "subscription": "$sub"
  1113. }
  1114. ],
  1115. "timeFrom": null,
  1116. "timeShift": null,
  1117. "title": "Document Count (Avg) By Collection",
  1118. "transformations": [
  1119. {
  1120. "id": "reduce",
  1121. "options": {
  1122. "reducers": ["sum"]
  1123. }
  1124. }
  1125. ],
  1126. "type": "table"
  1127. },
  1128. {
  1129. "datasource": "$ds",
  1130. "fieldConfig": {
  1131. "defaults": {
  1132. "color": {
  1133. "mode": "fixed"
  1134. },
  1135. "custom": {
  1136. "align": null,
  1137. "filterable": false
  1138. },
  1139. "mappings": [],
  1140. "thresholds": {
  1141. "mode": "absolute",
  1142. "steps": [
  1143. {
  1144. "color": "green",
  1145. "value": null
  1146. }
  1147. ]
  1148. }
  1149. },
  1150. "overrides": [
  1151. {
  1152. "matcher": {
  1153. "id": "byName",
  1154. "options": "Total"
  1155. },
  1156. "properties": [
  1157. {
  1158. "id": "custom.displayMode",
  1159. "value": "lcd-gauge"
  1160. },
  1161. {
  1162. "id": "color",
  1163. "value": {
  1164. "mode": "continuous-GrYlRd"
  1165. }
  1166. }
  1167. ]
  1168. }
  1169. ]
  1170. },
  1171. "gridPos": {
  1172. "h": 9,
  1173. "w": 8,
  1174. "x": 16,
  1175. "y": 18
  1176. },
  1177. "id": 15,
  1178. "maxDataPoints": 1,
  1179. "options": {
  1180. "showHeader": true
  1181. },
  1182. "pluginVersion": "7.4.3",
  1183. "targets": [
  1184. {
  1185. "appInsights": {
  1186. "dimension": [],
  1187. "metricName": "select",
  1188. "timeGrain": "auto"
  1189. },
  1190. "azureLogAnalytics": {
  1191. "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",
  1192. "resultFormat": "time_series",
  1193. "workspace": "$ws"
  1194. },
  1195. "azureMonitor": {
  1196. "aggOptions": ["Total", "Average"],
  1197. "aggregation": "Total",
  1198. "allowedTimeGrainsMs": [300000],
  1199. "dimensionFilter": "*",
  1200. "dimensionFilters": [
  1201. {
  1202. "dimension": "CollectionName",
  1203. "filter": "",
  1204. "operator": "eq"
  1205. }
  1206. ],
  1207. "dimensions": [
  1208. {
  1209. "text": "CollectionName",
  1210. "value": "CollectionName"
  1211. },
  1212. {
  1213. "text": "DatabaseName",
  1214. "value": "DatabaseName"
  1215. },
  1216. {
  1217. "text": "Region",
  1218. "value": "Region"
  1219. }
  1220. ],
  1221. "metricDefinition": "$ns",
  1222. "metricName": "DataUsage",
  1223. "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
  1224. "resourceGroup": "$rg",
  1225. "resourceName": "$resource",
  1226. "timeGrain": "auto",
  1227. "timeGrains": [
  1228. {
  1229. "text": "auto",
  1230. "value": "auto"
  1231. },
  1232. {
  1233. "text": "5 minutes",
  1234. "value": "PT5M"
  1235. }
  1236. ],
  1237. "top": ""
  1238. },
  1239. "hide": false,
  1240. "insightsAnalytics": {
  1241. "query": "",
  1242. "resultFormat": "time_series"
  1243. },
  1244. "queryType": "Azure Monitor",
  1245. "refId": "C",
  1246. "subscription": "$sub"
  1247. }
  1248. ],
  1249. "timeFrom": null,
  1250. "timeShift": null,
  1251. "title": "Data Usage (Avg) By Collection",
  1252. "transformations": [
  1253. {
  1254. "id": "reduce",
  1255. "options": {
  1256. "reducers": ["sum"]
  1257. }
  1258. }
  1259. ],
  1260. "type": "table"
  1261. },
  1262. {
  1263. "datasource": "$ds",
  1264. "fieldConfig": {
  1265. "defaults": {
  1266. "color": {
  1267. "mode": "fixed"
  1268. },
  1269. "custom": {
  1270. "align": null,
  1271. "filterable": false
  1272. },
  1273. "mappings": [],
  1274. "thresholds": {
  1275. "mode": "absolute",
  1276. "steps": [
  1277. {
  1278. "color": "green",
  1279. "value": null
  1280. }
  1281. ]
  1282. }
  1283. },
  1284. "overrides": [
  1285. {
  1286. "matcher": {
  1287. "id": "byName",
  1288. "options": "Total"
  1289. },
  1290. "properties": [
  1291. {
  1292. "id": "custom.displayMode",
  1293. "value": "lcd-gauge"
  1294. },
  1295. {
  1296. "id": "color",
  1297. "value": {
  1298. "mode": "continuous-GrYlRd"
  1299. }
  1300. }
  1301. ]
  1302. }
  1303. ]
  1304. },
  1305. "gridPos": {
  1306. "h": 9,
  1307. "w": 8,
  1308. "x": 0,
  1309. "y": 27
  1310. },
  1311. "id": 16,
  1312. "maxDataPoints": 1,
  1313. "options": {
  1314. "showHeader": true
  1315. },
  1316. "pluginVersion": "7.4.3",
  1317. "targets": [
  1318. {
  1319. "appInsights": {
  1320. "dimension": [],
  1321. "metricName": "select",
  1322. "timeGrain": "auto"
  1323. },
  1324. "azureLogAnalytics": {
  1325. "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",
  1326. "resultFormat": "time_series",
  1327. "workspace": "$ws"
  1328. },
  1329. "azureMonitor": {
  1330. "aggOptions": ["Total", "Average"],
  1331. "aggregation": "Total",
  1332. "allowedTimeGrainsMs": [300000],
  1333. "dimensionFilter": "*",
  1334. "dimensionFilters": [
  1335. {
  1336. "dimension": "CollectionName",
  1337. "filter": "",
  1338. "operator": "eq"
  1339. }
  1340. ],
  1341. "dimensions": [
  1342. {
  1343. "text": "CollectionName",
  1344. "value": "CollectionName"
  1345. },
  1346. {
  1347. "text": "DatabaseName",
  1348. "value": "DatabaseName"
  1349. },
  1350. {
  1351. "text": "Region",
  1352. "value": "Region"
  1353. }
  1354. ],
  1355. "metricDefinition": "$ns",
  1356. "metricName": "IndexUsage",
  1357. "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
  1358. "resourceGroup": "$rg",
  1359. "resourceName": "$resource",
  1360. "timeGrain": "auto",
  1361. "timeGrains": [
  1362. {
  1363. "text": "auto",
  1364. "value": "auto"
  1365. },
  1366. {
  1367. "text": "5 minutes",
  1368. "value": "PT5M"
  1369. }
  1370. ],
  1371. "top": ""
  1372. },
  1373. "hide": false,
  1374. "insightsAnalytics": {
  1375. "query": "",
  1376. "resultFormat": "time_series"
  1377. },
  1378. "queryType": "Azure Monitor",
  1379. "refId": "D",
  1380. "subscription": "$sub"
  1381. }
  1382. ],
  1383. "timeFrom": null,
  1384. "timeShift": null,
  1385. "title": "Index Usage (Avg) By Collection",
  1386. "transformations": [
  1387. {
  1388. "id": "reduce",
  1389. "options": {
  1390. "reducers": ["sum"]
  1391. }
  1392. }
  1393. ],
  1394. "type": "table"
  1395. },
  1396. {
  1397. "datasource": "$ds",
  1398. "fieldConfig": {
  1399. "defaults": {
  1400. "color": {
  1401. "mode": "fixed"
  1402. },
  1403. "custom": {
  1404. "align": null,
  1405. "filterable": false
  1406. },
  1407. "mappings": [],
  1408. "thresholds": {
  1409. "mode": "absolute",
  1410. "steps": [
  1411. {
  1412. "color": "green",
  1413. "value": null
  1414. }
  1415. ]
  1416. }
  1417. },
  1418. "overrides": [
  1419. {
  1420. "matcher": {
  1421. "id": "byName",
  1422. "options": "Total"
  1423. },
  1424. "properties": [
  1425. {
  1426. "id": "custom.displayMode",
  1427. "value": "lcd-gauge"
  1428. },
  1429. {
  1430. "id": "color",
  1431. "value": {
  1432. "mode": "palette-classic"
  1433. }
  1434. }
  1435. ]
  1436. }
  1437. ]
  1438. },
  1439. "gridPos": {
  1440. "h": 9,
  1441. "w": 8,
  1442. "x": 8,
  1443. "y": 27
  1444. },
  1445. "id": 17,
  1446. "maxDataPoints": 1,
  1447. "options": {
  1448. "showHeader": true
  1449. },
  1450. "pluginVersion": "7.4.3",
  1451. "targets": [
  1452. {
  1453. "appInsights": {
  1454. "dimension": [],
  1455. "metricName": "select",
  1456. "timeGrain": "auto"
  1457. },
  1458. "azureLogAnalytics": {
  1459. "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",
  1460. "resultFormat": "time_series",
  1461. "workspace": "$ws"
  1462. },
  1463. "azureMonitor": {
  1464. "aggOptions": ["Maximum"],
  1465. "aggregation": "Maximum",
  1466. "allowedTimeGrainsMs": [300000],
  1467. "dimensionFilter": "*",
  1468. "dimensionFilters": [
  1469. {
  1470. "dimension": "CollectionName",
  1471. "filter": "",
  1472. "operator": "eq"
  1473. }
  1474. ],
  1475. "dimensions": [
  1476. {
  1477. "text": "DatabaseName",
  1478. "value": "DatabaseName"
  1479. },
  1480. {
  1481. "text": "CollectionName",
  1482. "value": "CollectionName"
  1483. }
  1484. ],
  1485. "metricDefinition": "$ns",
  1486. "metricName": "ProvisionedThroughput",
  1487. "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
  1488. "resourceGroup": "$rg",
  1489. "resourceName": "$resource",
  1490. "timeGrain": "auto",
  1491. "timeGrains": [
  1492. {
  1493. "text": "auto",
  1494. "value": "auto"
  1495. },
  1496. {
  1497. "text": "5 minutes",
  1498. "value": "PT5M"
  1499. }
  1500. ],
  1501. "top": ""
  1502. },
  1503. "hide": false,
  1504. "insightsAnalytics": {
  1505. "query": "",
  1506. "resultFormat": "time_series"
  1507. },
  1508. "queryType": "Azure Monitor",
  1509. "refId": "E",
  1510. "subscription": "$sub"
  1511. }
  1512. ],
  1513. "timeFrom": null,
  1514. "timeShift": null,
  1515. "title": "Provisioned Throughput (Max) By Collection",
  1516. "transformations": [
  1517. {
  1518. "id": "reduce",
  1519. "options": {
  1520. "reducers": ["sum"]
  1521. }
  1522. }
  1523. ],
  1524. "type": "table"
  1525. },
  1526. {
  1527. "datasource": "$ds",
  1528. "fieldConfig": {
  1529. "defaults": {
  1530. "color": {
  1531. "mode": "fixed"
  1532. },
  1533. "custom": {
  1534. "align": null,
  1535. "filterable": false
  1536. },
  1537. "mappings": [],
  1538. "thresholds": {
  1539. "mode": "absolute",
  1540. "steps": [
  1541. {
  1542. "color": "green",
  1543. "value": null
  1544. }
  1545. ]
  1546. }
  1547. },
  1548. "overrides": [
  1549. {
  1550. "matcher": {
  1551. "id": "byName",
  1552. "options": "Total"
  1553. },
  1554. "properties": [
  1555. {
  1556. "id": "custom.displayMode",
  1557. "value": "lcd-gauge"
  1558. },
  1559. {
  1560. "id": "color",
  1561. "value": {
  1562. "mode": "palette-classic"
  1563. }
  1564. }
  1565. ]
  1566. }
  1567. ]
  1568. },
  1569. "gridPos": {
  1570. "h": 9,
  1571. "w": 8,
  1572. "x": 16,
  1573. "y": 27
  1574. },
  1575. "id": 18,
  1576. "maxDataPoints": 1,
  1577. "options": {
  1578. "showHeader": true
  1579. },
  1580. "pluginVersion": "7.4.3",
  1581. "targets": [
  1582. {
  1583. "appInsights": {
  1584. "dimension": [],
  1585. "metricName": "select",
  1586. "timeGrain": "auto"
  1587. },
  1588. "azureLogAnalytics": {
  1589. "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",
  1590. "resultFormat": "time_series",
  1591. "workspace": "$ws"
  1592. },
  1593. "azureMonitor": {
  1594. "aggOptions": ["Maximum", "Average"],
  1595. "aggregation": "Maximum",
  1596. "allowedTimeGrainsMs": [60000, 300000, 3600000, 86400000],
  1597. "dimensionFilter": "*",
  1598. "dimensionFilters": [
  1599. {
  1600. "dimension": "CollectionName",
  1601. "filter": "",
  1602. "operator": "eq"
  1603. }
  1604. ],
  1605. "dimensions": [
  1606. {
  1607. "text": "CollectionName",
  1608. "value": "CollectionName"
  1609. },
  1610. {
  1611. "text": "DatabaseName",
  1612. "value": "DatabaseName"
  1613. },
  1614. {
  1615. "text": "Region",
  1616. "value": "Region"
  1617. },
  1618. {
  1619. "text": "PartitionKeyRangeId",
  1620. "value": "PartitionKeyRangeId"
  1621. }
  1622. ],
  1623. "metricDefinition": "$ns",
  1624. "metricName": "NormalizedRUConsumption",
  1625. "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
  1626. "resourceGroup": "$rg",
  1627. "resourceName": "$resource",
  1628. "timeGrain": "auto",
  1629. "timeGrains": [
  1630. {
  1631. "text": "auto",
  1632. "value": "auto"
  1633. },
  1634. {
  1635. "text": "1 minute",
  1636. "value": "PT1M"
  1637. },
  1638. {
  1639. "text": "5 minutes",
  1640. "value": "PT5M"
  1641. },
  1642. {
  1643. "text": "1 hour",
  1644. "value": "PT1H"
  1645. },
  1646. {
  1647. "text": "1 day",
  1648. "value": "P1D"
  1649. }
  1650. ],
  1651. "top": ""
  1652. },
  1653. "hide": false,
  1654. "insightsAnalytics": {
  1655. "query": "",
  1656. "resultFormat": "time_series"
  1657. },
  1658. "queryType": "Azure Monitor",
  1659. "refId": "F",
  1660. "subscription": "$sub"
  1661. }
  1662. ],
  1663. "timeFrom": null,
  1664. "timeShift": null,
  1665. "title": "Normalized RU Consumption (Max) By Collection",
  1666. "transformations": [
  1667. {
  1668. "id": "reduce",
  1669. "options": {
  1670. "reducers": ["sum"]
  1671. }
  1672. }
  1673. ],
  1674. "type": "table"
  1675. }
  1676. ],
  1677. "title": "Overview",
  1678. "type": "row"
  1679. },
  1680. {
  1681. "collapsed": true,
  1682. "datasource": "$ds",
  1683. "gridPos": {
  1684. "h": 1,
  1685. "w": 24,
  1686. "x": 0,
  1687. "y": 1
  1688. },
  1689. "id": 21,
  1690. "panels": [
  1691. {
  1692. "aliasColors": {},
  1693. "bars": false,
  1694. "dashLength": 10,
  1695. "dashes": false,
  1696. "datasource": "$ds",
  1697. "fieldConfig": {
  1698. "defaults": {
  1699. "custom": {}
  1700. },
  1701. "overrides": []
  1702. },
  1703. "fill": 1,
  1704. "fillGradient": 0,
  1705. "gridPos": {
  1706. "h": 8,
  1707. "w": 12,
  1708. "x": 0,
  1709. "y": 2
  1710. },
  1711. "hiddenSeries": false,
  1712. "id": 23,
  1713. "legend": {
  1714. "avg": false,
  1715. "current": false,
  1716. "max": false,
  1717. "min": false,
  1718. "show": true,
  1719. "total": true,
  1720. "values": true
  1721. },
  1722. "lines": true,
  1723. "linewidth": 1,
  1724. "nullPointMode": "null",
  1725. "options": {
  1726. "alertThreshold": true
  1727. },
  1728. "percentage": false,
  1729. "pluginVersion": "7.4.3",
  1730. "pointradius": 2,
  1731. "points": false,
  1732. "renderer": "flot",
  1733. "seriesOverrides": [],
  1734. "spaceLength": 10,
  1735. "stack": false,
  1736. "steppedLine": false,
  1737. "targets": [
  1738. {
  1739. "appInsights": {
  1740. "dimension": [],
  1741. "metricName": "select",
  1742. "timeGrain": "auto"
  1743. },
  1744. "azureLogAnalytics": {
  1745. "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",
  1746. "resultFormat": "time_series",
  1747. "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
  1748. },
  1749. "azureMonitor": {
  1750. "aggOptions": ["Total", "Average"],
  1751. "aggregation": "Total",
  1752. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  1753. "dimensionFilter": "*",
  1754. "dimensionFilters": [],
  1755. "dimensions": [
  1756. {
  1757. "text": "DatabaseName",
  1758. "value": "DatabaseName"
  1759. },
  1760. {
  1761. "text": "CollectionName",
  1762. "value": "CollectionName"
  1763. },
  1764. {
  1765. "text": "Region",
  1766. "value": "Region"
  1767. },
  1768. {
  1769. "text": "StatusCode",
  1770. "value": "StatusCode"
  1771. },
  1772. {
  1773. "text": "OperationType",
  1774. "value": "OperationType"
  1775. },
  1776. {
  1777. "text": "Status",
  1778. "value": "Status"
  1779. }
  1780. ],
  1781. "metricDefinition": "$ns",
  1782. "metricName": "TotalRequestUnits",
  1783. "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
  1784. "resourceGroup": "$rg",
  1785. "resourceName": "$resource",
  1786. "timeGrain": "auto",
  1787. "timeGrains": [
  1788. {
  1789. "text": "auto",
  1790. "value": "auto"
  1791. },
  1792. {
  1793. "text": "1 minute",
  1794. "value": "PT1M"
  1795. },
  1796. {
  1797. "text": "5 minutes",
  1798. "value": "PT5M"
  1799. },
  1800. {
  1801. "text": "15 minutes",
  1802. "value": "PT15M"
  1803. },
  1804. {
  1805. "text": "30 minutes",
  1806. "value": "PT30M"
  1807. },
  1808. {
  1809. "text": "1 hour",
  1810. "value": "PT1H"
  1811. },
  1812. {
  1813. "text": "6 hours",
  1814. "value": "PT6H"
  1815. },
  1816. {
  1817. "text": "12 hours",
  1818. "value": "PT12H"
  1819. },
  1820. {
  1821. "text": "1 day",
  1822. "value": "P1D"
  1823. }
  1824. ],
  1825. "top": "10"
  1826. },
  1827. "insightsAnalytics": {
  1828. "query": "",
  1829. "resultFormat": "time_series"
  1830. },
  1831. "queryType": "Azure Monitor",
  1832. "refId": "A",
  1833. "subscription": "$sub"
  1834. }
  1835. ],
  1836. "thresholds": [],
  1837. "timeFrom": null,
  1838. "timeRegions": [],
  1839. "timeShift": null,
  1840. "title": "Total Request Units",
  1841. "tooltip": {
  1842. "shared": true,
  1843. "sort": 0,
  1844. "value_type": "individual"
  1845. },
  1846. "type": "graph",
  1847. "xaxis": {
  1848. "buckets": null,
  1849. "mode": "time",
  1850. "name": null,
  1851. "show": true,
  1852. "values": []
  1853. },
  1854. "yaxes": [
  1855. {
  1856. "format": "short",
  1857. "label": null,
  1858. "logBase": 1,
  1859. "max": null,
  1860. "min": null,
  1861. "show": true
  1862. },
  1863. {
  1864. "format": "short",
  1865. "label": null,
  1866. "logBase": 1,
  1867. "max": null,
  1868. "min": null,
  1869. "show": true
  1870. }
  1871. ],
  1872. "yaxis": {
  1873. "align": false,
  1874. "alignLevel": null
  1875. }
  1876. },
  1877. {
  1878. "aliasColors": {},
  1879. "bars": false,
  1880. "dashLength": 10,
  1881. "dashes": false,
  1882. "datasource": "$ds",
  1883. "fieldConfig": {
  1884. "defaults": {
  1885. "custom": {}
  1886. },
  1887. "overrides": []
  1888. },
  1889. "fill": 1,
  1890. "fillGradient": 0,
  1891. "gridPos": {
  1892. "h": 8,
  1893. "w": 12,
  1894. "x": 12,
  1895. "y": 2
  1896. },
  1897. "hiddenSeries": false,
  1898. "id": 24,
  1899. "legend": {
  1900. "alignAsTable": false,
  1901. "avg": false,
  1902. "current": false,
  1903. "max": true,
  1904. "min": false,
  1905. "rightSide": false,
  1906. "show": true,
  1907. "total": false,
  1908. "values": true
  1909. },
  1910. "lines": true,
  1911. "linewidth": 1,
  1912. "nullPointMode": "null",
  1913. "options": {
  1914. "alertThreshold": true
  1915. },
  1916. "percentage": false,
  1917. "pluginVersion": "7.4.3",
  1918. "pointradius": 2,
  1919. "points": false,
  1920. "renderer": "flot",
  1921. "seriesOverrides": [],
  1922. "spaceLength": 10,
  1923. "stack": false,
  1924. "steppedLine": false,
  1925. "targets": [
  1926. {
  1927. "appInsights": {
  1928. "dimension": [],
  1929. "metricName": "select",
  1930. "timeGrain": "auto"
  1931. },
  1932. "azureLogAnalytics": {
  1933. "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",
  1934. "resultFormat": "time_series",
  1935. "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
  1936. },
  1937. "azureMonitor": {
  1938. "aggOptions": ["Maximum", "Average"],
  1939. "aggregation": "Maximum",
  1940. "allowedTimeGrainsMs": [60000, 300000, 3600000, 86400000],
  1941. "dimensionFilter": "*",
  1942. "dimensionFilters": [
  1943. {
  1944. "dimension": "PartitionKeyRangeId",
  1945. "filter": "",
  1946. "operator": "eq"
  1947. }
  1948. ],
  1949. "dimensions": [
  1950. {
  1951. "text": "CollectionName",
  1952. "value": "CollectionName"
  1953. },
  1954. {
  1955. "text": "DatabaseName",
  1956. "value": "DatabaseName"
  1957. },
  1958. {
  1959. "text": "Region",
  1960. "value": "Region"
  1961. },
  1962. {
  1963. "text": "PartitionKeyRangeId",
  1964. "value": "PartitionKeyRangeId"
  1965. }
  1966. ],
  1967. "metricDefinition": "$ns",
  1968. "metricName": "NormalizedRUConsumption",
  1969. "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
  1970. "resourceGroup": "$rg",
  1971. "resourceName": "$resource",
  1972. "timeGrain": "auto",
  1973. "timeGrains": [
  1974. {
  1975. "text": "auto",
  1976. "value": "auto"
  1977. },
  1978. {
  1979. "text": "1 minute",
  1980. "value": "PT1M"
  1981. },
  1982. {
  1983. "text": "5 minutes",
  1984. "value": "PT5M"
  1985. },
  1986. {
  1987. "text": "1 hour",
  1988. "value": "PT1H"
  1989. },
  1990. {
  1991. "text": "1 day",
  1992. "value": "P1D"
  1993. }
  1994. ],
  1995. "top": "10"
  1996. },
  1997. "insightsAnalytics": {
  1998. "query": "",
  1999. "resultFormat": "time_series"
  2000. },
  2001. "queryType": "Azure Monitor",
  2002. "refId": "A",
  2003. "subscription": "$sub"
  2004. }
  2005. ],
  2006. "thresholds": [],
  2007. "timeFrom": null,
  2008. "timeRegions": [],
  2009. "timeShift": null,
  2010. "title": "Normalized RU Consumption By PartitionKeyRangeID",
  2011. "tooltip": {
  2012. "shared": true,
  2013. "sort": 0,
  2014. "value_type": "individual"
  2015. },
  2016. "type": "graph",
  2017. "xaxis": {
  2018. "buckets": null,
  2019. "mode": "time",
  2020. "name": null,
  2021. "show": true,
  2022. "values": []
  2023. },
  2024. "yaxes": [
  2025. {
  2026. "format": "percent",
  2027. "label": null,
  2028. "logBase": 1,
  2029. "max": null,
  2030. "min": null,
  2031. "show": true
  2032. },
  2033. {
  2034. "format": "short",
  2035. "label": null,
  2036. "logBase": 1,
  2037. "max": null,
  2038. "min": null,
  2039. "show": true
  2040. }
  2041. ],
  2042. "yaxis": {
  2043. "align": false,
  2044. "alignLevel": null
  2045. }
  2046. },
  2047. {
  2048. "datasource": "$ds",
  2049. "fieldConfig": {
  2050. "defaults": {
  2051. "color": {
  2052. "mode": "thresholds"
  2053. },
  2054. "custom": {},
  2055. "mappings": [],
  2056. "thresholds": {
  2057. "mode": "absolute",
  2058. "steps": []
  2059. }
  2060. },
  2061. "overrides": []
  2062. },
  2063. "gridPos": {
  2064. "h": 6,
  2065. "w": 24,
  2066. "x": 0,
  2067. "y": 10
  2068. },
  2069. "id": 25,
  2070. "options": {
  2071. "colorMode": "value",
  2072. "graphMode": "area",
  2073. "justifyMode": "auto",
  2074. "orientation": "auto",
  2075. "reduceOptions": {
  2076. "calcs": ["lastNotNull"],
  2077. "fields": "",
  2078. "values": false
  2079. },
  2080. "text": {},
  2081. "textMode": "auto"
  2082. },
  2083. "pluginVersion": "7.4.3",
  2084. "targets": [
  2085. {
  2086. "appInsights": {
  2087. "dimension": [],
  2088. "metricName": "select",
  2089. "timeGrain": "auto"
  2090. },
  2091. "azureLogAnalytics": {
  2092. "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",
  2093. "resultFormat": "time_series",
  2094. "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
  2095. },
  2096. "azureMonitor": {
  2097. "aggOptions": ["Maximum"],
  2098. "aggregation": "Maximum",
  2099. "allowedTimeGrainsMs": [300000],
  2100. "dimensionFilter": "*",
  2101. "dimensionFilters": [
  2102. {
  2103. "dimension": "CollectionName",
  2104. "filter": "",
  2105. "operator": "eq"
  2106. }
  2107. ],
  2108. "dimensions": [
  2109. {
  2110. "text": "DatabaseName",
  2111. "value": "DatabaseName"
  2112. },
  2113. {
  2114. "text": "CollectionName",
  2115. "value": "CollectionName"
  2116. }
  2117. ],
  2118. "metricDefinition": "$ns",
  2119. "metricName": "ProvisionedThroughput",
  2120. "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
  2121. "resourceGroup": "$rg",
  2122. "resourceName": "$resource",
  2123. "timeGrain": "auto",
  2124. "timeGrains": [
  2125. {
  2126. "text": "auto",
  2127. "value": "auto"
  2128. },
  2129. {
  2130. "text": "5 minutes",
  2131. "value": "PT5M"
  2132. }
  2133. ],
  2134. "top": ""
  2135. },
  2136. "insightsAnalytics": {
  2137. "query": "",
  2138. "resultFormat": "time_series"
  2139. },
  2140. "queryType": "Azure Monitor",
  2141. "refId": "A",
  2142. "subscription": "$sub"
  2143. }
  2144. ],
  2145. "timeFrom": null,
  2146. "timeShift": null,
  2147. "title": "Provisioned Throughput (Max) by Collection",
  2148. "type": "stat"
  2149. }
  2150. ],
  2151. "title": "Throughput",
  2152. "type": "row"
  2153. },
  2154. {
  2155. "collapsed": true,
  2156. "datasource": "$ds",
  2157. "gridPos": {
  2158. "h": 1,
  2159. "w": 24,
  2160. "x": 0,
  2161. "y": 2
  2162. },
  2163. "id": 27,
  2164. "panels": [
  2165. {
  2166. "aliasColors": {},
  2167. "bars": false,
  2168. "dashLength": 10,
  2169. "dashes": false,
  2170. "datasource": "$ds",
  2171. "fieldConfig": {
  2172. "defaults": {
  2173. "custom": {}
  2174. },
  2175. "overrides": []
  2176. },
  2177. "fill": 1,
  2178. "fillGradient": 0,
  2179. "gridPos": {
  2180. "h": 8,
  2181. "w": 12,
  2182. "x": 0,
  2183. "y": 3
  2184. },
  2185. "hiddenSeries": false,
  2186. "id": 28,
  2187. "legend": {
  2188. "avg": false,
  2189. "current": false,
  2190. "max": false,
  2191. "min": false,
  2192. "show": true,
  2193. "total": true,
  2194. "values": true
  2195. },
  2196. "lines": true,
  2197. "linewidth": 1,
  2198. "nullPointMode": "null",
  2199. "options": {
  2200. "alertThreshold": true
  2201. },
  2202. "percentage": false,
  2203. "pluginVersion": "7.4.3",
  2204. "pointradius": 2,
  2205. "points": false,
  2206. "renderer": "flot",
  2207. "seriesOverrides": [],
  2208. "spaceLength": 10,
  2209. "stack": false,
  2210. "steppedLine": false,
  2211. "targets": [
  2212. {
  2213. "appInsights": {
  2214. "dimension": [],
  2215. "metricName": "select",
  2216. "timeGrain": "auto"
  2217. },
  2218. "azureLogAnalytics": {
  2219. "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",
  2220. "resultFormat": "time_series",
  2221. "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
  2222. },
  2223. "azureMonitor": {
  2224. "aggOptions": ["Count"],
  2225. "aggregation": "Count",
  2226. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  2227. "dimensionFilter": "*",
  2228. "dimensionFilters": [
  2229. {
  2230. "dimension": "StatusCode",
  2231. "filter": "",
  2232. "operator": "eq"
  2233. }
  2234. ],
  2235. "dimensions": [
  2236. {
  2237. "text": "DatabaseName",
  2238. "value": "DatabaseName"
  2239. },
  2240. {
  2241. "text": "CollectionName",
  2242. "value": "CollectionName"
  2243. },
  2244. {
  2245. "text": "Region",
  2246. "value": "Region"
  2247. },
  2248. {
  2249. "text": "StatusCode",
  2250. "value": "StatusCode"
  2251. },
  2252. {
  2253. "text": "OperationType",
  2254. "value": "OperationType"
  2255. },
  2256. {
  2257. "text": "Status",
  2258. "value": "Status"
  2259. }
  2260. ],
  2261. "metricDefinition": "$ns",
  2262. "metricName": "TotalRequests",
  2263. "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
  2264. "resourceGroup": "$rg",
  2265. "resourceName": "$resource",
  2266. "timeGrain": "auto",
  2267. "timeGrains": [
  2268. {
  2269. "text": "auto",
  2270. "value": "auto"
  2271. },
  2272. {
  2273. "text": "1 minute",
  2274. "value": "PT1M"
  2275. },
  2276. {
  2277. "text": "5 minutes",
  2278. "value": "PT5M"
  2279. },
  2280. {
  2281. "text": "15 minutes",
  2282. "value": "PT15M"
  2283. },
  2284. {
  2285. "text": "30 minutes",
  2286. "value": "PT30M"
  2287. },
  2288. {
  2289. "text": "1 hour",
  2290. "value": "PT1H"
  2291. },
  2292. {
  2293. "text": "6 hours",
  2294. "value": "PT6H"
  2295. },
  2296. {
  2297. "text": "12 hours",
  2298. "value": "PT12H"
  2299. },
  2300. {
  2301. "text": "1 day",
  2302. "value": "P1D"
  2303. }
  2304. ],
  2305. "top": "10"
  2306. },
  2307. "insightsAnalytics": {
  2308. "query": "",
  2309. "resultFormat": "time_series"
  2310. },
  2311. "queryType": "Azure Monitor",
  2312. "refId": "A",
  2313. "subscription": "$sub"
  2314. }
  2315. ],
  2316. "thresholds": [],
  2317. "timeFrom": null,
  2318. "timeRegions": [],
  2319. "timeShift": null,
  2320. "title": "Total Requests by Status Code",
  2321. "tooltip": {
  2322. "shared": true,
  2323. "sort": 0,
  2324. "value_type": "individual"
  2325. },
  2326. "type": "graph",
  2327. "xaxis": {
  2328. "buckets": null,
  2329. "mode": "time",
  2330. "name": null,
  2331. "show": true,
  2332. "values": []
  2333. },
  2334. "yaxes": [
  2335. {
  2336. "format": "short",
  2337. "label": null,
  2338. "logBase": 1,
  2339. "max": null,
  2340. "min": null,
  2341. "show": true
  2342. },
  2343. {
  2344. "format": "short",
  2345. "label": null,
  2346. "logBase": 1,
  2347. "max": null,
  2348. "min": null,
  2349. "show": true
  2350. }
  2351. ],
  2352. "yaxis": {
  2353. "align": false,
  2354. "alignLevel": null
  2355. }
  2356. },
  2357. {
  2358. "aliasColors": {},
  2359. "bars": false,
  2360. "dashLength": 10,
  2361. "dashes": false,
  2362. "datasource": "$ds",
  2363. "fieldConfig": {
  2364. "defaults": {
  2365. "custom": {}
  2366. },
  2367. "overrides": []
  2368. },
  2369. "fill": 1,
  2370. "fillGradient": 0,
  2371. "gridPos": {
  2372. "h": 8,
  2373. "w": 12,
  2374. "x": 12,
  2375. "y": 3
  2376. },
  2377. "hiddenSeries": false,
  2378. "id": 29,
  2379. "legend": {
  2380. "avg": false,
  2381. "current": false,
  2382. "max": false,
  2383. "min": false,
  2384. "show": true,
  2385. "total": true,
  2386. "values": true
  2387. },
  2388. "lines": true,
  2389. "linewidth": 1,
  2390. "nullPointMode": "null",
  2391. "options": {
  2392. "alertThreshold": true
  2393. },
  2394. "percentage": false,
  2395. "pluginVersion": "7.4.3",
  2396. "pointradius": 2,
  2397. "points": false,
  2398. "renderer": "flot",
  2399. "seriesOverrides": [],
  2400. "spaceLength": 10,
  2401. "stack": false,
  2402. "steppedLine": false,
  2403. "targets": [
  2404. {
  2405. "appInsights": {
  2406. "dimension": [],
  2407. "metricName": "select",
  2408. "timeGrain": "auto"
  2409. },
  2410. "azureLogAnalytics": {
  2411. "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",
  2412. "resultFormat": "time_series",
  2413. "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
  2414. },
  2415. "azureMonitor": {
  2416. "aggOptions": ["Count"],
  2417. "aggregation": "Count",
  2418. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  2419. "dimensionFilter": "*",
  2420. "dimensionFilters": [
  2421. {
  2422. "dimension": "StatusCode",
  2423. "filter": "429",
  2424. "operator": "eq"
  2425. }
  2426. ],
  2427. "dimensions": [
  2428. {
  2429. "text": "DatabaseName",
  2430. "value": "DatabaseName"
  2431. },
  2432. {
  2433. "text": "CollectionName",
  2434. "value": "CollectionName"
  2435. },
  2436. {
  2437. "text": "Region",
  2438. "value": "Region"
  2439. },
  2440. {
  2441. "text": "StatusCode",
  2442. "value": "StatusCode"
  2443. },
  2444. {
  2445. "text": "OperationType",
  2446. "value": "OperationType"
  2447. },
  2448. {
  2449. "text": "Status",
  2450. "value": "Status"
  2451. }
  2452. ],
  2453. "metricDefinition": "$ns",
  2454. "metricName": "TotalRequests",
  2455. "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
  2456. "resourceGroup": "$rg",
  2457. "resourceName": "$resource",
  2458. "timeGrain": "auto",
  2459. "timeGrains": [
  2460. {
  2461. "text": "auto",
  2462. "value": "auto"
  2463. },
  2464. {
  2465. "text": "1 minute",
  2466. "value": "PT1M"
  2467. },
  2468. {
  2469. "text": "5 minutes",
  2470. "value": "PT5M"
  2471. },
  2472. {
  2473. "text": "15 minutes",
  2474. "value": "PT15M"
  2475. },
  2476. {
  2477. "text": "30 minutes",
  2478. "value": "PT30M"
  2479. },
  2480. {
  2481. "text": "1 hour",
  2482. "value": "PT1H"
  2483. },
  2484. {
  2485. "text": "6 hours",
  2486. "value": "PT6H"
  2487. },
  2488. {
  2489. "text": "12 hours",
  2490. "value": "PT12H"
  2491. },
  2492. {
  2493. "text": "1 day",
  2494. "value": "P1D"
  2495. }
  2496. ],
  2497. "top": "10"
  2498. },
  2499. "insightsAnalytics": {
  2500. "query": "",
  2501. "resultFormat": "time_series"
  2502. },
  2503. "queryType": "Azure Monitor",
  2504. "refId": "A",
  2505. "subscription": "$sub"
  2506. }
  2507. ],
  2508. "thresholds": [],
  2509. "timeFrom": null,
  2510. "timeRegions": [],
  2511. "timeShift": null,
  2512. "title": "Throttled Requests (429)",
  2513. "tooltip": {
  2514. "shared": true,
  2515. "sort": 0,
  2516. "value_type": "individual"
  2517. },
  2518. "type": "graph",
  2519. "xaxis": {
  2520. "buckets": null,
  2521. "mode": "time",
  2522. "name": null,
  2523. "show": true,
  2524. "values": []
  2525. },
  2526. "yaxes": [
  2527. {
  2528. "format": "short",
  2529. "label": null,
  2530. "logBase": 1,
  2531. "max": null,
  2532. "min": null,
  2533. "show": true
  2534. },
  2535. {
  2536. "format": "short",
  2537. "label": null,
  2538. "logBase": 1,
  2539. "max": null,
  2540. "min": null,
  2541. "show": true
  2542. }
  2543. ],
  2544. "yaxis": {
  2545. "align": false,
  2546. "alignLevel": null
  2547. }
  2548. },
  2549. {
  2550. "aliasColors": {},
  2551. "bars": false,
  2552. "dashLength": 10,
  2553. "dashes": false,
  2554. "datasource": "$ds",
  2555. "fieldConfig": {
  2556. "defaults": {
  2557. "custom": {}
  2558. },
  2559. "overrides": []
  2560. },
  2561. "fill": 1,
  2562. "fillGradient": 0,
  2563. "gridPos": {
  2564. "h": 8,
  2565. "w": 24,
  2566. "x": 0,
  2567. "y": 11
  2568. },
  2569. "hiddenSeries": false,
  2570. "id": 30,
  2571. "legend": {
  2572. "avg": false,
  2573. "current": false,
  2574. "max": false,
  2575. "min": false,
  2576. "show": true,
  2577. "total": true,
  2578. "values": true
  2579. },
  2580. "lines": true,
  2581. "linewidth": 1,
  2582. "nullPointMode": "null",
  2583. "options": {
  2584. "alertThreshold": true
  2585. },
  2586. "percentage": false,
  2587. "pluginVersion": "7.4.3",
  2588. "pointradius": 2,
  2589. "points": false,
  2590. "renderer": "flot",
  2591. "seriesOverrides": [],
  2592. "spaceLength": 10,
  2593. "stack": false,
  2594. "steppedLine": false,
  2595. "targets": [
  2596. {
  2597. "appInsights": {
  2598. "dimension": [],
  2599. "metricName": "select",
  2600. "timeGrain": "auto"
  2601. },
  2602. "azureLogAnalytics": {
  2603. "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",
  2604. "resultFormat": "time_series",
  2605. "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
  2606. },
  2607. "azureMonitor": {
  2608. "aggOptions": ["Count"],
  2609. "aggregation": "Count",
  2610. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  2611. "dimensionFilter": "*",
  2612. "dimensionFilters": [
  2613. {
  2614. "dimension": "OperationType",
  2615. "filter": "",
  2616. "operator": "eq"
  2617. }
  2618. ],
  2619. "dimensions": [
  2620. {
  2621. "text": "DatabaseName",
  2622. "value": "DatabaseName"
  2623. },
  2624. {
  2625. "text": "CollectionName",
  2626. "value": "CollectionName"
  2627. },
  2628. {
  2629. "text": "Region",
  2630. "value": "Region"
  2631. },
  2632. {
  2633. "text": "StatusCode",
  2634. "value": "StatusCode"
  2635. },
  2636. {
  2637. "text": "OperationType",
  2638. "value": "OperationType"
  2639. },
  2640. {
  2641. "text": "Status",
  2642. "value": "Status"
  2643. }
  2644. ],
  2645. "metricDefinition": "$ns",
  2646. "metricName": "TotalRequests",
  2647. "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
  2648. "resourceGroup": "$rg",
  2649. "resourceName": "$resource",
  2650. "timeGrain": "auto",
  2651. "timeGrains": [
  2652. {
  2653. "text": "auto",
  2654. "value": "auto"
  2655. },
  2656. {
  2657. "text": "1 minute",
  2658. "value": "PT1M"
  2659. },
  2660. {
  2661. "text": "5 minutes",
  2662. "value": "PT5M"
  2663. },
  2664. {
  2665. "text": "15 minutes",
  2666. "value": "PT15M"
  2667. },
  2668. {
  2669. "text": "30 minutes",
  2670. "value": "PT30M"
  2671. },
  2672. {
  2673. "text": "1 hour",
  2674. "value": "PT1H"
  2675. },
  2676. {
  2677. "text": "6 hours",
  2678. "value": "PT6H"
  2679. },
  2680. {
  2681. "text": "12 hours",
  2682. "value": "PT12H"
  2683. },
  2684. {
  2685. "text": "1 day",
  2686. "value": "P1D"
  2687. }
  2688. ],
  2689. "top": "10"
  2690. },
  2691. "insightsAnalytics": {
  2692. "query": "",
  2693. "resultFormat": "time_series"
  2694. },
  2695. "queryType": "Azure Monitor",
  2696. "refId": "A",
  2697. "subscription": "$sub"
  2698. }
  2699. ],
  2700. "thresholds": [],
  2701. "timeFrom": null,
  2702. "timeRegions": [],
  2703. "timeShift": null,
  2704. "title": "Total Requests by Operation Type",
  2705. "tooltip": {
  2706. "shared": true,
  2707. "sort": 0,
  2708. "value_type": "individual"
  2709. },
  2710. "type": "graph",
  2711. "xaxis": {
  2712. "buckets": null,
  2713. "mode": "time",
  2714. "name": null,
  2715. "show": true,
  2716. "values": []
  2717. },
  2718. "yaxes": [
  2719. {
  2720. "format": "short",
  2721. "label": null,
  2722. "logBase": 1,
  2723. "max": null,
  2724. "min": null,
  2725. "show": true
  2726. },
  2727. {
  2728. "format": "short",
  2729. "label": null,
  2730. "logBase": 1,
  2731. "max": null,
  2732. "min": null,
  2733. "show": true
  2734. }
  2735. ],
  2736. "yaxis": {
  2737. "align": false,
  2738. "alignLevel": null
  2739. }
  2740. }
  2741. ],
  2742. "title": "Requests",
  2743. "type": "row"
  2744. },
  2745. {
  2746. "collapsed": true,
  2747. "datasource": "$ds",
  2748. "gridPos": {
  2749. "h": 1,
  2750. "w": 24,
  2751. "x": 0,
  2752. "y": 3
  2753. },
  2754. "id": 32,
  2755. "panels": [
  2756. {
  2757. "aliasColors": {},
  2758. "bars": false,
  2759. "dashLength": 10,
  2760. "dashes": false,
  2761. "datasource": "$ds",
  2762. "fieldConfig": {
  2763. "defaults": {
  2764. "custom": {}
  2765. },
  2766. "overrides": []
  2767. },
  2768. "fill": 1,
  2769. "fillGradient": 0,
  2770. "gridPos": {
  2771. "h": 8,
  2772. "w": 12,
  2773. "x": 0,
  2774. "y": 4
  2775. },
  2776. "hiddenSeries": false,
  2777. "id": 33,
  2778. "legend": {
  2779. "avg": true,
  2780. "current": false,
  2781. "max": false,
  2782. "min": false,
  2783. "show": true,
  2784. "total": false,
  2785. "values": true
  2786. },
  2787. "lines": true,
  2788. "linewidth": 1,
  2789. "nullPointMode": "null",
  2790. "options": {
  2791. "alertThreshold": true
  2792. },
  2793. "percentage": false,
  2794. "pluginVersion": "7.4.3",
  2795. "pointradius": 2,
  2796. "points": false,
  2797. "renderer": "flot",
  2798. "seriesOverrides": [],
  2799. "spaceLength": 10,
  2800. "stack": false,
  2801. "steppedLine": false,
  2802. "targets": [
  2803. {
  2804. "appInsights": {
  2805. "dimension": [],
  2806. "metricName": "select",
  2807. "timeGrain": "auto"
  2808. },
  2809. "azureLogAnalytics": {
  2810. "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",
  2811. "resultFormat": "time_series",
  2812. "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
  2813. },
  2814. "azureMonitor": {
  2815. "aggOptions": ["Total", "Average"],
  2816. "aggregation": "Average",
  2817. "allowedTimeGrainsMs": [300000],
  2818. "dimensionFilter": "*",
  2819. "dimensionFilters": [
  2820. {
  2821. "dimension": null,
  2822. "filter": "",
  2823. "operator": "eq"
  2824. }
  2825. ],
  2826. "dimensions": [
  2827. {
  2828. "text": "CollectionName",
  2829. "value": "CollectionName"
  2830. },
  2831. {
  2832. "text": "DatabaseName",
  2833. "value": "DatabaseName"
  2834. },
  2835. {
  2836. "text": "Region",
  2837. "value": "Region"
  2838. }
  2839. ],
  2840. "metricDefinition": "$ns",
  2841. "metricName": "DataUsage",
  2842. "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
  2843. "resourceGroup": "$rg",
  2844. "resourceName": "$resource",
  2845. "timeGrain": "auto",
  2846. "timeGrains": [
  2847. {
  2848. "text": "auto",
  2849. "value": "auto"
  2850. },
  2851. {
  2852. "text": "5 minutes",
  2853. "value": "PT5M"
  2854. }
  2855. ],
  2856. "top": "10"
  2857. },
  2858. "insightsAnalytics": {
  2859. "query": "",
  2860. "resultFormat": "time_series"
  2861. },
  2862. "queryType": "Azure Monitor",
  2863. "refId": "A",
  2864. "subscription": "$sub"
  2865. },
  2866. {
  2867. "appInsights": {
  2868. "dimension": [],
  2869. "metricName": "select",
  2870. "timeGrain": "auto"
  2871. },
  2872. "azureLogAnalytics": {
  2873. "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",
  2874. "resultFormat": "time_series",
  2875. "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
  2876. },
  2877. "azureMonitor": {
  2878. "aggOptions": ["Total", "Average"],
  2879. "aggregation": "Average",
  2880. "allowedTimeGrainsMs": [300000],
  2881. "dimensionFilter": "*",
  2882. "dimensionFilters": [
  2883. {
  2884. "dimension": null,
  2885. "filter": "",
  2886. "operator": "eq"
  2887. }
  2888. ],
  2889. "dimensions": [
  2890. {
  2891. "text": "CollectionName",
  2892. "value": "CollectionName"
  2893. },
  2894. {
  2895. "text": "DatabaseName",
  2896. "value": "DatabaseName"
  2897. },
  2898. {
  2899. "text": "Region",
  2900. "value": "Region"
  2901. }
  2902. ],
  2903. "metricDefinition": "$ns",
  2904. "metricName": "IndexUsage",
  2905. "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
  2906. "resourceGroup": "$rg",
  2907. "resourceName": "$resource",
  2908. "timeGrain": "auto",
  2909. "timeGrains": [
  2910. {
  2911. "text": "auto",
  2912. "value": "auto"
  2913. },
  2914. {
  2915. "text": "5 minutes",
  2916. "value": "PT5M"
  2917. }
  2918. ],
  2919. "top": "10"
  2920. },
  2921. "hide": false,
  2922. "insightsAnalytics": {
  2923. "query": "",
  2924. "resultFormat": "time_series"
  2925. },
  2926. "queryType": "Azure Monitor",
  2927. "refId": "B",
  2928. "subscription": "$sub"
  2929. }
  2930. ],
  2931. "thresholds": [],
  2932. "timeFrom": null,
  2933. "timeRegions": [],
  2934. "timeShift": null,
  2935. "title": "Data & Index Usage",
  2936. "tooltip": {
  2937. "shared": true,
  2938. "sort": 0,
  2939. "value_type": "individual"
  2940. },
  2941. "type": "graph",
  2942. "xaxis": {
  2943. "buckets": null,
  2944. "mode": "time",
  2945. "name": null,
  2946. "show": true,
  2947. "values": []
  2948. },
  2949. "yaxes": [
  2950. {
  2951. "format": "decbytes",
  2952. "label": null,
  2953. "logBase": 1,
  2954. "max": null,
  2955. "min": null,
  2956. "show": true
  2957. },
  2958. {
  2959. "format": "short",
  2960. "label": null,
  2961. "logBase": 1,
  2962. "max": null,
  2963. "min": null,
  2964. "show": true
  2965. }
  2966. ],
  2967. "yaxis": {
  2968. "align": false,
  2969. "alignLevel": null
  2970. }
  2971. },
  2972. {
  2973. "aliasColors": {},
  2974. "bars": false,
  2975. "dashLength": 10,
  2976. "dashes": false,
  2977. "datasource": "$ds",
  2978. "fieldConfig": {
  2979. "defaults": {
  2980. "custom": {}
  2981. },
  2982. "overrides": []
  2983. },
  2984. "fill": 1,
  2985. "fillGradient": 0,
  2986. "gridPos": {
  2987. "h": 8,
  2988. "w": 12,
  2989. "x": 12,
  2990. "y": 4
  2991. },
  2992. "hiddenSeries": false,
  2993. "id": 34,
  2994. "legend": {
  2995. "avg": true,
  2996. "current": false,
  2997. "max": false,
  2998. "min": false,
  2999. "show": true,
  3000. "total": false,
  3001. "values": true
  3002. },
  3003. "lines": true,
  3004. "linewidth": 1,
  3005. "nullPointMode": "null",
  3006. "options": {
  3007. "alertThreshold": true
  3008. },
  3009. "percentage": false,
  3010. "pluginVersion": "7.4.3",
  3011. "pointradius": 2,
  3012. "points": false,
  3013. "renderer": "flot",
  3014. "seriesOverrides": [],
  3015. "spaceLength": 10,
  3016. "stack": false,
  3017. "steppedLine": false,
  3018. "targets": [
  3019. {
  3020. "appInsights": {
  3021. "dimension": [],
  3022. "metricName": "select",
  3023. "timeGrain": "auto"
  3024. },
  3025. "azureLogAnalytics": {
  3026. "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",
  3027. "resultFormat": "time_series",
  3028. "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
  3029. },
  3030. "azureMonitor": {
  3031. "aggOptions": ["Total", "Average"],
  3032. "aggregation": "Average",
  3033. "allowedTimeGrainsMs": [300000],
  3034. "dimensionFilter": "*",
  3035. "dimensionFilters": [
  3036. {
  3037. "dimension": null,
  3038. "filter": "",
  3039. "operator": "eq"
  3040. }
  3041. ],
  3042. "dimensions": [
  3043. {
  3044. "text": "CollectionName",
  3045. "value": "CollectionName"
  3046. },
  3047. {
  3048. "text": "DatabaseName",
  3049. "value": "DatabaseName"
  3050. },
  3051. {
  3052. "text": "Region",
  3053. "value": "Region"
  3054. }
  3055. ],
  3056. "metricDefinition": "$ns",
  3057. "metricName": "DocumentCount",
  3058. "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
  3059. "resourceGroup": "$rg",
  3060. "resourceName": "$resource",
  3061. "timeGrain": "auto",
  3062. "timeGrains": [
  3063. {
  3064. "text": "auto",
  3065. "value": "auto"
  3066. },
  3067. {
  3068. "text": "5 minutes",
  3069. "value": "PT5M"
  3070. }
  3071. ],
  3072. "top": "10"
  3073. },
  3074. "insightsAnalytics": {
  3075. "query": "",
  3076. "resultFormat": "time_series"
  3077. },
  3078. "queryType": "Azure Monitor",
  3079. "refId": "A",
  3080. "subscription": "$sub"
  3081. }
  3082. ],
  3083. "thresholds": [],
  3084. "timeFrom": null,
  3085. "timeRegions": [],
  3086. "timeShift": null,
  3087. "title": "Document Count",
  3088. "tooltip": {
  3089. "shared": true,
  3090. "sort": 0,
  3091. "value_type": "individual"
  3092. },
  3093. "type": "graph",
  3094. "xaxis": {
  3095. "buckets": null,
  3096. "mode": "time",
  3097. "name": null,
  3098. "show": true,
  3099. "values": []
  3100. },
  3101. "yaxes": [
  3102. {
  3103. "format": "short",
  3104. "label": null,
  3105. "logBase": 1,
  3106. "max": null,
  3107. "min": null,
  3108. "show": true
  3109. },
  3110. {
  3111. "format": "short",
  3112. "label": null,
  3113. "logBase": 1,
  3114. "max": null,
  3115. "min": null,
  3116. "show": true
  3117. }
  3118. ],
  3119. "yaxis": {
  3120. "align": false,
  3121. "alignLevel": null
  3122. }
  3123. },
  3124. {
  3125. "datasource": "$ds",
  3126. "fieldConfig": {
  3127. "defaults": {
  3128. "color": {
  3129. "mode": "thresholds"
  3130. },
  3131. "custom": {},
  3132. "mappings": [],
  3133. "thresholds": {
  3134. "mode": "absolute",
  3135. "steps": [
  3136. {
  3137. "color": "green",
  3138. "value": null
  3139. },
  3140. {
  3141. "color": "red",
  3142. "value": 80
  3143. }
  3144. ]
  3145. }
  3146. },
  3147. "overrides": []
  3148. },
  3149. "gridPos": {
  3150. "h": 15,
  3151. "w": 24,
  3152. "x": 0,
  3153. "y": 12
  3154. },
  3155. "id": 36,
  3156. "options": {
  3157. "colorMode": "value",
  3158. "graphMode": "area",
  3159. "justifyMode": "auto",
  3160. "orientation": "auto",
  3161. "reduceOptions": {
  3162. "calcs": ["lastNotNull"],
  3163. "fields": "",
  3164. "values": false
  3165. },
  3166. "text": {},
  3167. "textMode": "auto"
  3168. },
  3169. "pluginVersion": "7.4.3",
  3170. "targets": [
  3171. {
  3172. "appInsights": {
  3173. "dimension": [],
  3174. "metricName": "select",
  3175. "timeGrain": "auto"
  3176. },
  3177. "azureLogAnalytics": {
  3178. "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",
  3179. "resultFormat": "time_series",
  3180. "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
  3181. },
  3182. "azureMonitor": {
  3183. "aggOptions": ["Total", "Average"],
  3184. "aggregation": "Average",
  3185. "allowedTimeGrainsMs": [300000],
  3186. "dimensionFilter": "*",
  3187. "dimensionFilters": [
  3188. {
  3189. "dimension": "CollectionName",
  3190. "filter": "",
  3191. "operator": "eq"
  3192. }
  3193. ],
  3194. "dimensions": [
  3195. {
  3196. "text": "CollectionName",
  3197. "value": "CollectionName"
  3198. },
  3199. {
  3200. "text": "DatabaseName",
  3201. "value": "DatabaseName"
  3202. },
  3203. {
  3204. "text": "Region",
  3205. "value": "Region"
  3206. }
  3207. ],
  3208. "metricDefinition": "$ns",
  3209. "metricName": "DataUsage",
  3210. "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
  3211. "resourceGroup": "$rg",
  3212. "resourceName": "$resource",
  3213. "timeGrain": "auto",
  3214. "timeGrains": [
  3215. {
  3216. "text": "auto",
  3217. "value": "auto"
  3218. },
  3219. {
  3220. "text": "5 minutes",
  3221. "value": "PT5M"
  3222. }
  3223. ],
  3224. "top": "10"
  3225. },
  3226. "insightsAnalytics": {
  3227. "query": "",
  3228. "resultFormat": "time_series"
  3229. },
  3230. "queryType": "Azure Monitor",
  3231. "refId": "A",
  3232. "subscription": "$sub"
  3233. },
  3234. {
  3235. "appInsights": {
  3236. "dimension": [],
  3237. "metricName": "select",
  3238. "timeGrain": "auto"
  3239. },
  3240. "azureLogAnalytics": {
  3241. "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",
  3242. "resultFormat": "time_series",
  3243. "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
  3244. },
  3245. "azureMonitor": {
  3246. "aggOptions": ["Total", "Average"],
  3247. "aggregation": "Total",
  3248. "allowedTimeGrainsMs": [300000],
  3249. "dimensionFilter": "*",
  3250. "dimensionFilters": [
  3251. {
  3252. "dimension": "CollectionName",
  3253. "filter": "",
  3254. "operator": "eq"
  3255. }
  3256. ],
  3257. "dimensions": [
  3258. {
  3259. "text": "CollectionName",
  3260. "value": "CollectionName"
  3261. },
  3262. {
  3263. "text": "DatabaseName",
  3264. "value": "DatabaseName"
  3265. },
  3266. {
  3267. "text": "Region",
  3268. "value": "Region"
  3269. }
  3270. ],
  3271. "metricDefinition": "$ns",
  3272. "metricName": "IndexUsage",
  3273. "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
  3274. "resourceGroup": "$rg",
  3275. "resourceName": "$resource",
  3276. "timeGrain": "auto",
  3277. "timeGrains": [
  3278. {
  3279. "text": "auto",
  3280. "value": "auto"
  3281. },
  3282. {
  3283. "text": "5 minutes",
  3284. "value": "PT5M"
  3285. }
  3286. ],
  3287. "top": "10"
  3288. },
  3289. "hide": false,
  3290. "insightsAnalytics": {
  3291. "query": "",
  3292. "resultFormat": "time_series"
  3293. },
  3294. "queryType": "Azure Monitor",
  3295. "refId": "B",
  3296. "subscription": "$sub"
  3297. },
  3298. {
  3299. "appInsights": {
  3300. "dimension": [],
  3301. "metricName": "select",
  3302. "timeGrain": "auto"
  3303. },
  3304. "azureLogAnalytics": {
  3305. "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",
  3306. "resultFormat": "time_series",
  3307. "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
  3308. },
  3309. "azureMonitor": {
  3310. "aggOptions": ["Total", "Average"],
  3311. "aggregation": "Average",
  3312. "allowedTimeGrainsMs": [300000],
  3313. "dimensionFilter": "*",
  3314. "dimensionFilters": [
  3315. {
  3316. "dimension": "CollectionName",
  3317. "filter": "",
  3318. "operator": "eq"
  3319. }
  3320. ],
  3321. "dimensions": [
  3322. {
  3323. "text": "CollectionName",
  3324. "value": "CollectionName"
  3325. },
  3326. {
  3327. "text": "DatabaseName",
  3328. "value": "DatabaseName"
  3329. },
  3330. {
  3331. "text": "Region",
  3332. "value": "Region"
  3333. }
  3334. ],
  3335. "metricDefinition": "$ns",
  3336. "metricName": "DocumentCount",
  3337. "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
  3338. "resourceGroup": "$rg",
  3339. "resourceName": "$resource",
  3340. "timeGrain": "auto",
  3341. "timeGrains": [
  3342. {
  3343. "text": "auto",
  3344. "value": "auto"
  3345. },
  3346. {
  3347. "text": "5 minutes",
  3348. "value": "PT5M"
  3349. }
  3350. ],
  3351. "top": "10"
  3352. },
  3353. "hide": false,
  3354. "insightsAnalytics": {
  3355. "query": "",
  3356. "resultFormat": "time_series"
  3357. },
  3358. "queryType": "Azure Monitor",
  3359. "refId": "C",
  3360. "subscription": "$sub"
  3361. }
  3362. ],
  3363. "timeFrom": null,
  3364. "timeShift": null,
  3365. "title": "Data, Index & Document Usage",
  3366. "type": "stat"
  3367. }
  3368. ],
  3369. "title": "Storage",
  3370. "type": "row"
  3371. },
  3372. {
  3373. "collapsed": true,
  3374. "datasource": "$ds",
  3375. "gridPos": {
  3376. "h": 1,
  3377. "w": 24,
  3378. "x": 0,
  3379. "y": 4
  3380. },
  3381. "id": 38,
  3382. "panels": [
  3383. {
  3384. "aliasColors": {},
  3385. "bars": false,
  3386. "dashLength": 10,
  3387. "dashes": false,
  3388. "datasource": "$ds",
  3389. "fieldConfig": {
  3390. "defaults": {
  3391. "custom": {}
  3392. },
  3393. "overrides": []
  3394. },
  3395. "fill": 1,
  3396. "fillGradient": 0,
  3397. "gridPos": {
  3398. "h": 8,
  3399. "w": 12,
  3400. "x": 0,
  3401. "y": 5
  3402. },
  3403. "hiddenSeries": false,
  3404. "id": 39,
  3405. "legend": {
  3406. "avg": true,
  3407. "current": false,
  3408. "max": false,
  3409. "min": false,
  3410. "show": true,
  3411. "total": false,
  3412. "values": true
  3413. },
  3414. "lines": true,
  3415. "linewidth": 1,
  3416. "nullPointMode": "null",
  3417. "options": {
  3418. "alertThreshold": true
  3419. },
  3420. "percentage": false,
  3421. "pluginVersion": "7.4.3",
  3422. "pointradius": 2,
  3423. "points": false,
  3424. "renderer": "flot",
  3425. "scopedVars": {
  3426. "sub": {
  3427. "selected": true,
  3428. "text": "RTD-Experimental - f7152080-b4e8-47ee-9c85-7f1d0e6b72dc",
  3429. "value": "f7152080-b4e8-47ee-9c85-7f1d0e6b72dc"
  3430. }
  3431. },
  3432. "seriesOverrides": [],
  3433. "spaceLength": 10,
  3434. "stack": false,
  3435. "steppedLine": false,
  3436. "targets": [
  3437. {
  3438. "appInsights": {
  3439. "dimension": [],
  3440. "metricName": "select",
  3441. "timeGrain": "auto"
  3442. },
  3443. "azureLogAnalytics": {
  3444. "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",
  3445. "resultFormat": "time_series",
  3446. "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
  3447. },
  3448. "azureMonitor": {
  3449. "aggOptions": ["Minimum", "Average", "Maximum"],
  3450. "aggregation": "Average",
  3451. "allowedTimeGrainsMs": [3600000],
  3452. "dimensionFilter": "*",
  3453. "dimensionFilters": [
  3454. {
  3455. "dimension": null,
  3456. "filter": "",
  3457. "operator": "eq"
  3458. }
  3459. ],
  3460. "dimensions": [],
  3461. "metricDefinition": "$ns",
  3462. "metricName": "ServiceAvailability",
  3463. "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
  3464. "resourceGroup": "$rg",
  3465. "resourceName": "$resource",
  3466. "timeGrain": "auto",
  3467. "timeGrains": [
  3468. {
  3469. "text": "auto",
  3470. "value": "auto"
  3471. },
  3472. {
  3473. "text": "1 hour",
  3474. "value": "PT1H"
  3475. }
  3476. ],
  3477. "top": "10"
  3478. },
  3479. "insightsAnalytics": {
  3480. "query": "",
  3481. "resultFormat": "time_series"
  3482. },
  3483. "queryType": "Azure Monitor",
  3484. "refId": "A",
  3485. "subscription": "$sub"
  3486. },
  3487. {
  3488. "appInsights": {
  3489. "dimension": [],
  3490. "metricName": "select",
  3491. "timeGrain": "auto"
  3492. },
  3493. "azureLogAnalytics": {
  3494. "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",
  3495. "resultFormat": "time_series",
  3496. "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
  3497. },
  3498. "azureMonitor": {
  3499. "aggOptions": ["Minimum", "Average", "Maximum"],
  3500. "aggregation": "Minimum",
  3501. "allowedTimeGrainsMs": [3600000],
  3502. "dimensionFilter": "*",
  3503. "dimensionFilters": [
  3504. {
  3505. "dimension": null,
  3506. "filter": "",
  3507. "operator": "eq"
  3508. }
  3509. ],
  3510. "dimensions": [],
  3511. "metricDefinition": "$ns",
  3512. "metricName": "ServiceAvailability",
  3513. "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
  3514. "resourceGroup": "$rg",
  3515. "resourceName": "$resource",
  3516. "timeGrain": "auto",
  3517. "timeGrains": [
  3518. {
  3519. "text": "auto",
  3520. "value": "auto"
  3521. },
  3522. {
  3523. "text": "1 hour",
  3524. "value": "PT1H"
  3525. }
  3526. ],
  3527. "top": "10"
  3528. },
  3529. "hide": false,
  3530. "insightsAnalytics": {
  3531. "query": "",
  3532. "resultFormat": "time_series"
  3533. },
  3534. "queryType": "Azure Monitor",
  3535. "refId": "B",
  3536. "subscription": "$sub"
  3537. },
  3538. {
  3539. "appInsights": {
  3540. "dimension": [],
  3541. "metricName": "select",
  3542. "timeGrain": "auto"
  3543. },
  3544. "azureLogAnalytics": {
  3545. "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",
  3546. "resultFormat": "time_series",
  3547. "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
  3548. },
  3549. "azureMonitor": {
  3550. "aggOptions": ["Minimum", "Average", "Maximum"],
  3551. "aggregation": "Maximum",
  3552. "allowedTimeGrainsMs": [3600000],
  3553. "dimensionFilter": "*",
  3554. "dimensionFilters": [
  3555. {
  3556. "dimension": null,
  3557. "filter": "",
  3558. "operator": "eq"
  3559. }
  3560. ],
  3561. "dimensions": [],
  3562. "metricDefinition": "$ns",
  3563. "metricName": "ServiceAvailability",
  3564. "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
  3565. "resourceGroup": "$rg",
  3566. "resourceName": "$resource",
  3567. "timeGrain": "auto",
  3568. "timeGrains": [
  3569. {
  3570. "text": "auto",
  3571. "value": "auto"
  3572. },
  3573. {
  3574. "text": "1 hour",
  3575. "value": "PT1H"
  3576. }
  3577. ],
  3578. "top": "10"
  3579. },
  3580. "hide": false,
  3581. "insightsAnalytics": {
  3582. "query": "",
  3583. "resultFormat": "time_series"
  3584. },
  3585. "queryType": "Azure Monitor",
  3586. "refId": "C",
  3587. "subscription": "$sub"
  3588. }
  3589. ],
  3590. "thresholds": [],
  3591. "timeFrom": null,
  3592. "timeRegions": [],
  3593. "timeShift": null,
  3594. "title": "Service Availability (min/max/avg in %)",
  3595. "tooltip": {
  3596. "shared": true,
  3597. "sort": 0,
  3598. "value_type": "individual"
  3599. },
  3600. "type": "graph",
  3601. "xaxis": {
  3602. "buckets": null,
  3603. "mode": "time",
  3604. "name": null,
  3605. "show": true,
  3606. "values": []
  3607. },
  3608. "yaxes": [
  3609. {
  3610. "format": "percent",
  3611. "label": null,
  3612. "logBase": 1,
  3613. "max": null,
  3614. "min": null,
  3615. "show": true
  3616. },
  3617. {
  3618. "format": "short",
  3619. "label": null,
  3620. "logBase": 1,
  3621. "max": null,
  3622. "min": null,
  3623. "show": true
  3624. }
  3625. ],
  3626. "yaxis": {
  3627. "align": false,
  3628. "alignLevel": null
  3629. }
  3630. }
  3631. ],
  3632. "repeat": "sub",
  3633. "title": "Availability",
  3634. "type": "row"
  3635. },
  3636. {
  3637. "collapsed": true,
  3638. "datasource": "$ds",
  3639. "gridPos": {
  3640. "h": 1,
  3641. "w": 24,
  3642. "x": 0,
  3643. "y": 5
  3644. },
  3645. "id": 41,
  3646. "panels": [
  3647. {
  3648. "aliasColors": {},
  3649. "bars": false,
  3650. "dashLength": 10,
  3651. "dashes": false,
  3652. "datasource": "$ds",
  3653. "fieldConfig": {
  3654. "defaults": {
  3655. "custom": {}
  3656. },
  3657. "overrides": []
  3658. },
  3659. "fill": 1,
  3660. "fillGradient": 0,
  3661. "gridPos": {
  3662. "h": 8,
  3663. "w": 12,
  3664. "x": 0,
  3665. "y": 6
  3666. },
  3667. "hiddenSeries": false,
  3668. "id": 42,
  3669. "legend": {
  3670. "avg": true,
  3671. "current": false,
  3672. "max": false,
  3673. "min": false,
  3674. "show": true,
  3675. "total": false,
  3676. "values": true
  3677. },
  3678. "lines": true,
  3679. "linewidth": 1,
  3680. "nullPointMode": "null",
  3681. "options": {
  3682. "alertThreshold": true
  3683. },
  3684. "percentage": false,
  3685. "pluginVersion": "7.4.3",
  3686. "pointradius": 2,
  3687. "points": false,
  3688. "renderer": "flot",
  3689. "seriesOverrides": [],
  3690. "spaceLength": 10,
  3691. "stack": false,
  3692. "steppedLine": false,
  3693. "targets": [
  3694. {
  3695. "appInsights": {
  3696. "dimension": [],
  3697. "metricName": "select",
  3698. "timeGrain": "auto"
  3699. },
  3700. "azureLogAnalytics": {
  3701. "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",
  3702. "resultFormat": "time_series",
  3703. "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
  3704. },
  3705. "azureMonitor": {
  3706. "aggOptions": ["Average"],
  3707. "aggregation": "Average",
  3708. "allowedTimeGrainsMs": [60000],
  3709. "dimensionFilter": "*",
  3710. "dimensionFilters": [
  3711. {
  3712. "dimension": "Region",
  3713. "filter": "",
  3714. "operator": "eq"
  3715. }
  3716. ],
  3717. "dimensions": [
  3718. {
  3719. "text": "DatabaseName",
  3720. "value": "DatabaseName"
  3721. },
  3722. {
  3723. "text": "CollectionName",
  3724. "value": "CollectionName"
  3725. },
  3726. {
  3727. "text": "Region",
  3728. "value": "Region"
  3729. },
  3730. {
  3731. "text": "ConnectionMode",
  3732. "value": "ConnectionMode"
  3733. },
  3734. {
  3735. "text": "OperationType",
  3736. "value": "OperationType"
  3737. },
  3738. {
  3739. "text": "PublicAPIType",
  3740. "value": "PublicAPIType"
  3741. }
  3742. ],
  3743. "metricDefinition": "$ns",
  3744. "metricName": "ServerSideLatency",
  3745. "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
  3746. "resourceGroup": "$rg",
  3747. "resourceName": "$resource",
  3748. "timeGrain": "auto",
  3749. "timeGrains": [
  3750. {
  3751. "text": "auto",
  3752. "value": "auto"
  3753. },
  3754. {
  3755. "text": "1 minute",
  3756. "value": "PT1M"
  3757. }
  3758. ],
  3759. "top": "10"
  3760. },
  3761. "insightsAnalytics": {
  3762. "query": "",
  3763. "resultFormat": "time_series"
  3764. },
  3765. "queryType": "Azure Monitor",
  3766. "refId": "A",
  3767. "subscription": "$sub"
  3768. }
  3769. ],
  3770. "thresholds": [],
  3771. "timeFrom": null,
  3772. "timeRegions": [],
  3773. "timeShift": null,
  3774. "title": "Server Side Latency (Avg) By Region",
  3775. "tooltip": {
  3776. "shared": true,
  3777. "sort": 0,
  3778. "value_type": "individual"
  3779. },
  3780. "type": "graph",
  3781. "xaxis": {
  3782. "buckets": null,
  3783. "mode": "time",
  3784. "name": null,
  3785. "show": true,
  3786. "values": []
  3787. },
  3788. "yaxes": [
  3789. {
  3790. "format": "ms",
  3791. "label": null,
  3792. "logBase": 1,
  3793. "max": null,
  3794. "min": null,
  3795. "show": true
  3796. },
  3797. {
  3798. "format": "short",
  3799. "label": null,
  3800. "logBase": 1,
  3801. "max": null,
  3802. "min": null,
  3803. "show": true
  3804. }
  3805. ],
  3806. "yaxis": {
  3807. "align": false,
  3808. "alignLevel": null
  3809. }
  3810. },
  3811. {
  3812. "aliasColors": {},
  3813. "bars": false,
  3814. "dashLength": 10,
  3815. "dashes": false,
  3816. "datasource": "$ds",
  3817. "fieldConfig": {
  3818. "defaults": {
  3819. "custom": {}
  3820. },
  3821. "overrides": []
  3822. },
  3823. "fill": 1,
  3824. "fillGradient": 0,
  3825. "gridPos": {
  3826. "h": 8,
  3827. "w": 12,
  3828. "x": 12,
  3829. "y": 6
  3830. },
  3831. "hiddenSeries": false,
  3832. "id": 43,
  3833. "legend": {
  3834. "avg": true,
  3835. "current": false,
  3836. "max": false,
  3837. "min": false,
  3838. "show": true,
  3839. "total": false,
  3840. "values": true
  3841. },
  3842. "lines": true,
  3843. "linewidth": 1,
  3844. "nullPointMode": "null",
  3845. "options": {
  3846. "alertThreshold": true
  3847. },
  3848. "percentage": false,
  3849. "pluginVersion": "7.4.3",
  3850. "pointradius": 2,
  3851. "points": false,
  3852. "renderer": "flot",
  3853. "seriesOverrides": [],
  3854. "spaceLength": 10,
  3855. "stack": false,
  3856. "steppedLine": false,
  3857. "targets": [
  3858. {
  3859. "appInsights": {
  3860. "dimension": [],
  3861. "metricName": "select",
  3862. "timeGrain": "auto"
  3863. },
  3864. "azureLogAnalytics": {
  3865. "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",
  3866. "resultFormat": "time_series",
  3867. "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
  3868. },
  3869. "azureMonitor": {
  3870. "aggOptions": ["Average"],
  3871. "aggregation": "Average",
  3872. "allowedTimeGrainsMs": [60000],
  3873. "dimensionFilter": "*",
  3874. "dimensionFilters": [
  3875. {
  3876. "dimension": "OperationType",
  3877. "filter": "",
  3878. "operator": "eq"
  3879. }
  3880. ],
  3881. "dimensions": [
  3882. {
  3883. "text": "DatabaseName",
  3884. "value": "DatabaseName"
  3885. },
  3886. {
  3887. "text": "CollectionName",
  3888. "value": "CollectionName"
  3889. },
  3890. {
  3891. "text": "Region",
  3892. "value": "Region"
  3893. },
  3894. {
  3895. "text": "ConnectionMode",
  3896. "value": "ConnectionMode"
  3897. },
  3898. {
  3899. "text": "OperationType",
  3900. "value": "OperationType"
  3901. },
  3902. {
  3903. "text": "PublicAPIType",
  3904. "value": "PublicAPIType"
  3905. }
  3906. ],
  3907. "metricDefinition": "$ns",
  3908. "metricName": "ServerSideLatency",
  3909. "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
  3910. "resourceGroup": "$rg",
  3911. "resourceName": "$resource",
  3912. "timeGrain": "auto",
  3913. "timeGrains": [
  3914. {
  3915. "text": "auto",
  3916. "value": "auto"
  3917. },
  3918. {
  3919. "text": "1 minute",
  3920. "value": "PT1M"
  3921. }
  3922. ],
  3923. "top": "10"
  3924. },
  3925. "insightsAnalytics": {
  3926. "query": "",
  3927. "resultFormat": "time_series"
  3928. },
  3929. "queryType": "Azure Monitor",
  3930. "refId": "A",
  3931. "subscription": "$sub"
  3932. }
  3933. ],
  3934. "thresholds": [],
  3935. "timeFrom": null,
  3936. "timeRegions": [],
  3937. "timeShift": null,
  3938. "title": "Server Side Latency (Avg) By Operation",
  3939. "tooltip": {
  3940. "shared": true,
  3941. "sort": 0,
  3942. "value_type": "individual"
  3943. },
  3944. "type": "graph",
  3945. "xaxis": {
  3946. "buckets": null,
  3947. "mode": "time",
  3948. "name": null,
  3949. "show": true,
  3950. "values": []
  3951. },
  3952. "yaxes": [
  3953. {
  3954. "format": "ms",
  3955. "label": null,
  3956. "logBase": 1,
  3957. "max": null,
  3958. "min": null,
  3959. "show": true
  3960. },
  3961. {
  3962. "format": "short",
  3963. "label": null,
  3964. "logBase": 1,
  3965. "max": null,
  3966. "min": null,
  3967. "show": true
  3968. }
  3969. ],
  3970. "yaxis": {
  3971. "align": false,
  3972. "alignLevel": null
  3973. }
  3974. }
  3975. ],
  3976. "title": "Latency",
  3977. "type": "row"
  3978. },
  3979. {
  3980. "collapsed": true,
  3981. "datasource": "$ds",
  3982. "gridPos": {
  3983. "h": 1,
  3984. "w": 24,
  3985. "x": 0,
  3986. "y": 6
  3987. },
  3988. "id": 45,
  3989. "panels": [
  3990. {
  3991. "aliasColors": {},
  3992. "bars": false,
  3993. "dashLength": 10,
  3994. "dashes": false,
  3995. "datasource": "$ds",
  3996. "fieldConfig": {
  3997. "defaults": {
  3998. "custom": {}
  3999. },
  4000. "overrides": []
  4001. },
  4002. "fill": 1,
  4003. "fillGradient": 0,
  4004. "gridPos": {
  4005. "h": 8,
  4006. "w": 12,
  4007. "x": 0,
  4008. "y": 7
  4009. },
  4010. "hiddenSeries": false,
  4011. "id": 46,
  4012. "legend": {
  4013. "avg": true,
  4014. "current": false,
  4015. "max": false,
  4016. "min": false,
  4017. "show": true,
  4018. "total": false,
  4019. "values": true
  4020. },
  4021. "lines": true,
  4022. "linewidth": 1,
  4023. "nullPointMode": "null",
  4024. "options": {
  4025. "alertThreshold": true
  4026. },
  4027. "percentage": false,
  4028. "pluginVersion": "7.4.3",
  4029. "pointradius": 2,
  4030. "points": false,
  4031. "renderer": "flot",
  4032. "seriesOverrides": [],
  4033. "spaceLength": 10,
  4034. "stack": false,
  4035. "steppedLine": false,
  4036. "targets": [
  4037. {
  4038. "appInsights": {
  4039. "dimension": [],
  4040. "metricName": "select",
  4041. "timeGrain": "auto"
  4042. },
  4043. "azureLogAnalytics": {
  4044. "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",
  4045. "resultFormat": "time_series",
  4046. "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
  4047. },
  4048. "azureMonitor": {
  4049. "aggOptions": ["Count"],
  4050. "aggregation": "Count",
  4051. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  4052. "dimensionFilter": "*",
  4053. "dimensionFilters": [
  4054. {
  4055. "dimension": "StatusCode",
  4056. "filter": "",
  4057. "operator": "eq"
  4058. }
  4059. ],
  4060. "dimensions": [
  4061. {
  4062. "text": "DatabaseName",
  4063. "value": "DatabaseName"
  4064. },
  4065. {
  4066. "text": "CollectionName",
  4067. "value": "CollectionName"
  4068. },
  4069. {
  4070. "text": "Region",
  4071. "value": "Region"
  4072. },
  4073. {
  4074. "text": "StatusCode",
  4075. "value": "StatusCode"
  4076. }
  4077. ],
  4078. "metricDefinition": "$ns",
  4079. "metricName": "MetadataRequests",
  4080. "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
  4081. "resourceGroup": "$rg",
  4082. "resourceName": "$resource",
  4083. "timeGrain": "auto",
  4084. "timeGrains": [
  4085. {
  4086. "text": "auto",
  4087. "value": "auto"
  4088. },
  4089. {
  4090. "text": "1 minute",
  4091. "value": "PT1M"
  4092. },
  4093. {
  4094. "text": "5 minutes",
  4095. "value": "PT5M"
  4096. },
  4097. {
  4098. "text": "15 minutes",
  4099. "value": "PT15M"
  4100. },
  4101. {
  4102. "text": "30 minutes",
  4103. "value": "PT30M"
  4104. },
  4105. {
  4106. "text": "1 hour",
  4107. "value": "PT1H"
  4108. },
  4109. {
  4110. "text": "6 hours",
  4111. "value": "PT6H"
  4112. },
  4113. {
  4114. "text": "12 hours",
  4115. "value": "PT12H"
  4116. },
  4117. {
  4118. "text": "1 day",
  4119. "value": "P1D"
  4120. }
  4121. ],
  4122. "top": "10"
  4123. },
  4124. "insightsAnalytics": {
  4125. "query": "",
  4126. "resultFormat": "time_series"
  4127. },
  4128. "queryType": "Azure Monitor",
  4129. "refId": "A",
  4130. "subscription": "$sub"
  4131. }
  4132. ],
  4133. "thresholds": [],
  4134. "timeFrom": null,
  4135. "timeRegions": [],
  4136. "timeShift": null,
  4137. "title": "Metadata Requests by Status Code",
  4138. "tooltip": {
  4139. "shared": true,
  4140. "sort": 0,
  4141. "value_type": "individual"
  4142. },
  4143. "type": "graph",
  4144. "xaxis": {
  4145. "buckets": null,
  4146. "mode": "time",
  4147. "name": null,
  4148. "show": true,
  4149. "values": []
  4150. },
  4151. "yaxes": [
  4152. {
  4153. "format": "short",
  4154. "label": null,
  4155. "logBase": 1,
  4156. "max": null,
  4157. "min": null,
  4158. "show": true
  4159. },
  4160. {
  4161. "format": "short",
  4162. "label": null,
  4163. "logBase": 1,
  4164. "max": null,
  4165. "min": null,
  4166. "show": true
  4167. }
  4168. ],
  4169. "yaxis": {
  4170. "align": false,
  4171. "alignLevel": null
  4172. }
  4173. },
  4174. {
  4175. "aliasColors": {},
  4176. "bars": false,
  4177. "dashLength": 10,
  4178. "dashes": false,
  4179. "datasource": "$ds",
  4180. "fieldConfig": {
  4181. "defaults": {
  4182. "custom": {}
  4183. },
  4184. "overrides": []
  4185. },
  4186. "fill": 1,
  4187. "fillGradient": 0,
  4188. "gridPos": {
  4189. "h": 8,
  4190. "w": 12,
  4191. "x": 12,
  4192. "y": 7
  4193. },
  4194. "hiddenSeries": false,
  4195. "id": 47,
  4196. "legend": {
  4197. "avg": true,
  4198. "current": false,
  4199. "max": false,
  4200. "min": false,
  4201. "show": true,
  4202. "total": false,
  4203. "values": true
  4204. },
  4205. "lines": true,
  4206. "linewidth": 1,
  4207. "nullPointMode": "null",
  4208. "options": {
  4209. "alertThreshold": true
  4210. },
  4211. "percentage": false,
  4212. "pluginVersion": "7.4.3",
  4213. "pointradius": 2,
  4214. "points": false,
  4215. "renderer": "flot",
  4216. "seriesOverrides": [],
  4217. "spaceLength": 10,
  4218. "stack": false,
  4219. "steppedLine": false,
  4220. "targets": [
  4221. {
  4222. "appInsights": {
  4223. "dimension": [],
  4224. "metricName": "select",
  4225. "timeGrain": "auto"
  4226. },
  4227. "azureLogAnalytics": {
  4228. "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",
  4229. "resultFormat": "time_series",
  4230. "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
  4231. },
  4232. "azureMonitor": {
  4233. "aggOptions": ["Count"],
  4234. "aggregation": "Count",
  4235. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  4236. "dimensionFilter": "*",
  4237. "dimensionFilters": [
  4238. {
  4239. "dimension": "StatusCode",
  4240. "filter": "429",
  4241. "operator": "eq"
  4242. }
  4243. ],
  4244. "dimensions": [
  4245. {
  4246. "text": "DatabaseName",
  4247. "value": "DatabaseName"
  4248. },
  4249. {
  4250. "text": "CollectionName",
  4251. "value": "CollectionName"
  4252. },
  4253. {
  4254. "text": "Region",
  4255. "value": "Region"
  4256. },
  4257. {
  4258. "text": "StatusCode",
  4259. "value": "StatusCode"
  4260. }
  4261. ],
  4262. "metricDefinition": "$ns",
  4263. "metricName": "MetadataRequests",
  4264. "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
  4265. "resourceGroup": "$rg",
  4266. "resourceName": "$resource",
  4267. "timeGrain": "auto",
  4268. "timeGrains": [
  4269. {
  4270. "text": "auto",
  4271. "value": "auto"
  4272. },
  4273. {
  4274. "text": "1 minute",
  4275. "value": "PT1M"
  4276. },
  4277. {
  4278. "text": "5 minutes",
  4279. "value": "PT5M"
  4280. },
  4281. {
  4282. "text": "15 minutes",
  4283. "value": "PT15M"
  4284. },
  4285. {
  4286. "text": "30 minutes",
  4287. "value": "PT30M"
  4288. },
  4289. {
  4290. "text": "1 hour",
  4291. "value": "PT1H"
  4292. },
  4293. {
  4294. "text": "6 hours",
  4295. "value": "PT6H"
  4296. },
  4297. {
  4298. "text": "12 hours",
  4299. "value": "PT12H"
  4300. },
  4301. {
  4302. "text": "1 day",
  4303. "value": "P1D"
  4304. }
  4305. ],
  4306. "top": "10"
  4307. },
  4308. "insightsAnalytics": {
  4309. "query": "",
  4310. "resultFormat": "time_series"
  4311. },
  4312. "queryType": "Azure Monitor",
  4313. "refId": "A",
  4314. "subscription": "$sub"
  4315. }
  4316. ],
  4317. "thresholds": [],
  4318. "timeFrom": null,
  4319. "timeRegions": [],
  4320. "timeShift": null,
  4321. "title": "Metadata Requests That Exceeded Capacity (429s)",
  4322. "tooltip": {
  4323. "shared": true,
  4324. "sort": 0,
  4325. "value_type": "individual"
  4326. },
  4327. "type": "graph",
  4328. "xaxis": {
  4329. "buckets": null,
  4330. "mode": "time",
  4331. "name": null,
  4332. "show": true,
  4333. "values": []
  4334. },
  4335. "yaxes": [
  4336. {
  4337. "format": "short",
  4338. "label": null,
  4339. "logBase": 1,
  4340. "max": null,
  4341. "min": null,
  4342. "show": true
  4343. },
  4344. {
  4345. "format": "short",
  4346. "label": null,
  4347. "logBase": 1,
  4348. "max": null,
  4349. "min": null,
  4350. "show": true
  4351. }
  4352. ],
  4353. "yaxis": {
  4354. "align": false,
  4355. "alignLevel": null
  4356. }
  4357. }
  4358. ],
  4359. "title": "System",
  4360. "type": "row"
  4361. },
  4362. {
  4363. "collapsed": true,
  4364. "datasource": "$ds",
  4365. "gridPos": {
  4366. "h": 1,
  4367. "w": 24,
  4368. "x": 0,
  4369. "y": 7
  4370. },
  4371. "id": 49,
  4372. "panels": [
  4373. {
  4374. "aliasColors": {},
  4375. "bars": false,
  4376. "dashLength": 10,
  4377. "dashes": false,
  4378. "datasource": "$ds",
  4379. "fieldConfig": {
  4380. "defaults": {
  4381. "custom": {}
  4382. },
  4383. "overrides": []
  4384. },
  4385. "fill": 1,
  4386. "fillGradient": 0,
  4387. "gridPos": {
  4388. "h": 8,
  4389. "w": 12,
  4390. "x": 0,
  4391. "y": 8
  4392. },
  4393. "hiddenSeries": false,
  4394. "id": 50,
  4395. "legend": {
  4396. "avg": true,
  4397. "current": false,
  4398. "max": false,
  4399. "min": false,
  4400. "show": true,
  4401. "total": false,
  4402. "values": true
  4403. },
  4404. "lines": true,
  4405. "linewidth": 1,
  4406. "nullPointMode": "null",
  4407. "options": {
  4408. "alertThreshold": true
  4409. },
  4410. "percentage": false,
  4411. "pluginVersion": "7.4.3",
  4412. "pointradius": 2,
  4413. "points": false,
  4414. "renderer": "flot",
  4415. "seriesOverrides": [],
  4416. "spaceLength": 10,
  4417. "stack": false,
  4418. "steppedLine": false,
  4419. "targets": [
  4420. {
  4421. "appInsights": {
  4422. "dimension": [],
  4423. "metricName": "select",
  4424. "timeGrain": "auto"
  4425. },
  4426. "azureLogAnalytics": {
  4427. "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",
  4428. "resultFormat": "time_series",
  4429. "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
  4430. },
  4431. "azureMonitor": {
  4432. "aggOptions": ["Count"],
  4433. "aggregation": "Count",
  4434. "allowedTimeGrainsMs": [300000],
  4435. "dimensionFilter": "*",
  4436. "dimensionFilters": [
  4437. {
  4438. "dimension": null,
  4439. "filter": "",
  4440. "operator": "eq"
  4441. }
  4442. ],
  4443. "dimensions": [],
  4444. "metricDefinition": "$ns",
  4445. "metricName": "CreateAccount",
  4446. "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
  4447. "resourceGroup": "$rg",
  4448. "resourceName": "$resource",
  4449. "timeGrain": "auto",
  4450. "timeGrains": [
  4451. {
  4452. "text": "auto",
  4453. "value": "auto"
  4454. },
  4455. {
  4456. "text": "5 minutes",
  4457. "value": "PT5M"
  4458. }
  4459. ],
  4460. "top": "10"
  4461. },
  4462. "insightsAnalytics": {
  4463. "query": "",
  4464. "resultFormat": "time_series"
  4465. },
  4466. "queryType": "Azure Monitor",
  4467. "refId": "A",
  4468. "subscription": "$sub"
  4469. },
  4470. {
  4471. "appInsights": {
  4472. "dimension": [],
  4473. "metricName": "select",
  4474. "timeGrain": "auto"
  4475. },
  4476. "azureLogAnalytics": {
  4477. "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",
  4478. "resultFormat": "time_series",
  4479. "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
  4480. },
  4481. "azureMonitor": {
  4482. "aggOptions": ["Count"],
  4483. "aggregation": "Count",
  4484. "allowedTimeGrainsMs": [300000],
  4485. "dimensionFilter": "*",
  4486. "dimensionFilters": [
  4487. {
  4488. "dimension": null,
  4489. "filter": "",
  4490. "operator": "eq"
  4491. }
  4492. ],
  4493. "dimensions": [],
  4494. "metricDefinition": "$ns",
  4495. "metricName": "DeleteAccount",
  4496. "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
  4497. "resourceGroup": "$rg",
  4498. "resourceName": "$resource",
  4499. "timeGrain": "auto",
  4500. "timeGrains": [
  4501. {
  4502. "text": "auto",
  4503. "value": "auto"
  4504. },
  4505. {
  4506. "text": "5 minutes",
  4507. "value": "PT5M"
  4508. }
  4509. ],
  4510. "top": "10"
  4511. },
  4512. "hide": false,
  4513. "insightsAnalytics": {
  4514. "query": "",
  4515. "resultFormat": "time_series"
  4516. },
  4517. "queryType": "Azure Monitor",
  4518. "refId": "B",
  4519. "subscription": "$sub"
  4520. },
  4521. {
  4522. "appInsights": {
  4523. "dimension": [],
  4524. "metricName": "select",
  4525. "timeGrain": "auto"
  4526. },
  4527. "azureLogAnalytics": {
  4528. "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",
  4529. "resultFormat": "time_series",
  4530. "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
  4531. },
  4532. "azureMonitor": {
  4533. "aggOptions": ["Count"],
  4534. "aggregation": "Count",
  4535. "allowedTimeGrainsMs": [300000],
  4536. "dimensionFilter": "*",
  4537. "dimensionFilters": [
  4538. {
  4539. "dimension": null,
  4540. "filter": "",
  4541. "operator": "eq"
  4542. }
  4543. ],
  4544. "dimensions": [
  4545. {
  4546. "text": "KeyType",
  4547. "value": "KeyType"
  4548. }
  4549. ],
  4550. "metricDefinition": "$ns",
  4551. "metricName": "UpdateAccountKeys",
  4552. "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
  4553. "resourceGroup": "$rg",
  4554. "resourceName": "$resource",
  4555. "timeGrain": "auto",
  4556. "timeGrains": [
  4557. {
  4558. "text": "auto",
  4559. "value": "auto"
  4560. },
  4561. {
  4562. "text": "5 minutes",
  4563. "value": "PT5M"
  4564. }
  4565. ],
  4566. "top": "10"
  4567. },
  4568. "hide": false,
  4569. "insightsAnalytics": {
  4570. "query": "",
  4571. "resultFormat": "time_series"
  4572. },
  4573. "queryType": "Azure Monitor",
  4574. "refId": "C",
  4575. "subscription": "$sub"
  4576. }
  4577. ],
  4578. "thresholds": [],
  4579. "timeFrom": null,
  4580. "timeRegions": [],
  4581. "timeShift": null,
  4582. "title": "Cosmos DB Account Management (Creates, Deletes) and Account Key Updates",
  4583. "tooltip": {
  4584. "shared": true,
  4585. "sort": 0,
  4586. "value_type": "individual"
  4587. },
  4588. "type": "graph",
  4589. "xaxis": {
  4590. "buckets": null,
  4591. "mode": "time",
  4592. "name": null,
  4593. "show": true,
  4594. "values": []
  4595. },
  4596. "yaxes": [
  4597. {
  4598. "format": "short",
  4599. "label": null,
  4600. "logBase": 1,
  4601. "max": null,
  4602. "min": null,
  4603. "show": true
  4604. },
  4605. {
  4606. "format": "short",
  4607. "label": null,
  4608. "logBase": 1,
  4609. "max": null,
  4610. "min": null,
  4611. "show": true
  4612. }
  4613. ],
  4614. "yaxis": {
  4615. "align": false,
  4616. "alignLevel": null
  4617. }
  4618. },
  4619. {
  4620. "aliasColors": {},
  4621. "bars": false,
  4622. "dashLength": 10,
  4623. "dashes": false,
  4624. "datasource": "$ds",
  4625. "fieldConfig": {
  4626. "defaults": {
  4627. "custom": {}
  4628. },
  4629. "overrides": []
  4630. },
  4631. "fill": 1,
  4632. "fillGradient": 0,
  4633. "gridPos": {
  4634. "h": 8,
  4635. "w": 12,
  4636. "x": 12,
  4637. "y": 8
  4638. },
  4639. "hiddenSeries": false,
  4640. "id": 51,
  4641. "legend": {
  4642. "avg": true,
  4643. "current": false,
  4644. "max": false,
  4645. "min": false,
  4646. "show": true,
  4647. "total": false,
  4648. "values": true
  4649. },
  4650. "lines": true,
  4651. "linewidth": 1,
  4652. "nullPointMode": "null",
  4653. "options": {
  4654. "alertThreshold": true
  4655. },
  4656. "percentage": false,
  4657. "pluginVersion": "7.4.3",
  4658. "pointradius": 2,
  4659. "points": false,
  4660. "renderer": "flot",
  4661. "seriesOverrides": [],
  4662. "spaceLength": 10,
  4663. "stack": false,
  4664. "steppedLine": false,
  4665. "targets": [
  4666. {
  4667. "appInsights": {
  4668. "dimension": [],
  4669. "metricName": "select",
  4670. "timeGrain": "auto"
  4671. },
  4672. "azureLogAnalytics": {
  4673. "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",
  4674. "resultFormat": "time_series",
  4675. "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
  4676. },
  4677. "azureMonitor": {
  4678. "aggOptions": ["Count"],
  4679. "aggregation": "Count",
  4680. "allowedTimeGrainsMs": [300000],
  4681. "dimensionFilter": "*",
  4682. "dimensionFilters": [
  4683. {
  4684. "dimension": null,
  4685. "filter": "",
  4686. "operator": "eq"
  4687. }
  4688. ],
  4689. "dimensions": [
  4690. {
  4691. "text": "DiagnosticSettings Name",
  4692. "value": "DiagnosticSettingsName"
  4693. },
  4694. {
  4695. "text": "ResourceGroup Name",
  4696. "value": "ResourceGroupName"
  4697. }
  4698. ],
  4699. "metricDefinition": "$ns",
  4700. "metricName": "UpdateDiagnosticsSettings",
  4701. "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
  4702. "resourceGroup": "$rg",
  4703. "resourceName": "$resource",
  4704. "timeGrain": "auto",
  4705. "timeGrains": [
  4706. {
  4707. "text": "auto",
  4708. "value": "auto"
  4709. },
  4710. {
  4711. "text": "5 minutes",
  4712. "value": "PT5M"
  4713. }
  4714. ],
  4715. "top": "10"
  4716. },
  4717. "insightsAnalytics": {
  4718. "query": "",
  4719. "resultFormat": "time_series"
  4720. },
  4721. "queryType": "Azure Monitor",
  4722. "refId": "A",
  4723. "subscription": "$sub"
  4724. },
  4725. {
  4726. "appInsights": {
  4727. "dimension": [],
  4728. "metricName": "select",
  4729. "timeGrain": "auto"
  4730. },
  4731. "azureLogAnalytics": {
  4732. "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",
  4733. "resultFormat": "time_series",
  4734. "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
  4735. },
  4736. "azureMonitor": {
  4737. "aggOptions": ["Count"],
  4738. "aggregation": "Count",
  4739. "allowedTimeGrainsMs": [300000],
  4740. "dimensionFilter": "*",
  4741. "dimensionFilters": [
  4742. {
  4743. "dimension": null,
  4744. "filter": "",
  4745. "operator": "eq"
  4746. }
  4747. ],
  4748. "dimensions": [],
  4749. "metricDefinition": "$ns",
  4750. "metricName": "UpdateAccountNetworkSettings",
  4751. "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
  4752. "resourceGroup": "$rg",
  4753. "resourceName": "$resource",
  4754. "timeGrain": "auto",
  4755. "timeGrains": [
  4756. {
  4757. "text": "auto",
  4758. "value": "auto"
  4759. },
  4760. {
  4761. "text": "5 minutes",
  4762. "value": "PT5M"
  4763. }
  4764. ],
  4765. "top": "10"
  4766. },
  4767. "hide": false,
  4768. "insightsAnalytics": {
  4769. "query": "",
  4770. "resultFormat": "time_series"
  4771. },
  4772. "queryType": "Azure Monitor",
  4773. "refId": "B",
  4774. "subscription": "$sub"
  4775. },
  4776. {
  4777. "appInsights": {
  4778. "dimension": [],
  4779. "metricName": "select",
  4780. "timeGrain": "auto"
  4781. },
  4782. "azureLogAnalytics": {
  4783. "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",
  4784. "resultFormat": "time_series",
  4785. "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
  4786. },
  4787. "azureMonitor": {
  4788. "aggOptions": ["Count"],
  4789. "aggregation": "Count",
  4790. "allowedTimeGrainsMs": [300000],
  4791. "dimensionFilter": "*",
  4792. "dimensionFilters": [
  4793. {
  4794. "dimension": null,
  4795. "filter": "",
  4796. "operator": "eq"
  4797. }
  4798. ],
  4799. "dimensions": [],
  4800. "metricDefinition": "$ns",
  4801. "metricName": "UpdateAccountReplicationSettings",
  4802. "metricNamespace": "Microsoft.DocumentDB/databaseAccounts",
  4803. "resourceGroup": "$rg",
  4804. "resourceName": "$resource",
  4805. "timeGrain": "auto",
  4806. "timeGrains": [
  4807. {
  4808. "text": "auto",
  4809. "value": "auto"
  4810. },
  4811. {
  4812. "text": "5 minutes",
  4813. "value": "PT5M"
  4814. }
  4815. ],
  4816. "top": "10"
  4817. },
  4818. "hide": false,
  4819. "insightsAnalytics": {
  4820. "query": "",
  4821. "resultFormat": "time_series"
  4822. },
  4823. "queryType": "Azure Monitor",
  4824. "refId": "C",
  4825. "subscription": "$sub"
  4826. }
  4827. ],
  4828. "thresholds": [],
  4829. "timeFrom": null,
  4830. "timeRegions": [],
  4831. "timeShift": null,
  4832. "title": "Cosmos DB Account Diagnostic, Network and Replication Settings Updates",
  4833. "tooltip": {
  4834. "shared": true,
  4835. "sort": 0,
  4836. "value_type": "individual"
  4837. },
  4838. "type": "graph",
  4839. "xaxis": {
  4840. "buckets": null,
  4841. "mode": "time",
  4842. "name": null,
  4843. "show": true,
  4844. "values": []
  4845. },
  4846. "yaxes": [
  4847. {
  4848. "format": "short",
  4849. "label": null,
  4850. "logBase": 1,
  4851. "max": null,
  4852. "min": null,
  4853. "show": true
  4854. },
  4855. {
  4856. "format": "short",
  4857. "label": null,
  4858. "logBase": 1,
  4859. "max": null,
  4860. "min": null,
  4861. "show": true
  4862. }
  4863. ],
  4864. "yaxis": {
  4865. "align": false,
  4866. "alignLevel": null
  4867. }
  4868. }
  4869. ],
  4870. "title": "Account Management",
  4871. "type": "row"
  4872. }
  4873. ],
  4874. "refresh": false,
  4875. "schemaVersion": 27,
  4876. "style": "dark",
  4877. "tags": [],
  4878. "templating": {
  4879. "list": [
  4880. {
  4881. "current": {},
  4882. "description": null,
  4883. "error": null,
  4884. "hide": 0,
  4885. "includeAll": false,
  4886. "label": "Data Source",
  4887. "multi": false,
  4888. "name": "ds",
  4889. "options": [],
  4890. "query": "grafana-azure-monitor-datasource",
  4891. "queryValue": "",
  4892. "refresh": 1,
  4893. "regex": "",
  4894. "skipUrlSync": false,
  4895. "type": "datasource"
  4896. },
  4897. {
  4898. "allValue": null,
  4899. "current": {},
  4900. "datasource": "$ds",
  4901. "definition": "subscriptions()",
  4902. "description": null,
  4903. "error": null,
  4904. "hide": 0,
  4905. "includeAll": false,
  4906. "label": "Subscription",
  4907. "multi": false,
  4908. "name": "sub",
  4909. "options": [],
  4910. "query": "subscriptions()",
  4911. "refresh": 1,
  4912. "regex": "",
  4913. "skipUrlSync": false,
  4914. "sort": 0,
  4915. "tagValuesQuery": "",
  4916. "tags": [],
  4917. "tagsQuery": "",
  4918. "type": "query",
  4919. "useTags": false
  4920. },
  4921. {
  4922. "allValue": null,
  4923. "current": {},
  4924. "datasource": "$ds",
  4925. "definition": "ResourceGroups($sub)",
  4926. "description": null,
  4927. "error": null,
  4928. "hide": 0,
  4929. "includeAll": false,
  4930. "label": "Resource Group",
  4931. "multi": false,
  4932. "name": "rg",
  4933. "options": [],
  4934. "query": "ResourceGroups($sub)",
  4935. "refresh": 1,
  4936. "regex": "",
  4937. "skipUrlSync": false,
  4938. "sort": 0,
  4939. "tagValuesQuery": "",
  4940. "tags": [],
  4941. "tagsQuery": "",
  4942. "type": "query",
  4943. "useTags": false
  4944. },
  4945. {
  4946. "allValue": null,
  4947. "current": {
  4948. "selected": false,
  4949. "text": "Microsoft.DocumentDb/databaseAccounts",
  4950. "value": "Microsoft.DocumentDb/databaseAccounts"
  4951. },
  4952. "description": null,
  4953. "error": null,
  4954. "hide": 0,
  4955. "includeAll": false,
  4956. "label": "Name Space",
  4957. "multi": false,
  4958. "name": "ns",
  4959. "options": [
  4960. {
  4961. "selected": true,
  4962. "text": "Microsoft.DocumentDb/databaseAccounts",
  4963. "value": "Microsoft.DocumentDb/databaseAccounts"
  4964. }
  4965. ],
  4966. "query": "Microsoft.DocumentDb/databaseAccounts",
  4967. "skipUrlSync": false,
  4968. "type": "custom"
  4969. },
  4970. {
  4971. "allValue": null,
  4972. "current": {},
  4973. "datasource": "$ds",
  4974. "definition": "ResourceNames($sub, $rg, $ns)",
  4975. "description": null,
  4976. "error": null,
  4977. "hide": 0,
  4978. "includeAll": false,
  4979. "label": null,
  4980. "multi": false,
  4981. "name": "resource",
  4982. "options": [],
  4983. "query": "ResourceNames($sub, $rg, $ns)",
  4984. "refresh": 1,
  4985. "regex": "",
  4986. "skipUrlSync": false,
  4987. "sort": 0,
  4988. "tagValuesQuery": "",
  4989. "tags": [],
  4990. "tagsQuery": "",
  4991. "type": "query",
  4992. "useTags": false
  4993. }
  4994. ]
  4995. },
  4996. "time": {
  4997. "from": "now-6h",
  4998. "to": "now"
  4999. },
  5000. "timepicker": {},
  5001. "timezone": "",
  5002. "title": "Azure / Insights / Cosmos DB",
  5003. "uid": "INH9berMk",
  5004. "version": 17
  5005. }