Class TelemetryClient<T>
A client for sending Phoenix telemetry.
Implements
Inherited Members
Namespace: Phoenix.BotBrain
Assembly: Phoenix.Plugin.BotBrain.Shared.dll
Syntax
public class TelemetryClient<T> : ITelemetryClient
Type Parameters
Name | Description |
---|---|
T | A type reference to indicate the source module name. |
Constructors
View SourceTelemetryClient()
Initializes a new instance of the TelemetryClient<T> class.
Declaration
public TelemetryClient()
Properties
View SourceContext
Gets or sets the default telemetry context including the module name.
Declaration
protected virtual DefaultTelemetryContext Context { get; set; }
Property Value
Type | Description |
---|---|
DefaultTelemetryContext |
ModuleName
Gets the context with module name provided.
Declaration
protected virtual string ModuleName { get; }
Property Value
Type | Description |
---|---|
string |
Methods
View SourceHandledException(Exception)
Sends a telemetry event for a handled exception.
Declaration
public virtual void HandledException(Exception e)
Parameters
Type | Name | Description |
---|---|---|
Exception | e | The exception. |