C# Class Microsoft.ApplicationInsights.DependencyCollector.Implementation.ProfilerSqlProcessing

Concrete class with all processing logic to generate RDD data from the calls backs received from Profiler instrumentation for SQL.
Afficher le fichier Open project: Microsoft/ApplicationInsights-dotnet-server Class Usage Examples

Méthodes publiques

Méthode Description
OnBeginForFourParameters ( object thisObj, object parameter1, object parameter2, object parameter3 ) : object

On begin callback for methods with 4 parameter.

OnBeginForOneParameter ( object thisObj ) : object

On begin callback for methods with 1 parameter.

OnBeginForThreeParameters ( object thisObj, object parameter1, object parameter2 ) : object

On begin callback for methods with 3 parameters.

OnBeginForTwoParameters ( object thisObj, object parameter1 ) : object

On begin callback for methods with 2 parameter.

OnEndForOneParameter ( object context, object returnValue, object thisObj ) : object

On end callback for methods with 1 parameter.

OnEndForThreeParameters ( object context, object returnValue, object thisObj, object parameter1, object parameter2 ) : object

On end callback for methods with 3 parameter.

OnEndForTwoParameters ( object context, object returnValue, object thisObj, object parameter1 ) : object

On end callback for methods with 2 parameter.

OnExceptionForOneParameter ( object context, object exception, object thisObj ) : void

On exception callback for methods with 1 parameter.

OnExceptionForThreeParameters ( object context, object exception, object thisObj, object parameter1, object parameter2 ) : void

On exception callback for methods with 3 parameter.

OnExceptionForTwoParameters ( object context, object exception, object thisObj, object parameter1 ) : void

On exception callback for methods with 2 parameter.

Private Methods

Méthode Description
GetCommandName ( object thisObj ) : string

Return CommandTest for SQL resource.

GetResourceName ( object thisObj ) : string

Gets SQL command resource name.

Before we have clarity with SQL team around EventSource instrumentation, providing name as a concatenation of parameters.

GetResourceTarget ( object thisObj ) : string
OnBegin ( object thisObj ) : object

Common helper for all Begin Callbacks.

OnEnd ( object exceptionObj, object thisObj ) : void

Common helper for all End Callbacks.

ProfilerSqlProcessing ( TelemetryConfiguration configuration, string agentVersion, ObjectInstanceBasedOperationHolder telemetryTupleHolder ) : System

Initializes a new instance of the ProfilerSqlProcessing class.

Method Details

OnBeginForFourParameters() public méthode

On begin callback for methods with 4 parameter.
public OnBeginForFourParameters ( object thisObj, object parameter1, object parameter2, object parameter3 ) : object
thisObj object
parameter1 object
parameter2 object
parameter3 object
Résultat object

OnBeginForOneParameter() public méthode

On begin callback for methods with 1 parameter.
public OnBeginForOneParameter ( object thisObj ) : object
thisObj object
Résultat object

OnBeginForThreeParameters() public méthode

On begin callback for methods with 3 parameters.
public OnBeginForThreeParameters ( object thisObj, object parameter1, object parameter2 ) : object
thisObj object
parameter1 object
parameter2 object
Résultat object

OnBeginForTwoParameters() public méthode

On begin callback for methods with 2 parameter.
public OnBeginForTwoParameters ( object thisObj, object parameter1 ) : object
thisObj object
parameter1 object
Résultat object

OnEndForOneParameter() public méthode

On end callback for methods with 1 parameter.
public OnEndForOneParameter ( object context, object returnValue, object thisObj ) : object
context object
returnValue object
thisObj object
Résultat object

OnEndForThreeParameters() public méthode

On end callback for methods with 3 parameter.
public OnEndForThreeParameters ( object context, object returnValue, object thisObj, object parameter1, object parameter2 ) : object
context object
returnValue object
thisObj object
parameter1 object
parameter2 object
Résultat object

OnEndForTwoParameters() public méthode

On end callback for methods with 2 parameter.
public OnEndForTwoParameters ( object context, object returnValue, object thisObj, object parameter1 ) : object
context object
returnValue object
thisObj object
parameter1 object
Résultat object

OnExceptionForOneParameter() public méthode

On exception callback for methods with 1 parameter.
public OnExceptionForOneParameter ( object context, object exception, object thisObj ) : void
context object
exception object
thisObj object
Résultat void

OnExceptionForThreeParameters() public méthode

On exception callback for methods with 3 parameter.
public OnExceptionForThreeParameters ( object context, object exception, object thisObj, object parameter1, object parameter2 ) : void
context object
exception object
thisObj object
parameter1 object
parameter2 object
Résultat void

OnExceptionForTwoParameters() public méthode

On exception callback for methods with 2 parameter.
public OnExceptionForTwoParameters ( object context, object exception, object thisObj, object parameter1 ) : void
context object
exception object
thisObj object
parameter1 object
Résultat void