diff --git a/NexusReports/WASD_ResourceStats_C.rdl b/NexusReports/WASD_ResourceStats_C.rdl index eac46c6..eed1554 100644 --- a/NexusReports/WASD_ResourceStats_C.rdl +++ b/NexusReports/WASD_ResourceStats_C.rdl @@ -188,7 +188,7 @@ FROM Tahoma 11pt Bold - White + =Variables!TableHeadingFontColor.Value @@ -201,7 +201,7 @@ FROM #949ca4 - #7c8692 + =Variables!TableHeadingColor.Value 2pt 2pt 2pt @@ -224,7 +224,7 @@ FROM Tahoma 11pt Bold - White + =Variables!TableHeadingFontColor.Value @@ -237,7 +237,7 @@ FROM #949ca4 - #7c8692 + =Variables!TableHeadingColor.Value 2pt 2pt 2pt @@ -260,7 +260,7 @@ FROM Tahoma 11pt Bold - White + =Variables!TableHeadingFontColor.Value @@ -273,7 +273,7 @@ FROM #949ca4 - #7c8692 + =Variables!TableHeadingColor.Value 2pt 2pt 2pt @@ -296,7 +296,7 @@ FROM Tahoma 11pt Bold - White + =Variables!TableHeadingFontColor.Value @@ -309,7 +309,7 @@ FROM #949ca4 - #7c8692 + =Variables!TableHeadingColor.Value 2pt 2pt 2pt @@ -332,7 +332,7 @@ FROM Tahoma 11pt Bold - White + =Variables!TableHeadingFontColor.Value @@ -345,7 +345,7 @@ FROM #949ca4 - #7c8692 + =Variables!TableHeadingColor.Value 2pt 2pt 2pt @@ -368,7 +368,7 @@ FROM Tahoma 11pt Bold - White + =Variables!TableHeadingFontColor.Value @@ -381,7 +381,7 @@ FROM #949ca4 - #7c8692 + =Variables!TableHeadingColor.Value 2pt 2pt 2pt @@ -404,7 +404,7 @@ FROM Tahoma 11pt Bold - White + =Variables!TableHeadingFontColor.Value @@ -417,7 +417,7 @@ FROM #949ca4 - #7c8692 + =Variables!TableHeadingColor.Value 2pt 2pt 2pt @@ -440,7 +440,7 @@ FROM Tahoma 11pt Bold - White + =Variables!TableHeadingFontColor.Value @@ -453,7 +453,7 @@ FROM #949ca4 - #7c8692 + =Variables!TableHeadingColor.Value 2pt 2pt 2pt @@ -476,7 +476,7 @@ FROM Tahoma 11pt Bold - White + =Variables!TableHeadingFontColor.Value @@ -489,7 +489,7 @@ FROM #949ca4 - #7c8692 + =Variables!TableHeadingColor.Value 2pt 2pt 2pt @@ -512,7 +512,7 @@ FROM Tahoma 11pt Bold - White + =Variables!TableHeadingFontColor.Value @@ -525,7 +525,7 @@ FROM #949ca4 - #7c8692 + =Variables!TableHeadingColor.Value 2pt 2pt 2pt @@ -548,7 +548,7 @@ FROM Tahoma 11pt Bold - White + =Variables!TableHeadingFontColor.Value @@ -561,7 +561,7 @@ FROM #949ca4 - #7c8692 + =Variables!TableHeadingColor.Value 2pt 2pt 2pt @@ -584,7 +584,7 @@ FROM Tahoma 11pt Bold - White + =Variables!TableHeadingFontColor.Value @@ -597,7 +597,7 @@ FROM #949ca4 - #7c8692 + =Variables!TableHeadingColor.Value 2pt 2pt 2pt @@ -620,7 +620,7 @@ FROM Tahoma 11pt Bold - White + =Variables!TableHeadingFontColor.Value @@ -633,7 +633,7 @@ FROM #949ca4 - #7c8692 + =Variables!TableHeadingColor.Value 2pt 2pt 2pt @@ -656,7 +656,7 @@ FROM Tahoma 11pt Bold - White + =Variables!TableHeadingFontColor.Value @@ -669,7 +669,7 @@ FROM #949ca4 - #7c8692 + =Variables!TableHeadingColor.Value 2pt 2pt 2pt @@ -696,7 +696,7 @@ FROM @@ -709,7 +709,6 @@ FROM #aab6c4 - #96a4b2 2pt 2pt 2pt @@ -731,7 +730,7 @@ FROM @@ -744,7 +743,6 @@ FROM #aab6c4 - #96a4b2 2pt 2pt 2pt @@ -766,7 +764,7 @@ FROM @@ -779,7 +777,6 @@ FROM #aab6c4 - #96a4b2 2pt 2pt 2pt @@ -801,7 +798,7 @@ FROM @@ -814,7 +811,6 @@ FROM #aab6c4 - #96a4b2 2pt 2pt 2pt @@ -836,7 +832,7 @@ FROM @@ -849,7 +845,6 @@ FROM #aab6c4 - #96a4b2 2pt 2pt 2pt @@ -871,7 +866,7 @@ FROM @@ -884,7 +879,6 @@ FROM #aab6c4 - #96a4b2 2pt 2pt 2pt @@ -906,7 +900,7 @@ FROM @@ -919,7 +913,6 @@ FROM #aab6c4 - #96a4b2 2pt 2pt 2pt @@ -941,7 +934,7 @@ FROM @@ -954,7 +947,6 @@ FROM #aab6c4 - #96a4b2 2pt 2pt 2pt @@ -976,7 +968,7 @@ FROM @@ -989,7 +981,6 @@ FROM #aab6c4 - #96a4b2 2pt 2pt 2pt @@ -1011,7 +1002,7 @@ FROM @@ -1024,7 +1015,6 @@ FROM #aab6c4 - #96a4b2 2pt 2pt 2pt @@ -1046,7 +1036,7 @@ FROM @@ -1059,7 +1049,6 @@ FROM #aab6c4 - #96a4b2 2pt 2pt 2pt @@ -1081,7 +1070,7 @@ FROM @@ -1094,7 +1083,6 @@ FROM #aab6c4 - #96a4b2 2pt 2pt 2pt @@ -1116,7 +1104,7 @@ FROM @@ -1129,7 +1117,6 @@ FROM #aab6c4 - #96a4b2 2pt 2pt 2pt @@ -1151,7 +1138,7 @@ FROM @@ -1164,7 +1151,6 @@ FROM #aab6c4 - #96a4b2 2pt 2pt 2pt @@ -1190,7 +1176,7 @@ FROM @@ -1203,6 +1189,7 @@ FROM #e5e5e5 + =code.GetTableRowFillColor(Parameters!ContrastTheme.Value, RowNumber(nothing)) 2pt 2pt 2pt @@ -1223,7 +1210,7 @@ FROM =Fields!start_time.Value @@ -1236,6 +1223,7 @@ FROM #e5e5e5 + =code.GetTableRowFillColor(Parameters!ContrastTheme.Value, RowNumber(nothing)) 2pt 2pt 2pt @@ -1256,7 +1244,7 @@ FROM =Fields!Average_CPU_Cores_Used.Value @@ -1269,6 +1257,7 @@ FROM #e5e5e5 + =code.GetTableRowFillColor(Parameters!ContrastTheme.Value, RowNumber(nothing)) 2pt 2pt 2pt @@ -1289,7 +1278,7 @@ FROM =Fields!Maximum_CPU_Cores_Used.Value @@ -1302,6 +1291,7 @@ FROM #e5e5e5 + =code.GetTableRowFillColor(Parameters!ContrastTheme.Value, RowNumber(nothing)) 2pt 2pt 2pt @@ -1322,7 +1312,7 @@ FROM =Fields!Average_Read_IOPS.Value @@ -1335,6 +1325,7 @@ FROM #e5e5e5 + =code.GetTableRowFillColor(Parameters!ContrastTheme.Value, RowNumber(nothing)) 2pt 2pt 2pt @@ -1355,7 +1346,7 @@ FROM =Fields!Maximum_Read_IOPS.Value @@ -1368,6 +1359,7 @@ FROM #e5e5e5 + =code.GetTableRowFillColor(Parameters!ContrastTheme.Value, RowNumber(nothing)) 2pt 2pt 2pt @@ -1388,7 +1380,7 @@ FROM =Fields!Average_Write_IOPS.Value @@ -1401,6 +1393,7 @@ FROM #e5e5e5 + =code.GetTableRowFillColor(Parameters!ContrastTheme.Value, RowNumber(nothing)) 2pt 2pt 2pt @@ -1421,7 +1414,7 @@ FROM =Fields!Maximum_Write_IOPS.Value @@ -1434,6 +1427,7 @@ FROM #e5e5e5 + =code.GetTableRowFillColor(Parameters!ContrastTheme.Value, RowNumber(nothing)) 2pt 2pt 2pt @@ -1454,7 +1448,7 @@ FROM =Fields!Average_Memory_Used_in_GB.Value @@ -1467,6 +1461,7 @@ FROM #e5e5e5 + =code.GetTableRowFillColor(Parameters!ContrastTheme.Value, RowNumber(nothing)) 2pt 2pt 2pt @@ -1487,7 +1482,7 @@ FROM =Fields!Maximum_Memory_Used_in_GB.Value @@ -1500,6 +1495,7 @@ FROM #e5e5e5 + =code.GetTableRowFillColor(Parameters!ContrastTheme.Value, RowNumber(nothing)) 2pt 2pt 2pt @@ -1520,7 +1516,7 @@ FROM =Fields!Average___of_Sessions.Value @@ -1533,6 +1529,7 @@ FROM #e5e5e5 + =code.GetTableRowFillColor(Parameters!ContrastTheme.Value, RowNumber(nothing)) 2pt 2pt 2pt @@ -1553,7 +1550,7 @@ FROM =Fields!Maximum___of_Sessions.Value @@ -1566,6 +1563,7 @@ FROM #e5e5e5 + =code.GetTableRowFillColor(Parameters!ContrastTheme.Value, RowNumber(nothing)) 2pt 2pt 2pt @@ -1586,7 +1584,7 @@ FROM =Fields!Average___of_Workers.Value @@ -1599,6 +1597,7 @@ FROM #e5e5e5 + =code.GetTableRowFillColor(Parameters!ContrastTheme.Value, RowNumber(nothing)) 2pt 2pt 2pt @@ -1619,7 +1618,7 @@ FROM =Fields!Maximum___of_Workers.Value @@ -1632,6 +1631,7 @@ FROM #e5e5e5 + =code.GetTableRowFillColor(Parameters!ContrastTheme.Value, RowNumber(nothing)) 2pt 2pt 2pt @@ -1707,11 +1707,12 @@ FROM - WASD Resource Usage + WASD Resource Stats @@ -1741,34 +1742,42 @@ FROM The information presented here came from - sys.resource_stats dmv that is located in master database on WASD. For the entire result set open into the file named - _SQL_Azure_Perf_Stats_Snapshot_Server_Shutdown.out that was collected by SDP @@ -1797,6 +1806,7 @@ FROM Show queries for this report. @@ -1828,7 +1838,9 @@ FROM =DataSets!DataSet1.CommandText - @@ -1874,6 +1887,7 @@ FROM + =Variables!BodyBackgroundColor.Value 14.41667in @@ -1936,6 +1950,19 @@ FROM + + Function GetTableRowFillColor(Theme as String, RowNumber As Integer) As String + If Theme ="Aquatic" Then + return "#202020" + ElseIf Theme ="Desert" Then + return "#FFFAEF" + Elseif RowNumber Mod 2 <> 0 Then + return "White" + Else + Return "LightSteelBlue" + End If + End Function + =Switch(Parameters!ContrastTheme.Value="Aquatic", "#FFFFFF", diff --git a/sqlnexus/Reports/WASD_ResourceStats_C.rdlC b/sqlnexus/Reports/WASD_ResourceStats_C.rdlC index eac46c6..eed1554 100644 --- a/sqlnexus/Reports/WASD_ResourceStats_C.rdlC +++ b/sqlnexus/Reports/WASD_ResourceStats_C.rdlC @@ -188,7 +188,7 @@ FROM Tahoma 11pt Bold - White + =Variables!TableHeadingFontColor.Value @@ -201,7 +201,7 @@ FROM #949ca4 - #7c8692 + =Variables!TableHeadingColor.Value 2pt 2pt 2pt @@ -224,7 +224,7 @@ FROM Tahoma 11pt Bold - White + =Variables!TableHeadingFontColor.Value @@ -237,7 +237,7 @@ FROM #949ca4 - #7c8692 + =Variables!TableHeadingColor.Value 2pt 2pt 2pt @@ -260,7 +260,7 @@ FROM Tahoma 11pt Bold - White + =Variables!TableHeadingFontColor.Value @@ -273,7 +273,7 @@ FROM #949ca4 - #7c8692 + =Variables!TableHeadingColor.Value 2pt 2pt 2pt @@ -296,7 +296,7 @@ FROM Tahoma 11pt Bold - White + =Variables!TableHeadingFontColor.Value @@ -309,7 +309,7 @@ FROM #949ca4 - #7c8692 + =Variables!TableHeadingColor.Value 2pt 2pt 2pt @@ -332,7 +332,7 @@ FROM Tahoma 11pt Bold - White + =Variables!TableHeadingFontColor.Value @@ -345,7 +345,7 @@ FROM #949ca4 - #7c8692 + =Variables!TableHeadingColor.Value 2pt 2pt 2pt @@ -368,7 +368,7 @@ FROM Tahoma 11pt Bold - White + =Variables!TableHeadingFontColor.Value @@ -381,7 +381,7 @@ FROM #949ca4 - #7c8692 + =Variables!TableHeadingColor.Value 2pt 2pt 2pt @@ -404,7 +404,7 @@ FROM Tahoma 11pt Bold - White + =Variables!TableHeadingFontColor.Value @@ -417,7 +417,7 @@ FROM #949ca4 - #7c8692 + =Variables!TableHeadingColor.Value 2pt 2pt 2pt @@ -440,7 +440,7 @@ FROM Tahoma 11pt Bold - White + =Variables!TableHeadingFontColor.Value @@ -453,7 +453,7 @@ FROM #949ca4 - #7c8692 + =Variables!TableHeadingColor.Value 2pt 2pt 2pt @@ -476,7 +476,7 @@ FROM Tahoma 11pt Bold - White + =Variables!TableHeadingFontColor.Value @@ -489,7 +489,7 @@ FROM #949ca4 - #7c8692 + =Variables!TableHeadingColor.Value 2pt 2pt 2pt @@ -512,7 +512,7 @@ FROM Tahoma 11pt Bold - White + =Variables!TableHeadingFontColor.Value @@ -525,7 +525,7 @@ FROM #949ca4 - #7c8692 + =Variables!TableHeadingColor.Value 2pt 2pt 2pt @@ -548,7 +548,7 @@ FROM Tahoma 11pt Bold - White + =Variables!TableHeadingFontColor.Value @@ -561,7 +561,7 @@ FROM #949ca4 - #7c8692 + =Variables!TableHeadingColor.Value 2pt 2pt 2pt @@ -584,7 +584,7 @@ FROM Tahoma 11pt Bold - White + =Variables!TableHeadingFontColor.Value @@ -597,7 +597,7 @@ FROM #949ca4 - #7c8692 + =Variables!TableHeadingColor.Value 2pt 2pt 2pt @@ -620,7 +620,7 @@ FROM Tahoma 11pt Bold - White + =Variables!TableHeadingFontColor.Value @@ -633,7 +633,7 @@ FROM #949ca4 - #7c8692 + =Variables!TableHeadingColor.Value 2pt 2pt 2pt @@ -656,7 +656,7 @@ FROM Tahoma 11pt Bold - White + =Variables!TableHeadingFontColor.Value @@ -669,7 +669,7 @@ FROM #949ca4 - #7c8692 + =Variables!TableHeadingColor.Value 2pt 2pt 2pt @@ -696,7 +696,7 @@ FROM @@ -709,7 +709,6 @@ FROM #aab6c4 - #96a4b2 2pt 2pt 2pt @@ -731,7 +730,7 @@ FROM @@ -744,7 +743,6 @@ FROM #aab6c4 - #96a4b2 2pt 2pt 2pt @@ -766,7 +764,7 @@ FROM @@ -779,7 +777,6 @@ FROM #aab6c4 - #96a4b2 2pt 2pt 2pt @@ -801,7 +798,7 @@ FROM @@ -814,7 +811,6 @@ FROM #aab6c4 - #96a4b2 2pt 2pt 2pt @@ -836,7 +832,7 @@ FROM @@ -849,7 +845,6 @@ FROM #aab6c4 - #96a4b2 2pt 2pt 2pt @@ -871,7 +866,7 @@ FROM @@ -884,7 +879,6 @@ FROM #aab6c4 - #96a4b2 2pt 2pt 2pt @@ -906,7 +900,7 @@ FROM @@ -919,7 +913,6 @@ FROM #aab6c4 - #96a4b2 2pt 2pt 2pt @@ -941,7 +934,7 @@ FROM @@ -954,7 +947,6 @@ FROM #aab6c4 - #96a4b2 2pt 2pt 2pt @@ -976,7 +968,7 @@ FROM @@ -989,7 +981,6 @@ FROM #aab6c4 - #96a4b2 2pt 2pt 2pt @@ -1011,7 +1002,7 @@ FROM @@ -1024,7 +1015,6 @@ FROM #aab6c4 - #96a4b2 2pt 2pt 2pt @@ -1046,7 +1036,7 @@ FROM @@ -1059,7 +1049,6 @@ FROM #aab6c4 - #96a4b2 2pt 2pt 2pt @@ -1081,7 +1070,7 @@ FROM @@ -1094,7 +1083,6 @@ FROM #aab6c4 - #96a4b2 2pt 2pt 2pt @@ -1116,7 +1104,7 @@ FROM @@ -1129,7 +1117,6 @@ FROM #aab6c4 - #96a4b2 2pt 2pt 2pt @@ -1151,7 +1138,7 @@ FROM @@ -1164,7 +1151,6 @@ FROM #aab6c4 - #96a4b2 2pt 2pt 2pt @@ -1190,7 +1176,7 @@ FROM @@ -1203,6 +1189,7 @@ FROM #e5e5e5 + =code.GetTableRowFillColor(Parameters!ContrastTheme.Value, RowNumber(nothing)) 2pt 2pt 2pt @@ -1223,7 +1210,7 @@ FROM =Fields!start_time.Value @@ -1236,6 +1223,7 @@ FROM #e5e5e5 + =code.GetTableRowFillColor(Parameters!ContrastTheme.Value, RowNumber(nothing)) 2pt 2pt 2pt @@ -1256,7 +1244,7 @@ FROM =Fields!Average_CPU_Cores_Used.Value @@ -1269,6 +1257,7 @@ FROM #e5e5e5 + =code.GetTableRowFillColor(Parameters!ContrastTheme.Value, RowNumber(nothing)) 2pt 2pt 2pt @@ -1289,7 +1278,7 @@ FROM =Fields!Maximum_CPU_Cores_Used.Value @@ -1302,6 +1291,7 @@ FROM #e5e5e5 + =code.GetTableRowFillColor(Parameters!ContrastTheme.Value, RowNumber(nothing)) 2pt 2pt 2pt @@ -1322,7 +1312,7 @@ FROM =Fields!Average_Read_IOPS.Value @@ -1335,6 +1325,7 @@ FROM #e5e5e5 + =code.GetTableRowFillColor(Parameters!ContrastTheme.Value, RowNumber(nothing)) 2pt 2pt 2pt @@ -1355,7 +1346,7 @@ FROM =Fields!Maximum_Read_IOPS.Value @@ -1368,6 +1359,7 @@ FROM #e5e5e5 + =code.GetTableRowFillColor(Parameters!ContrastTheme.Value, RowNumber(nothing)) 2pt 2pt 2pt @@ -1388,7 +1380,7 @@ FROM =Fields!Average_Write_IOPS.Value @@ -1401,6 +1393,7 @@ FROM #e5e5e5 + =code.GetTableRowFillColor(Parameters!ContrastTheme.Value, RowNumber(nothing)) 2pt 2pt 2pt @@ -1421,7 +1414,7 @@ FROM =Fields!Maximum_Write_IOPS.Value @@ -1434,6 +1427,7 @@ FROM #e5e5e5 + =code.GetTableRowFillColor(Parameters!ContrastTheme.Value, RowNumber(nothing)) 2pt 2pt 2pt @@ -1454,7 +1448,7 @@ FROM =Fields!Average_Memory_Used_in_GB.Value @@ -1467,6 +1461,7 @@ FROM #e5e5e5 + =code.GetTableRowFillColor(Parameters!ContrastTheme.Value, RowNumber(nothing)) 2pt 2pt 2pt @@ -1487,7 +1482,7 @@ FROM =Fields!Maximum_Memory_Used_in_GB.Value @@ -1500,6 +1495,7 @@ FROM #e5e5e5 + =code.GetTableRowFillColor(Parameters!ContrastTheme.Value, RowNumber(nothing)) 2pt 2pt 2pt @@ -1520,7 +1516,7 @@ FROM =Fields!Average___of_Sessions.Value @@ -1533,6 +1529,7 @@ FROM #e5e5e5 + =code.GetTableRowFillColor(Parameters!ContrastTheme.Value, RowNumber(nothing)) 2pt 2pt 2pt @@ -1553,7 +1550,7 @@ FROM =Fields!Maximum___of_Sessions.Value @@ -1566,6 +1563,7 @@ FROM #e5e5e5 + =code.GetTableRowFillColor(Parameters!ContrastTheme.Value, RowNumber(nothing)) 2pt 2pt 2pt @@ -1586,7 +1584,7 @@ FROM =Fields!Average___of_Workers.Value @@ -1599,6 +1597,7 @@ FROM #e5e5e5 + =code.GetTableRowFillColor(Parameters!ContrastTheme.Value, RowNumber(nothing)) 2pt 2pt 2pt @@ -1619,7 +1618,7 @@ FROM =Fields!Maximum___of_Workers.Value @@ -1632,6 +1631,7 @@ FROM #e5e5e5 + =code.GetTableRowFillColor(Parameters!ContrastTheme.Value, RowNumber(nothing)) 2pt 2pt 2pt @@ -1707,11 +1707,12 @@ FROM - WASD Resource Usage + WASD Resource Stats @@ -1741,34 +1742,42 @@ FROM The information presented here came from - sys.resource_stats dmv that is located in master database on WASD. For the entire result set open into the file named - _SQL_Azure_Perf_Stats_Snapshot_Server_Shutdown.out that was collected by SDP @@ -1797,6 +1806,7 @@ FROM Show queries for this report. @@ -1828,7 +1838,9 @@ FROM =DataSets!DataSet1.CommandText - @@ -1874,6 +1887,7 @@ FROM + =Variables!BodyBackgroundColor.Value 14.41667in @@ -1936,6 +1950,19 @@ FROM + + Function GetTableRowFillColor(Theme as String, RowNumber As Integer) As String + If Theme ="Aquatic" Then + return "#202020" + ElseIf Theme ="Desert" Then + return "#FFFAEF" + Elseif RowNumber Mod 2 <> 0 Then + return "White" + Else + Return "LightSteelBlue" + End If + End Function + =Switch(Parameters!ContrastTheme.Value="Aquatic", "#FFFFFF",