Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client represents a wrapper of telemetry client for Azure Application Insights.
func (*Client) Close ¶
func (t *Client) Close()
Close flushes and tears down the current queue of telemetry client.
func (*Client) Flush ¶
func (t *Client) Flush()
Flush forces the current queue of telemetry client to be sent. It's non-blocking, and not recommended.
func (*Client) Origin ¶
func (t *Client) Origin() ais.TelemetryClient
Origin returns the original client.
func (*Client) SetEnabled ¶
SetEnabled enables or disables the telemetry client.
func (*Client) TrackPanic ¶
TrackPanic is a helper method for recovery and submit exceptions.
Click to show internal directories.
Click to hide internal directories.