SqlClientInstrumentationOptionsEnrich - свойство
Gets or sets an action to enrich an Activity with the
raw SqlCommand object.
Пространство имён: Tessa.Web.OpenTelemetry.SqlClientСборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.0.4
public Action<Activity, string, Object?>? Enrich { get; set; }
Public Property Enrich As Action(Of Activity, String, Object)
Get
Set
public:
property Action<Activity^, String^, Object^>^ Enrich {
Action<Activity^, String^, Object^>^ get ();
void set (Action<Activity^, String^, Object^>^ value);
}
member Enrich : Action<Activity, string, Object> with get, set
Значение свойства
ActionActivity,
String,
Object Enrich is only executed on .NET and .NET Core
runtimes.
The parameters passed to the enrich action are:
- The Activity being enriched.
- The name of the event. Currently only "OnCustom" is
used but more events may be added in the future.
- The raw SqlCommand object from which additional
information can be extracted to enrich the Activity.