This rule measures the total amount of time it takes to send a test email from M365 and verify receipt of a test email from M365 to M365 and collects the time in milliseconds.
This rule measures the total amount of time it takes to send a test email from M365 and verify receipt of a test email from M365 to M365 and collects the time in milliseconds.
Target | Microsoft.SystemCenter.M365.WatcherNodeApplication.M365MailFlow |
Category | PerformanceCollection |
Enabled | True |
Alert Generate | False |
Remotable | True |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DataSource | DataSource | Microsoft.SystemCenter.M365.DataSource.M365ToM365MailFlow | Default |
System.Performance.DataGenericMapper | ConditionDetection | System.Performance.DataGenericMapper | Default |
Microsoft.SystemCenter.CollectPerformanceData | WriteAction | Microsoft.SystemCenter.CollectPerformanceData | Default |
Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData | WriteAction | Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData | Default |
<Rule ID="Microsoft.SystemCenter.M365.Rules.M365ToM365.TotalPerformanceCollectionRule" Enabled="true" Target="Microsoft.SystemCenter.M365.WatcherNodeApplication.M365MailFlow" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DataSource" TypeID="Microsoft.SystemCenter.M365.DataSource.M365ToM365MailFlow">
<IntervalSeconds>900</IntervalSeconds>
<AzureADEndpoint>$Target/Host/Property[Type="Microsoft.SystemCenter.M365.WatcherNodeApplication"]/AzureADEndpoint$</AzureADEndpoint>
<GraphEndpoint>$Target/Host/Property[Type="Microsoft.SystemCenter.M365.WatcherNodeApplication"]/GraphEndpoint$</GraphEndpoint>
<TenantId>$Target/Host/Property[Type="Microsoft.SystemCenter.M365.WatcherNodeApplication"]/TenantId$</TenantId>
<ApplicationClientId>$RunAs[Name="Microsoft.SystemCenter.M365.RunAsProfile.ApplicationClient"]/UserName$</ApplicationClientId>
<ApplicationClientCredentials>$RunAs[Name="Microsoft.SystemCenter.M365.RunAsProfile.ApplicationClient"]/Password$</ApplicationClientCredentials>
<DelegatedUserId>$RunAs[Name="Microsoft.SystemCenter.M365.RunAsProfile.DelegatedMailSender"]/UserName$</DelegatedUserId>
<DelegatedUserCredentials>$RunAs[Name="Microsoft.SystemCenter.M365.RunAsProfile.DelegatedMailSender"]/Password$</DelegatedUserCredentials>
<DelegatedUser2Id>$RunAs[Name="Microsoft.SystemCenter.M365.RunAsProfile.DelegatedMailReceiver"]/UserName$</DelegatedUser2Id>
<DelegatedUser2Credentials>$RunAs[Name="Microsoft.SystemCenter.M365.RunAsProfile.DelegatedMailReceiver"]/Password$</DelegatedUser2Credentials>
<SenderUser>$Target/Host/Property[Type="Microsoft.SystemCenter.M365.WatcherNodeApplication"]/M365EmailSender$</SenderUser>
<ReceiverUser>$Target/Host/Property[Type="Microsoft.SystemCenter.M365.WatcherNodeApplication"]/M365EmailReceiver$</ReceiverUser>
<SleepInterval>5</SleepInterval>
</DataSource>
</DataSources>
<ConditionDetection ID="System.Performance.DataGenericMapper" TypeID="Performance!System.Performance.DataGenericMapper">
<ObjectName>Microsoft 365 Mail</ObjectName>
<CounterName>M365 to M365 Total Duration (ms)</CounterName>
<InstanceName>$Target/Host/Property[Type="Microsoft.SystemCenter.M365.WatcherNodeApplication"]/LocationName$</InstanceName>
<Value>$Data/Property[@Name='Total Duration in ms']$</Value>
</ConditionDetection>
<WriteActions>
<WriteAction ID="Microsoft.SystemCenter.CollectPerformanceData" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>