Documentation ¶
Overview ¶
Package telemetry implements a client for sending telemetry information to Datadog regarding usage of an APM library such as tracing or profiling. This package is not intended for use by external consumers, no API stability is guaranteed.
This package is not intended for use by external consumers, no API stability is guaranteed.
Package telemetry implements a client for sending telemetry information to Datadog regarding usage of an APM library such as tracing or profiling. This package is not intended for use by external consumers, no API stability is guaranteed.
Package telemetry implements a client for sending telemetry information to Datadog regarding usage of an APM library such as tracing or profiling. This package is not intended for use by external consumers, no API stability is guaranteed.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Disabled ¶
func Disabled() bool
Disabled returns whether instrumentation telemetry is disabled according to the DD_INSTRUMENTATION_TELEMETRY_ENABLED env var This function is not intended for use by external consumers, no API stability is guaranteed.
func LoadIntegration ¶
func LoadIntegration(name string)
LoadIntegration notifies telemetry that an integration is being used. This function is not intended for use by external consumers, no API stability is guaranteed.
func MockGlobalClient ¶
MockGlobalClient replaces the global telemetry client with a custom implementation of TelemetryClient. It returns a function that can be deferred to reset the global telemetry client to its previous value. This function is not intended for use by external consumers, no API stability is guaranteed.
Types ¶
type Configuration ¶
type Configuration = telemetry.Configuration
Configuration is a library-specific configuration value that should be initialized through StringConfig, IntConfig, FloatConfig, or BoolConfig This type is not intended for use by external consumers, no API stability is guaranteed.
type Integration ¶
type Integration = telemetry.Integration
Integration is an integration that is configured to be traced automatically. This type is not intended for use by external consumers, no API stability is guaranteed.
func Integrations ¶
func Integrations() []Integration
Integrations returns which integrations are tracked by telemetry. This function is not intended for use by external consumers, no API stability is guaranteed.