Sets appropriate HTTP headers for a diagnostics tool. A diagnostics tag is sent as an HTTP header along with each request, enabling linkage between client-side results and application diagnostics.
AppDynamics™ and dynaTrace Diagnostics™ each provide in-depth application performance diagnostics down to the code level. The WebSetDiagnostics function enables correlation of Web page and Web Service calls with both AppDynamics and dynaTrace PurePath™ results for root-cause analysis of performance bottlenecks.
WebAPI.bdh
WebSetDiagnostics( in nOption : number );
| Parameter | Description | 
|---|---|
| nOption |  Specify one of the following values: 
                           				  
                           
  |  
                        			 
                     
dcltrans
transaction TInit
  begin
    WebSetDiagnostics(WEB_DIAG_AppDynamics);
  end TInit;