App Service Worker instance Data In

Microsoft.SystemCenter.AzureStack.Region.Performance.Collection.AppServiceWorker.Instance.BytesReceived (Rule)

This rule collects data in of app service worker instance.

Knowledge Base article:

Summary

App service worker instance data in collection rule. This rule collects data in of app service worker instance.

Element properties:

TargetMicrosoft.SystemCenter.AzureStack.WebAppsRoleInstance
CategoryPerformanceCollection
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.SystemCenter.AzureStack.AppServiceWorker.Performance.Collection.DS Default
WriteToDB WriteAction Microsoft.SystemCenter.CollectPerformanceData Default
WriteToDW WriteAction Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData Default

Source Code:

<Rule ID="Microsoft.SystemCenter.AzureStack.Region.Performance.Collection.AppServiceWorker.Instance.BytesReceived" Target="Microsoft.SystemCenter.AzureStack.WebAppsRoleInstance" Enabled="true">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.SystemCenter.AzureStack.AppServiceWorker.Performance.Collection.DS">
<DeploymentId>$Target/Host/Host/Host/Property[Type="Microsoft.SystemCenter.AzureStack.Deployment"]/EndpointUrl$</DeploymentId>
<TimeoutSeconds>60</TimeoutSeconds>
<IntervalSeconds>900</IntervalSeconds>
<DefaultRegion>$Target/Host/Host/Host/Property[Type="Microsoft.SystemCenter.AzureStack.Deployment"]/Region$</DefaultRegion>
<TargetId>$Target/Id$</TargetId>
<ObjectCounter>App Service Role Instance</ObjectCounter>
<RuleId>$MPElement[Name="Microsoft.SystemCenter.AzureStack.Region.Performance.Collection.AppServiceWorker.Instance.BytesReceived"]$</RuleId>
<InstanceName/>
<CounterSettings>
<CounterSettings>
<CounterName>CpuPercentage</CounterName>
<RuleId>$MPElement[Name="Microsoft.SystemCenter.AzureStack.Region.Performance.Collection.AppServiceWorker.Instance.CpuPercentage"]$</RuleId>
</CounterSettings>
<CounterSettings>
<CounterName>MemoryPercentage</CounterName>
<RuleId>$MPElement[Name="Microsoft.SystemCenter.AzureStack.Region.Performance.Collection.AppServiceWorker.Instance.MemoryPercentage"]$</RuleId>
</CounterSettings>
<CounterSettings>
<CounterName>DiskQueueLength</CounterName>
<RuleId>$MPElement[Name="Microsoft.SystemCenter.AzureStack.Region.Performance.Collection.AppServiceWorker.Instance.DiskQueueLength"]$</RuleId>
</CounterSettings>
<CounterSettings>
<CounterName>HttpQueueLength</CounterName>
<RuleId>$MPElement[Name="Microsoft.SystemCenter.AzureStack.Region.Performance.Collection.AppServiceWorker.Instance.HttpQueueLength"]$</RuleId>
</CounterSettings>
<CounterSettings>
<CounterName>BytesReceived</CounterName>
<RuleId>$MPElement[Name="Microsoft.SystemCenter.AzureStack.Region.Performance.Collection.AppServiceWorker.Instance.BytesReceived"]$</RuleId>
</CounterSettings>
<CounterSettings>
<CounterName>BytesSent</CounterName>
<RuleId>$MPElement[Name="Microsoft.SystemCenter.AzureStack.Region.Performance.Collection.AppServiceWorker.Instance.BytesSent"]$</RuleId>
</CounterSettings>
<CounterSettings>
<CounterName>Requests</CounterName>
<RuleId>$MPElement[Name="Microsoft.SystemCenter.AzureStack.Region.Performance.Collection.AppServiceWorker.Instance.Requests"]$</RuleId>
</CounterSettings>
<CounterSettings>
<CounterName>Http2xx</CounterName>
<RuleId>$MPElement[Name="Microsoft.SystemCenter.AzureStack.Region.Performance.Collection.AppServiceWorker.Instance.Http2xx"]$</RuleId>
</CounterSettings>
<CounterSettings>
<CounterName>Http3xx</CounterName>
<RuleId>$MPElement[Name="Microsoft.SystemCenter.AzureStack.Region.Performance.Collection.AppServiceWorker.Instance.Http3xx"]$</RuleId>
</CounterSettings>
<CounterSettings>
<CounterName>Http4xx</CounterName>
<RuleId>$MPElement[Name="Microsoft.SystemCenter.AzureStack.Region.Performance.Collection.AppServiceWorker.Instance.Http4xx"]$</RuleId>
</CounterSettings>
<CounterSettings>
<CounterName>Http5xx</CounterName>
<RuleId>$MPElement[Name="Microsoft.SystemCenter.AzureStack.Region.Performance.Collection.AppServiceWorker.Instance.Http5xx"]$</RuleId>
</CounterSettings>
</CounterSettings>
<Server>$Target/Property[Type="Microsoft.SystemCenter.AzureStack.WebAppsRoleInstance"]/Name$</Server>
<Location>$Target/Property[Type="Microsoft.SystemCenter.AzureStack.WebAppsRoleInstance"]/Name$</Location>
<TimeGrain>PT1M</TimeGrain>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="MSDL!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>