Bagikan melalui


Add Tracking Profile Dialog Box

Use the Add Tracking Profile dialog box to add a custom tracking profile to the configuration for a service. A custom tracking profile is used when configuring custom monitoring capabilities that are specific to a workflow service and are not met by the standard monitoring levels.

Dialog Fields

Field

Description

File name

Specify the file name of the tracking profile file (*.tp). Click on Browse to move through the file system and select the tracking profile file.

Profile name

You can use the logical name of Profile name as it is defined in the configuration file. Or you can override that value and assign it another logical name

Set as current active tracking profile

Determines if this tracking profile should be used as the active tracking profile for this service.

Overwrite profile if it already exists

Overwrites an existing tracking profile

Once the custom tracking profile has been added you will see a new <trackingProfile> entry in the Web.config file for that profile. The tracking profile will also appear in the Tracking profile drop down in the Workflow Tracking Profile dialog box.

The following configuration is created in the <behavior> element for this service in the Web.config file. This occurs when a custom tracking profile file (for example, MyCustomTrackingProfileFile.tp) is specified for the MyCustomTrackingProfile logical tracking profile in the Add Tracking Profile dialog box.

 
<behavior name="">
……
   <etwTracking profileName="MyCustomTrackingProfile" />
……
</behavior>

The following configuration is also created in the <trackingProfile> element to register the custom tracking profile with the Windows Server AppFabric system in the same Web.config file.

<tracking>
            <profiles>
                <trackingProfile name="MyCustomTrackingProfile">
                     <workflow activityDefinitionId="*">
                     </workflow>
                </trackingProfile>
            </profiles>
        </tracking>