|
32 | 32 | "content": {
|
33 | 33 | "version": "KqlParameterItem/1.0",
|
34 | 34 | "crossComponentResources": [
|
35 |
| - "value::selected" |
| 35 | + "{Subscription}" |
36 | 36 | ],
|
37 | 37 | "parameters": [
|
38 | 38 | {
|
|
317 | 317 | ],
|
318 | 318 | "style": "above",
|
319 | 319 | "queryType": 1,
|
320 |
| - "resourceType": "microsoft.operationalinsights/workspaces" |
| 320 | + "resourceType": "microsoft.resourcegraph/resources" |
321 | 321 | },
|
322 | 322 | "name": "high cpu parameters all"
|
323 | 323 | },
|
|
1261 | 1261 | ],
|
1262 | 1262 | "timeContextFromParameter": "TimeRange",
|
1263 | 1263 | "timeContext": {
|
1264 |
| - "durationMs": 2419200000 |
| 1264 | + "durationMs": 86400000 |
1265 | 1265 | },
|
1266 | 1266 | "metrics": [
|
1267 | 1267 | {
|
|
1403 | 1403 | ],
|
1404 | 1404 | "timeContextFromParameter": "TimeRange",
|
1405 | 1405 | "timeContext": {
|
1406 |
| - "durationMs": 2419200000 |
| 1406 | + "durationMs": 86400000 |
1407 | 1407 | },
|
1408 | 1408 | "metrics": [
|
1409 | 1409 | {
|
|
1495 | 1495 | ],
|
1496 | 1496 | "timeContextFromParameter": "TimeRange",
|
1497 | 1497 | "timeContext": {
|
1498 |
| - "durationMs": 2419200000 |
| 1498 | + "durationMs": 86400000 |
1499 | 1499 | },
|
1500 | 1500 | "metrics": [
|
1501 | 1501 | {
|
1502 | 1502 | "namespace": "microsoft.dbforpostgresql/flexibleservers",
|
1503 | 1503 | "metric": "microsoft.dbforpostgresql/flexibleservers-database (Preview)-tup_fetched",
|
1504 | 1504 | "aggregation": 1,
|
1505 |
| - "splitBy": "databaseName", |
| 1505 | + "splitBy": [ |
| 1506 | + "databaseName" |
| 1507 | + ], |
1506 | 1508 | "splitBySortOrder": -1,
|
1507 | 1509 | "splitByLimit": 50
|
1508 | 1510 | },
|
1509 | 1511 | {
|
1510 | 1512 | "namespace": "microsoft.dbforpostgresql/flexibleservers",
|
1511 | 1513 | "metric": "microsoft.dbforpostgresql/flexibleservers-database (Preview)-tup_returned",
|
1512 | 1514 | "aggregation": 1,
|
1513 |
| - "splitBy": "databaseName", |
| 1515 | + "splitBy": [ |
| 1516 | + "databaseName" |
| 1517 | + ], |
1514 | 1518 | "splitBySortOrder": -1,
|
1515 | 1519 | "splitByLimit": 50
|
1516 | 1520 | }
|
|
1673 | 1677 | ],
|
1674 | 1678 | "timeContextFromParameter": "TimeRange",
|
1675 | 1679 | "timeContext": {
|
1676 |
| - "durationMs": 2419200000 |
| 1680 | + "durationMs": 86400000 |
1677 | 1681 | },
|
1678 | 1682 | "metrics": [
|
1679 | 1683 | {
|
|
1810 | 1814 | ],
|
1811 | 1815 | "timeContextFromParameter": "TimeRange",
|
1812 | 1816 | "timeContext": {
|
1813 |
| - "durationMs": 2419200000 |
| 1817 | + "durationMs": 86400000 |
1814 | 1818 | },
|
1815 | 1819 | "metrics": [
|
1816 | 1820 | {
|
1817 | 1821 | "namespace": "microsoft.dbforpostgresql/flexibleservers",
|
1818 | 1822 | "metric": "microsoft.dbforpostgresql/flexibleservers-database (Preview)-tup_inserted",
|
1819 | 1823 | "aggregation": 1,
|
1820 |
| - "splitBy": "databaseName", |
| 1824 | + "splitBy": [ |
| 1825 | + "databaseName" |
| 1826 | + ], |
1821 | 1827 | "splitBySortOrder": -1,
|
1822 | 1828 | "splitByLimit": 50
|
1823 | 1829 | },
|
1824 | 1830 | {
|
1825 | 1831 | "namespace": "microsoft.dbforpostgresql/flexibleservers",
|
1826 | 1832 | "metric": "microsoft.dbforpostgresql/flexibleservers-database (Preview)-tup_updated",
|
1827 | 1833 | "aggregation": 1,
|
1828 |
| - "splitBy": "databaseName", |
| 1834 | + "splitBy": [ |
| 1835 | + "databaseName" |
| 1836 | + ], |
1829 | 1837 | "splitBySortOrder": -1,
|
1830 | 1838 | "splitByLimit": 50
|
1831 | 1839 | },
|
1832 | 1840 | {
|
1833 | 1841 | "namespace": "microsoft.dbforpostgresql/flexibleservers",
|
1834 | 1842 | "metric": "microsoft.dbforpostgresql/flexibleservers-database (Preview)-tup_deleted",
|
1835 | 1843 | "aggregation": 1,
|
1836 |
| - "splitBy": "databaseName", |
| 1844 | + "splitBy": [ |
| 1845 | + "databaseName" |
| 1846 | + ], |
1837 | 1847 | "splitBySortOrder": -1,
|
1838 | 1848 | "splitByLimit": 50
|
1839 | 1849 | }
|
|
2061 | 2071 | ],
|
2062 | 2072 | "timeContextFromParameter": "TimeRange",
|
2063 | 2073 | "timeContext": {
|
2064 |
| - "durationMs": 2419200000 |
| 2074 | + "durationMs": 86400000 |
2065 | 2075 | },
|
2066 | 2076 | "metrics": [
|
2067 | 2077 | {
|
|
3382 | 3392 | "type": 3,
|
3383 | 3393 | "content": {
|
3384 | 3394 | "version": "KqlItem/1.0",
|
3385 |
| - "query": "let graphgrain=iff({TimeRange:grain}<15m,15m, {TimeRange:grain});\r\nlet TimeStart = todatetime('{GlobalStartTime}');\r\nlet TimeEnd = todatetime('{GlobalEndTime}');\r\nlet TopQueryIDs = \r\n{QueryStoreTable}\r\n| where EndTime >= TimeStart and EndTime <= TimeEnd\r\n| where UserId != 10 // exclude azure super user \r\n| summarize max(MeanExecDurationMs) by QueryId\r\n| top {TopTimeConsumingQueries} by max_MeanExecDurationMs desc\r\n| project QueryId;\r\n{QueryStoreTable} \r\n| where EndTime >= TimeStart and EndTime <= TimeEnd\r\n| where UserId != 10 // exclude azure super user \r\n| where QueryId in (TopQueryIDs)\r\n |distinct EndTime,MeanExecDurationMs,QueryId\r\n| extend EVENT_TIME_GRAPHGRAIN = bin(EndTime, 1m)\r\n//| extend EVENT_TIME_GRAPHGRAIN = bin(todatetime(End_time_t), graphgrain)\r\n| make-series maxiotime=max(MeanExecDurationMs) default=0 on EVENT_TIME_GRAPHGRAIN from TimeStart to TimeEnd step graphgrain by QueryId=strcat('QueryId ',QueryId)\r\n", |
| 3395 | + "query": "let graphgrain=iff({TimeRange:grain}<15m,15m, {TimeRange:grain});\r\nlet TimeStart = todatetime('{GlobalStartTime}');\r\nlet TimeEnd = todatetime('{GlobalEndTime}');\r\nlet TopQueryIDs = \r\n{QueryStoreTable}\r\n| where EndTime >= TimeStart and EndTime <= TimeEnd\r\n| where UserId != 10 // exclude azure super user \r\n| summarize max(MeanExecDurationMs) by QueryId\r\n| top {TopTimeConsumingQueries} by max_MeanExecDurationMs desc\r\n| project QueryId;\r\n{QueryStoreTable} \r\n| where EndTime >= TimeStart and EndTime <= TimeEnd\r\n| where UserId != 10 // exclude azure super user \r\n| where QueryId in (TopQueryIDs)\r\n |distinct EndTime,MeanExecDurationMs,QueryId\r\n| extend EVENT_TIME_GRAPHGRAIN = bin(EndTime, 1m)\r\n//| extend EVENT_TIME_GRAPHGRAIN = bin(todatetime(End_time_t), graphgrain)\r\n| make-series maxiotime=max(MeanExecDurationMs) default=0 on EVENT_TIME_GRAPHGRAIN from TimeStart to TimeEnd step graphgrain by QueryId=strcat('',QueryId)\r\n", |
3386 | 3396 | "size": 0,
|
3387 | 3397 | "aggregation": 2,
|
3388 | 3398 | "title": "Top {TopTimeConsumingQueries} slowest queries from query store. Data is plotted at a granularity of {ChartGrain}",
|
|
3442 | 3452 | "type": 3,
|
3443 | 3453 | "content": {
|
3444 | 3454 | "version": "KqlItem/1.0",
|
3445 |
| - "query": "let graphgrain=iff({TimeRange:grain}<15m,15m, {TimeRange:grain});\r\nlet TimeStart = todatetime('{GlobalStartTime}');\r\nlet TimeEnd = todatetime('{GlobalEndTime}');\r\nlet TopQueryIDs = \r\n{QueryStoreTable}\r\n| where EndTime >= TimeStart and EndTime <= TimeEnd\r\n| where UserId != 10 // exclude azure super user \r\n| summarize max(TotalExecDurationMs) by QueryId\r\n| top {TopTimeConsumingQueries} by max_TotalExecDurationMs desc\r\n| project QueryId;\r\n{QueryStoreTable} \r\n| where EndTime >= TimeStart and EndTime <= TimeEnd\r\n| where UserId != 10 // exclude azure super user \r\n| where QueryId in (TopQueryIDs)\r\n |distinct EndTime,TotalExecDurationMs,QueryId\r\n| extend EVENT_TIME_GRAPHGRAIN = bin(EndTime, 1m)\r\n//| extend EVENT_TIME_GRAPHGRAIN = bin(todatetime(End_time_t), graphgrain)\r\n| make-series maxiotime=max(TotalExecDurationMs) default=0 on EVENT_TIME_GRAPHGRAIN from TimeStart to TimeEnd step graphgrain by QueryId=strcat('QueryId ',QueryId)\r\n", |
| 3455 | + "query": "let graphgrain=iff({TimeRange:grain}<15m,15m, {TimeRange:grain});\r\nlet TimeStart = todatetime('{GlobalStartTime}');\r\nlet TimeEnd = todatetime('{GlobalEndTime}');\r\nlet TopQueryIDs = \r\n{QueryStoreTable}\r\n| where EndTime >= TimeStart and EndTime <= TimeEnd\r\n| where UserId != 10 // exclude azure super user \r\n| summarize max(TotalExecDurationMs) by QueryId\r\n| top {TopTimeConsumingQueries} by max_TotalExecDurationMs desc\r\n| project QueryId;\r\n{QueryStoreTable} \r\n| where EndTime >= TimeStart and EndTime <= TimeEnd\r\n| where UserId != 10 // exclude azure super user \r\n| where QueryId in (TopQueryIDs)\r\n |distinct EndTime,TotalExecDurationMs,QueryId\r\n| extend EVENT_TIME_GRAPHGRAIN = bin(EndTime, 1m)\r\n//| extend EVENT_TIME_GRAPHGRAIN = bin(todatetime(End_time_t), graphgrain)\r\n| make-series maxiotime=max(TotalExecDurationMs) default=0 on EVENT_TIME_GRAPHGRAIN from TimeStart to TimeEnd step graphgrain by QueryId=strcat('',QueryId)\r\n", |
3446 | 3456 | "size": 0,
|
3447 | 3457 | "aggregation": 2,
|
3448 | 3458 | "title": "Top {TopTimeConsumingQueries} slow queries by total duration from query store. Data is plotted at a granularity of {ChartGrain}",
|
|
3502 | 3512 | "type": 3,
|
3503 | 3513 | "content": {
|
3504 | 3514 | "version": "KqlItem/1.0",
|
3505 |
| - "query": "let graphgrain=iff({TimeRange:grain}<15m,15m, {TimeRange:grain});\r\nlet TimeStart = todatetime('{GlobalStartTime}');\r\nlet TimeEnd = todatetime('{GlobalEndTime}');\r\nlet TopQueryIDs = \r\n{QueryStoreTable}\r\n| where EndTime >= TimeStart and EndTime <= TimeEnd\r\n| where UserId != 10 // exclude azure super user \r\n| summarize max(Calls) by QueryId\r\n| top {TopTimeConsumingQueries} by max_Calls desc\r\n| project QueryId;\r\n{QueryStoreTable} \r\n| where EndTime >= TimeStart and EndTime <= TimeEnd\r\n| where UserId != 10 // exclude azure super user \r\n | where QueryId in (TopQueryIDs)\r\n |distinct EndTime,Calls,QueryId\r\n| extend EVENT_TIME_GRAPHGRAIN = bin(EndTime, graphgrain)\r\n//| extend EVENT_TIME_GRAPHGRAIN = bin(todatetime(End_time_t), graphgrain)\r\n| make-series maxiotime=sum(Calls) default=0 on EVENT_TIME_GRAPHGRAIN from TimeStart to TimeEnd step graphgrain by QueryId=strcat('QueryId ',QueryId)\r\n", |
| 3515 | + "query": "let graphgrain=iff({TimeRange:grain}<15m,15m, {TimeRange:grain});\r\nlet TimeStart = todatetime('{GlobalStartTime}');\r\nlet TimeEnd = todatetime('{GlobalEndTime}');\r\nlet TopQueryIDs = \r\n{QueryStoreTable}\r\n| where EndTime >= TimeStart and EndTime <= TimeEnd\r\n| where UserId != 10 // exclude azure super user \r\n| summarize max(Calls) by QueryId\r\n| top {TopTimeConsumingQueries} by max_Calls desc\r\n| project QueryId;\r\n{QueryStoreTable} \r\n| where EndTime >= TimeStart and EndTime <= TimeEnd\r\n| where UserId != 10 // exclude azure super user \r\n | where QueryId in (TopQueryIDs)\r\n |distinct EndTime,Calls,QueryId\r\n| extend EVENT_TIME_GRAPHGRAIN = bin(EndTime, graphgrain)\r\n//| extend EVENT_TIME_GRAPHGRAIN = bin(todatetime(End_time_t), graphgrain)\r\n| make-series maxiotime=sum(Calls) default=0 on EVENT_TIME_GRAPHGRAIN from TimeStart to TimeEnd step graphgrain by QueryId=strcat('',QueryId)\r\n", |
3506 | 3516 | "size": 0,
|
3507 | 3517 | "title": "Top {TopTimeConsumingQueries} queries by calls. Data is plotted at a granularity of {ChartGrain}",
|
3508 | 3518 | "noDataMessage": "No data available during the period selected",
|
|
5319 | 5329 | ],
|
5320 | 5330 | "timeContextFromParameter": "TimeRange",
|
5321 | 5331 | "timeContext": {
|
5322 |
| - "durationMs": 2419200000 |
| 5332 | + "durationMs": 86400000 |
5323 | 5333 | },
|
5324 | 5334 | "metrics": [
|
5325 | 5335 | {
|
|
5373 | 5383 | ],
|
5374 | 5384 | "timeContextFromParameter": "TimeRange",
|
5375 | 5385 | "timeContext": {
|
5376 |
| - "durationMs": 2419200000 |
| 5386 | + "durationMs": 86400000 |
5377 | 5387 | },
|
5378 | 5388 | "metrics": [
|
5379 | 5389 | {
|
|
5427 | 5437 | ],
|
5428 | 5438 | "timeContextFromParameter": "TimeRange",
|
5429 | 5439 | "timeContext": {
|
5430 |
| - "durationMs": 2419200000 |
| 5440 | + "durationMs": 86400000 |
5431 | 5441 | },
|
5432 | 5442 | "metrics": [
|
5433 | 5443 | {
|
|
5481 | 5491 | ],
|
5482 | 5492 | "timeContextFromParameter": "TimeRange",
|
5483 | 5493 | "timeContext": {
|
5484 |
| - "durationMs": 2419200000 |
| 5494 | + "durationMs": 86400000 |
5485 | 5495 | },
|
5486 | 5496 | "metrics": [
|
5487 | 5497 | {
|
|
5535 | 5545 | ],
|
5536 | 5546 | "timeContextFromParameter": "TimeRange",
|
5537 | 5547 | "timeContext": {
|
5538 |
| - "durationMs": 2419200000 |
| 5548 | + "durationMs": 86400000 |
5539 | 5549 | },
|
5540 | 5550 | "metrics": [
|
5541 | 5551 | {
|
|
5589 | 5599 | ],
|
5590 | 5600 | "timeContextFromParameter": "TimeRange",
|
5591 | 5601 | "timeContext": {
|
5592 |
| - "durationMs": 2419200000 |
| 5602 | + "durationMs": 86400000 |
5593 | 5603 | },
|
5594 | 5604 | "metrics": [
|
5595 | 5605 | {
|
|
5694 | 5704 | ],
|
5695 | 5705 | "timeContextFromParameter": "TimeRange",
|
5696 | 5706 | "timeContext": {
|
5697 |
| - "durationMs": 2419200000 |
| 5707 | + "durationMs": 86400000 |
5698 | 5708 | },
|
5699 | 5709 | "metrics": [
|
5700 | 5710 | {
|
|
0 commit comments