NullBotTelemetryClient Class
- java.
lang. Object - com.
microsoft. bot. builder. NullBotTelemetryClient
- com.
Implements
public class NullBotTelemetryClient
implements BotTelemetryClient
A no-op telemetry client.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| NullBotTelemetryClient() | ||
Method Summary
Methods inherited from java.lang.Object
Constructor Details
NullBotTelemetryClient
public NullBotTelemetryClient()
Method Details
flush
public void flush()
Flushes the in-memory buffer and any metrics being pre-aggregated.
trackAvailability
public void trackAvailability(String name, OffsetDateTime timeStamp, Duration duration, String runLocation, boolean success, String message, Map
Send information about availability of an application.
Parameters:
trackDependency
public void trackDependency(String dependencyTypeName, String target, String dependencyName, String data, OffsetDateTime startTime, Duration duration, String resultCode, boolean success)
Send information about an external dependency (outgoing call) in the application.
Parameters:
trackDialogView
public void trackDialogView(String dialogName, Map
Log a DialogView using the TrackPageView method on the IBotTelemetryClient if IBotPageViewTelemetryClient has been implemented. Alternatively log the information out via TrackTrace.
Parameters:
trackEvent
public void trackEvent(String eventName, Map
Logs custom events with extensible named fields.
Parameters:
trackException
public void trackException(Exception exception, Map
Logs a system exception.
Parameters:
trackTrace
public void trackTrace(String message, Severity severityLevel, Map
Send a trace message.
Parameters: