ASP.NET Health Monitoring Configuration, Valid Values ​​for the "eventName" Attribute

What are the valid values ​​for the eventName attribute when setting up health monitoring?

<system.web>
  ...
  <healthMonitoring enabled="true" heartbeatInterval="0">
  <providers>
    <add
      name="exampleMailWebEventProvider"
      type="System.Web.Management.SimpleMailWebEventProvider"
      to="email@example.com"
      from="error@example.com"
      buffer="false"
      subjectPrefix="[Exception] " />
  </providers>

  <rules>
    <add
      name="Testing Mail Event Providers"
      eventName="All Events"
      provider="exampleMailWebEventProvider"
      profile="Default"
      minInstances="1"
      maxLimit="Infinite"
      minInterval="00:01:00"
      custom="" />
  </rules>
</healthMonitoring>

My Google-fu (and MSDN) failed and I cannot find a list of all the other standard / general events that you can subscribe to.

+3
source share
2 answers

... aaaaaand here we go: MSDN, the EventMappings element for healthMonitoring (it is amazing how far extra effort and patience can get)

+6
source

Check the web.config file in the% WINDIR% \ Microsoft.NET \ Framework \ version \ CONFIG folder

0
source

Source: https://habr.com/ru/post/1711229/


All Articles