Bagikan melalui


Configure WCF and WF for Server, Site, or Application: Monitoring Tab

Use the Monitoring tab in the Configure Server, Configure Site, and Configure Application dialog boxes to enable Monitoring settings respectively for a server, site, or application. These settings include enabling event collection to a database, choosing the appropriate monitoring level, and configure workflow tracing and message logging.

Note

When you enable monitoring for a server, site, or application, you do not have the choice to make changes to the Workflow Tracking Profile configuration settings. This option is only present in the Configure Service Dialog box.

Dialog Fields

Field

Description

Write Events to Database

Select this check box to enable event collection. Once this is enabled, choose the proper connection string to dictate which Monitoring database to which the events will be written.

Level

Select the level of monitoring. Configures the tracking profile and the Event Collection service to collect a predefined set of events for a specific monitoring situation.

Diagnostic Tracing and Message Logging

Click this button to launch Diagnostic Tracing and Message Logging dialog box. This allows you to configure .NET 4 message logging and analytic tracing for workflows.

In the following configuration, the monitoring level is set to Troubleshooting using the Monitoring tab for a server, site, or an application. It uses the connection string of DefaultMonitoringConnectionString to connect to the default Monitoring database.

<microsoft.applicationServer>
        <monitoring>
            <default enabled="true" connectionStringName="DefaultMonitoringConnectionString" monitoringLevel="Troubleshooting" />
        </monitoring>
 </microsoft.applicationServer>

See Also

Reference

Configure Service: Monitoring Tab