NullTelemetryClient class

A null bot telemetry client that implements BotTelemetryClient.

Constructors

NullTelemetryClient(any)

Creates a new instance of the NullTelemetryClient class.

Methods

flush()

Flushes the in-memory buffer and any metrics being pre-aggregated.

trackDependency(TelemetryDependency)

Sends information about an external dependency (outgoing call) in the application.

trackEvent(TelemetryEvent)

Logs custom events with extensible named fields.

trackException(TelemetryException)

Logs a system exception.

trackPageView(TelemetryPageView)

Logs an Application Insights page view.

trackTrace(TelemetryTrace)

Sends a trace message.

Constructor Details

NullTelemetryClient(any)

Creates a new instance of the NullTelemetryClient class.

new NullTelemetryClient(_settings?: any)

Parameters

_settings

any

Optional. Settings for the telemetry client.

Method Details

flush()

Flushes the in-memory buffer and any metrics being pre-aggregated.

function flush()

trackDependency(TelemetryDependency)

Sends information about an external dependency (outgoing call) in the application.

function trackDependency(_telemetry: TelemetryDependency)

Parameters

_telemetry
TelemetryDependency

An object implementing TelemetryDependency.

trackEvent(TelemetryEvent)

Logs custom events with extensible named fields.

function trackEvent(_telemetry: TelemetryEvent)

Parameters

_telemetry
TelemetryEvent

An object implementing TelemetryEvent.

trackException(TelemetryException)

Logs a system exception.

function trackException(_telemetry: TelemetryException)

Parameters

_telemetry
TelemetryException

An object implementing TelemetryException.

trackPageView(TelemetryPageView)

Logs an Application Insights page view.

function trackPageView(_telemetry: TelemetryPageView)

Parameters

_telemetry
TelemetryPageView

An object implementing TelemetryPageView.

trackTrace(TelemetryTrace)

Sends a trace message.

function trackTrace(_telemetry: TelemetryTrace)

Parameters

_telemetry
TelemetryTrace

An object implementing TelemetryTrace.