MSSQL Reporting Services: Total memory usage by running Power BI reports on Server (GB)

Microsoft.SQLServer.ReportingServices.Windows.CollectionRule.Instance.TotalPowerBIReportMemoryUsage (Rule)

This rule tracks the amount of memory consumed by running Power BI reports (in gigabytes).

Knowledge Base article:

Summary

This rule tracks the amount of memory consumed by running reports (in gigabytes).

Overridable Parameters

Name

Description

Default Value

Enabled

Enables or disables the workflow.

No

Interval (seconds)

The recurring interval of time in seconds in which to run the workflow.

900

Synchronization Time

The synchronization time specified by using a 24-hour format. May be omitted.

 

Top memory-heavy reports count

The number of the most memory-heavy reports that are counted in memory consumption.

10

Timeout (seconds)

Specifies the time the workflow is allowed to run before being closed and marked as failed.

300

Element properties:

TargetMicrosoft.SQLServer.ReportingServices.Windows.Instance
CategoryPerformanceCollection
EnabledFalse
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.SQLServer.ReportingServices.Windows.DataSource.ReportMemoryMetricsPerf Microsoft.SQLServer.Core.RunAs.Monitoring
WriteToDB WriteAction Microsoft.SystemCenter.CollectPerformanceData Default
WriteToDW WriteAction Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData Default

Source Code:

<Rule ID="Microsoft.SQLServer.ReportingServices.Windows.CollectionRule.Instance.TotalPowerBIReportMemoryUsage" Enabled="false" Target="RsDiscW!Microsoft.SQLServer.ReportingServices.Windows.Instance" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.SQLServer.ReportingServices.Windows.DataSource.ReportMemoryMetricsPerf" RunAs="SqlCoreLib!Microsoft.SQLServer.Core.RunAs.Monitoring">
<ConfigurationFile>$Target/Property[Type="RsDiscW!Microsoft.SQLServer.ReportingServices.Windows.Instance"]/ConfigurationFile$</ConfigurationFile>
<InstanceEdition>$Target/Property[Type="RsCore!Microsoft.SQLServer.ReportingServices.Core.Instance"]/Edition$</InstanceEdition>
<CounterName>Total Power BI Report Memory Usage (GB)</CounterName>
<PropertyName>TotalReportMemory</PropertyName>
<TimeoutSeconds>300</TimeoutSeconds>
<IntervalSeconds>900</IntervalSeconds>
<SyncTime/>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>