Documentation ¶
Index ¶
Constants ¶
View Source
const ( Error = "E! " Warning = "W! " Info = "I! " Debug = "D! " )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationInsights ¶
type ApplicationInsights struct { InstrumentationKey string Timeout internal.Duration EnableDiagnosticLogging bool ContextTagSources map[string]string // contains filtered or unexported fields }
func (*ApplicationInsights) Close ¶
func (a *ApplicationInsights) Close() error
func (*ApplicationInsights) Connect ¶
func (a *ApplicationInsights) Connect() error
func (*ApplicationInsights) Description ¶
func (a *ApplicationInsights) Description() string
func (*ApplicationInsights) SampleConfig ¶
func (a *ApplicationInsights) SampleConfig() string
type DiagnosticsMessageSubscriber ¶
type DiagnosticsMessageSubscriber interface {
Subscribe(appinsights.DiagnosticsMessageHandler) appinsights.DiagnosticsMessageListener
}
type TelemetryTransmitter ¶
type TelemetryTransmitter interface { Track(appinsights.Telemetry) Close() <-chan struct{} }
type Transmitter ¶
type Transmitter struct {
// contains filtered or unexported fields
}
func NewTransmitter ¶
func NewTransmitter(ikey string) *Transmitter
func (*Transmitter) Close ¶
func (t *Transmitter) Close() <-chan struct{}
func (*Transmitter) Track ¶
func (t *Transmitter) Track(telemetry appinsights.Telemetry)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.