﻿<?xml version="1.0" encoding="utf-8" ?>
<!-- This is the configuration file used by the HxServiceErrorDetectionAnalyzer.
Transient Exceptions node contains list of transient exceptions that are common to all features that need to be ignored.
Each feature can be defined with the following elements. Elements marked * are Mandatory
Name*: Name of the feature
Activity (API*) : Server API
MinUsers: Min no of users to be impacted by an expection to raise an alert
MinErrors: Min no of times an user is impacted by an exception to raise an alert
Interval: Monitoring interval for the feature. This is how long back we will look for errors in the logs
Exception(s): List of Exceptions that are whitelisted. We will never alert for these exceptions
Non mandatory params inherit the default values present in the EDS config file Microsoft.Exchange.Diagnostics.Service.exe.config

NOTE: Don't remove the TransientException and Test features from the XML since these are used by unit tests
-->
<Configuration>
  <TransientExceptions>
    <Exception TypeName="TransientException" />
  </TransientExceptions>
  <Feature Name="TestFeature1"
           Activity="TestUserAgent"
           Scenario="TestAPI">
    <Exception TypeName="TestException1" />
    <Exception TypeName="TestException2" />
  </Feature>
  <Feature Name="TestFeature2"
           Activity="TestApi2"
          />
  <Feature Name="TestFeature3"
           Activity="TestApi3"
           />
  <Feature Name="HxMail GetConversationParts" 
           Activity="HxMail" 
           Scenario ="GetConversationPartsCommand"
           MinUsers="2"
           MinErrors="2">
    <Exception TypeName="Client disconnected" />
    <Exception TypeName="TransientException" />
  </Feature>
  <Feature Name="HxMail Sync" 
           Activity="HxMail" 
           Scenario ="BeginSyncCommand"
           MinUsers="1"
           MinErrors="2">
    <Exception TypeName="Client disconnected" />
    <Exception TypeName="TransientException" />
  </Feature>
  <Feature Name="HxCalendar Sync"
           Activity="HxCalendar"
           Scenario ="GetBasedSyncCommand">
    <Exception TypeName="TransientException" />
  </Feature>
  <Feature Name="HxCalendar CreateItemCommand"
           Activity="HxCalendar"
           Scenario ="CreateItemCommand">
    <Exception TypeName="TransientException" />
  </Feature>
  <Feature Name="HxCalendar CalendarDataCommand"
           Activity="HxCalendar"
           Scenario ="CalendarDataCommand">
    <Exception TypeName="TransientException" />
  </Feature>
  <Feature Name="HxCalendar CancelEventCommand"
           Activity="HxCalendar"
           Scenario ="CancelEventCommand">
    <Exception TypeName="TransientException" />
  </Feature>
  <Feature Name="HxCalendar UpdateItemCommand"
           Activity="HxCalendar"
           Scenario ="UpdateItemCommand">
    <Exception TypeName="TransientException" />
  </Feature>
  <Feature Name="HxCalendar GetFullItemCommand"
          Activity="HxCalendar"
          Scenario ="GetFullItemCommand">
    <Exception TypeName="TransientException" />
  </Feature>
  <Feature Name="HxCalendar SyncCommand"
          Activity="HxCalendar"
          Scenario ="SyncCommand">
    <Exception TypeName="TransientException" />
  </Feature>
  <Feature Name="HxMail People SearchResolveNameCommand"
          Activity="HxMail"
          Scenario ="SearchResolveNameCommand">
    <Exception TypeName="TransientException" />
    <Exception TypeName="NameResolutionNoResultsException" />
  </Feature>
  <Feature Name="HxCalendar People SearchResolveNameCommand"
          Activity="HxCalendar"
          Scenario ="SearchResolveNameCommand">
    <Exception TypeName="TransientException" />
    <Exception TypeName="NameResolutionNoResultsException" />
  </Feature>
  <Feature Name="HxMail People SyncRecipientsCommand"
          Activity="HxMail"
          Scenario ="SyncRecipientsCommand">
    <Exception TypeName="TransientException" />
    <Exception TypeName="TooManyObjectsOpenedException" />
    <Exception TypeName="ServiceBusyException" />
  </Feature>
  <Feature Name="HxCalendar People SyncRecipientsCommand"
          Activity="HxCalendar"
          Scenario ="SyncRecipientsCommand">
    <Exception TypeName="TransientException" />
    <Exception TypeName="TooManyObjectsOpenedException" />
    <Exception TypeName="ServiceBusyException" />
  </Feature>
  <Feature Name="Set up Unified Mailbox Command"
          Activity="HxMail"
	      Scenario="SetupMailboxCommand">
    <Exception TypeName="TransientException" />
  </Feature>
  <Feature Name="Add Aggregated Acoount Command"
          Activity="HxMail"
	      Scenario="AddAccountCommand">
    <Exception TypeName="TransientException" />
  </Feature>
</Configuration>