BotTelemetryClient Interface
public interface BotTelemetryClient
Logging client for Bot Telemetry.
Method Summary
Method Details
flush
public abstract void flush()
Flushes the in-memory buffer and any metrics being pre-aggregated.
trackAvailability
public default void trackAvailability(String name, OffsetDateTime timeStamp, Duration duration, String runLocation, boolean success)
Send information about availability of an application.
Parameters:
trackAvailability
public abstract 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 abstract 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 abstract 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 default void trackEvent(String eventName)
Logs custom events with extensible named fields.
Parameters:
trackEvent
public default void trackEvent(String eventName, Map
Logs custom events with extensible named fields.
Parameters:
trackEvent
public abstract void trackEvent(String eventName, Map
Logs custom events with extensible named fields.
Parameters:
trackException
public default void trackException(Exception exception)
Logs a system exception.
Parameters:
trackException
public abstract void trackException(Exception exception, Map
Logs a system exception.
Parameters:
trackTrace
public abstract void trackTrace(String message, Severity severityLevel, Map
Send a trace message.
Parameters: