Grupa błędów monitorowania klienta — reguła zbierania danych o wydajności dla liczby unikatowych użytkowników, których to dotyczy

Microsoft.SystemCenter.CM.AEM.Internal.BucketUserCountPerfCollection (Rule)

Ta reguła umożliwia zbieranie danych o wydajności powiązanych z całkowitą liczbą unikatowych użytkowników, których do dotyczy, według grupy błędów

Knowledge Base article:

Podsumowanie

Ta reguła jest używana wewnętrznie do zbierania danych wydajności związanych z całkowitą liczbą unikatowych użytkowników, których to dotyczy, na grupę błędów. Nie należy zastępować tej zasady, ponieważ miałoby to niekorzystny wpływ na monitorowanie.

Przyczyny

Ta sekcja nie ma zastosowania do tego typu zasad.

Rozwiązania

Brak akcji użytkownika dla tego typu zasad.

Element properties:

TargetMicrosoft.SystemCenter.CM.AEM.CrashListener
CategoryPerformanceCollection
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
Scheduler DataSource System.Scheduler Default
PerfDataWriter WriteAction Microsoft.SystemCenter.CM.AEM.Internal.MapQueriedPerfData Default

Source Code:

<Rule ID="Microsoft.SystemCenter.CM.AEM.Internal.BucketUserCountPerfCollection" Target="AEMLib!Microsoft.SystemCenter.CM.AEM.CrashListener" Enabled="true" ConfirmDelivery="true">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="Scheduler" TypeID="System!System.Scheduler">
<Scheduler>
<SimpleReccuringSchedule>
<Interval Unit="Minutes">15</Interval>
</SimpleReccuringSchedule>
<ExcludeDates/>
</Scheduler>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="PerfDataWriter" TypeID="Microsoft.SystemCenter.CM.AEM.Internal.MapQueriedPerfData">
<Query>DECLARE @TableName NVARCHAR(1000), @Query NVARCHAR(1000);SELECT @TableName = ManagedTypeTableName FROM ManagedType WHERE TypeName = 'Microsoft.SystemCenter.CM.AEM.WatsonBucket';SET @Query = N'select count(*), SourceEntityId from AemRelationship AR join [' + @TableName + '] WB on AR.SourceEntityId = WB.BaseManagedEntityId where RelationshipTypeId = 0 and EntityTypeId = 1 group by SourceEntityId';EXEC sp_executesql @Query</Query>
<ObjectName>Bucket</ObjectName>
<CounterName>BucketUniqueUsersAffected</CounterName>
<Value>Columns/Column[1]</Value>
<ManagedEntityId>Columns/Column[2]</ManagedEntityId>
<RuleId>$MPElement[Name="AEMViewsInternal!Microsoft.SystemCenter.CM.AEM.Views.Internal.BucketUserCountPerfCollector"]$</RuleId>
</WriteAction>
</WriteActions>
</Rule>