Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationInsights ¶
type ApplicationInsights struct { InstrumentationKey string `toml:"instrumentation_key"` EndpointURL string `toml:"endpoint_url"` Timeout config.Duration `toml:"timeout"` EnableDiagnosticLogging bool `toml:"enable_diagnostic_logging"` ContextTagSources map[string]string `toml:"context_tag_sources"` Log telegraf.Logger `toml:"-"` // 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, endpointURL 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.