telemetry

package
v2.0.0-beta.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 22, 2024 License: Apache-2.0, BSD-3-Clause, Apache-2.0 Imports: 1 Imported by: 0

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 Count

func Count(namespace Namespace, name string, value float64, tags []string, common bool)

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

func MockGlobalClient(client telemetry.Client) func()

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.

type Namespace

type Namespace = telemetry.Namespace

Namespace describes an APM product to distinguish telemetry coming from different products used by the same application This type is not intended for use by external consumers, no API stability is guaranteed.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL